예제 #1
0
 private void ColapzarRegistro_Tick(object sender, EventArgs e)
 {
     if (EsColapzado)
     {
         PanelSubDashboard.Height += 10;
         if (PanelSubDashboard.Size == PanelSubDashboard.MaximumSize)
         {
             ColapzarRegistro.Stop();
             EsColapzado = false;
         }
     }
     else
     {
         PanelSubDashboard.Height -= 10;
         if (PanelSubDashboard.Size == PanelSubDashboard.MinimumSize)
         {
             ColapzarRegistro.Stop();
             EsColapzado = true;
         }
     }
 }
예제 #2
0
 private void bunifuFlatButton1_Click(object sender, EventArgs e)
 {
     ColapzarRegistro.Start();
 }