Hi Arman Ghazanchyan !
First i like to thank you for your kind feed back!
Yes You are right i lost it in the code-fight...
You can get the Mainwindowhandel from a Controlhandel by using API GetAncestor(ControlHandel,GA_ROOTOWNER) where GA_ROOTOWNER = 3
Ok! its really a developer taste.... but i desided me to VB because its less code writing against C#.
I think it is OK to make Optional Parameters when you have one optional Parameter.
So there is an overload unnecessary and you have default values that you can save to declare into your class.
I saved my Time, writing so much overloads get bored and the user of the class has comfort but......its really a developer taste
I think it is even a developer taste! When you use return, the function is leaved immediately. If you assign the value to the Function (variable) so you can do something after that and leave the Function by Exit Function or the end of the function. For me its a bit more flowcontrol.
What a bummer!
I thought the ClipperTool is the favorite... Its is cleaner designed, and do the Layer trick like Hudini
The Dragtool is very quick and dirty coded and i'm new on so much event handling stuff, it is translated from VB6 Code and is to much API32 burden.