Nicolas Caplat 2,757 Report post Posté(e) February 15, 2022 Hello, Mon bon @SugaR étant en vacances (quelle idée aussi !), je cherche quelqu'un pour m'aider sur un point particulier avec dotNet dans Maxscript ... si une bonne âme un peu dispo passe par ici, je suis preneur ! Merci d'avance Citer Share this post Link to post Share on other sites
Nicolas Caplat 2,757 Report post Posté(e) February 15, 2022 Ok, je pense que j'ai trouvé en fait: rollout gifUI "GIF UI" width:210 height:210 ( dotNetControl dncPanel "FlowLayoutPanel" width:200 height:200 pos:[5,5] on gifUI open do ( local pbx = dotNetObject "PictureBox" pbx.Width = 200 pbx.Height = 200 pbx.Margin = dotNetObject "Padding" 0 pbx.Image = (dotNetClass "System.Drawing.Image").FromFile @"C:\file.gif" dncPanel.Controls.Add pbx ) ) createDialog gifUI 1 popol reacted to this Citer Share this post Link to post Share on other sites
TChadail 797 Report post Posté(e) February 16, 2022 20 hours ago, Nicolas Caplat said: Ok, je pense que j'ai trouvé en fait: rollout gifUI "GIF UI" width:210 height:210 ( dotNetControl dncPanel "FlowLayoutPanel" width:200 height:200 pos:[5,5] on gifUI open do ( local pbx = dotNetObject "PictureBox" pbx.Width = 200 pbx.Height = 200 pbx.Margin = dotNetObject "Padding" 0 pbx.Image = (dotNetClass "System.Drawing.Image").FromFile @"C:\file.gif" dncPanel.Controls.Add pbx ) ) createDialog gifUI Cool: tu taquines maintenant en code toi ? Citer Share this post Link to post Share on other sites
Nicolas Caplat 2,757 Report post Posté(e) February 16, 2022 Oh non, pas tellement - je suis le padawan de @SugaR qui m'aide énormément ces temps-ci. Il faut dire que dans mon nouveau job, je passe beaucoup de temps en R&D, beaucoup de temps sur Maxscript. Ardu mais génial Tout va bien de ton côté ? la famille, le boulot ? Citer Share this post Link to post Share on other sites
TChadail 797 Report post Posté(e) February 17, 2022 Oui la programmation c'est ardu mais très satisfaisant (référence a une époque ou je codais en Turbo Pascal, ca date pas d'hier lol). Oui on peut dire que vu la dystopie ambiante tout va bien pour moi, merci ? 1 Nicolas Caplat reacted to this Citer Share this post Link to post Share on other sites