示例#1
0
 /* The main box contains two overlapped panels, one containing information
  * on the outgoing transfer, the other for the incoming
  * The following two methods manage the visualization of one or the other
  */
 private void ShowTransferOut(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         #region Show Transfers
         ProgressBarsOutPanel.Show();
         ProgressBarsInPanel.Hide();
         this.RaisePaintEvent(this, null);
         #endregion
     }
 }
示例#2
0
 private void HideOnClickOut(object sender, EventArgs e)
 {
     ProgressBarsInPanel.Hide();
     ProgressBarsOutPanel.Hide();
     this.Hide();
 }