Problem with the button in the taskbar

Anonymous
2012-08-22
2013-04-24
  • Anonymous - 2012-08-22

    Hello,

    I've problem when i mask the button in the taskbar.
    So , i type  

    private void Main_FormClosing(object sender, FormClosingEventArgs e)
    {
          this.ShowInTaskbar = false;
          this.WindowState = FormWindowState.Minimized;
    }
    

    and in an other event, i call back my main form :

    private void notifyIcon_MouseDoubleClick(object sender, MouseEventArgs e)
    {
         this.ShowInTaskbar = true;
         this.WindowState = FormWindowState.Maximized;
    }
    

    All the dock other than DockState.Document are right, nothing appear on the DockState.Document

    Have you an idée how proceed ?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks