maciakl / perfmong

Automatically exported from code.google.com/p/perfmong
0 stars 0 forks source link

Feature Request : Movable Windowless Form #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow the form to be moved by clicking and dragging it with the mouse. 

Original issue reported on code.google.com by mckinnon...@gmail.com on 7 Jun 2007 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by maci...@gmail.com on 8 Jun 2007 at 12:44

GoogleCodeExporter commented 9 years ago
This is basically what i did: 
1. inherited the base class from an example on codeproject, changed class name 
and 
namespace for project relavance.
2. added 4 lines to the PropertiesWindow method at line 343 of PerfMonG.cs

Thats about it, im including the PropertiesDialog.cs file as well but i dont 
think i 
changed anything on it.  

so it basically allows you to move the form around, and if you ever go to the 
properties window, it will make sure the proper values are in there.  The next 
logical step would probably be to have it Auto-write back the config file on 
any 
exit, and eliminate the "Save Settings" button altogether. 

thanks,
mcm

Original comment by mckinnon...@gmail.com on 8 Jun 2007 at 2:33

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks mike. This was really helpful. I consolidated your code with small 
revisions
into release 0.2.3. Awesome work!

Original comment by maci...@gmail.com on 8 Jun 2007 at 5:45