View Single Post
  #1 (permalink)  
Old April 30th, 2011, 03:33 AM
jayawant jayawant is offline
Registered User
Join Date: Apr 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Post how to stop a form refresh in windows application

hi all,

I am used in me.showintaskbar property to remove application from taskmanager.but it removes the form(application)it still refreshes.How to stop the form avoid that issue please help me.

In one simple windows project containing one form ie, form1 its property "Showintaskbar=true" it is that same form one button is there ie,button1. button1_click() event i write the following code: "me.showintaskbar=false".
After run a project form1 is display in taskbar & taskmanager application tab.But after clicking button1 form1 removes in iaskbar & taskmanager but these form has refreshes.How to stop these form refreshes?