Esempio n. 1
0
 private void mouseClick(object sender, MouseEventArgs e)
 {
     if (ttIsOpen == false) //only opens if the window isn't already open
     {
         if (mouseMoved == false)
         {
             Expandedform.Show();
             Expandedform.Activate();
             ttIsOpen = true;
         }
     }
     else //closes the window if it's already open instead of opening a new window
     {
         Expandedform.Close();
         ttIsOpen = false;
     }
 }