Example #1
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 270)
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 68;
         Sidebarwrapper.Width = 90;
         AnimacionSidebar.Show(Sidebar);
     }
     else
     {
         Sidebar.Width        = 270;
         Sidebarwrapper.Width = 300;
         LineSidebbar.Width   = 252;
     }
 }
Example #2
0
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 270)
     {
         Sidebar.Visible    = false;
         LineaSidebar.Width = 52;
         AnimacionSidebar.Show(Sidebar);
     }
     else
     {
         Sidebar.Visible    = false;
         Sidebar.Width      = 270;
         LineaSidebar.Width = 252;
         AnimacionSidebarBack.Show(Sidebar);
     }
 }
Example #3
0
 public void closeSideBar()
 {
     Sidebar.Visible      = false;
     Sidebar.Width        = 62;
     SidebarWrapper.Width = 90;
     LineaSidebar.Width   = 50;
     LineaSidebar2.Width  = 50;
     areaGrafica.Width    = 619;
     areaGrafica.Height   = 300;
     AnimacionSidebar.Show(Sidebar);
     areaSeleccionPais.Location = new Point(770, 467);
     btnOpenImage.Location      = new Point(853, 28);
     label2.Visible             = false;
     lblAcercaDe.Visible        = false;
     lblErrores.Height          = 0;
     lblErrores.Width           = 0;
 }
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 234)
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 54;
         SidebarWrapper.Width = 80;
         AnimacionSidebar.Show(Sidebar);
     }
     else
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 234;
         SidebarWrapper.Width = 260;
         AnimacionSidebarBack.Show(Sidebar);
     }
 }
Example #5
0
 private void Btn_Productos_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 68 && SidebarWrapper.Width == 90)
     {
         Cursor.Current = Cursors.WaitCursor;
         AbrirFormInPanel(new F_Productos());
     }
     else
     {
         Cursor.Current       = Cursors.WaitCursor;
         Sidebar.Visible      = false;
         Sidebar.Width        = 68;
         SidebarWrapper.Width = 90;
         LineaSidebar.Width   = 52;
         AnimacionSidebar.Show(Sidebar);
         AbrirFormInPanel(new F_Productos());
     }
 }
Example #6
0
 // BOTON HAMBURGUESA
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 240)
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 68;
         SidebarWrapper.Width = 90;
         LineaSidebar.Width   = 60;
         AnimacionSidebar.Show(Sidebar);
     }
     else
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 240;
         SidebarWrapper.Width = 250;
         LineaSidebar.Width   = 230;
         AnimaacionSidebarBack.Show(Sidebar);
     }
 }
Example #7
0
 private void btnHamburguesa_Click(object sender, EventArgs e)
 {
     if (SideBar.Width == 270)
     {
         SideBar.Visible      = false;
         SideBar.Width        = 68;
         SideBarWrapper.Width = 90;
         LineaSidebar.Width   = 52;
         AnimacionSidebar.Show(SideBar);
     }
     else
     {
         SideBar.Visible      = false;
         SideBar.Width        = 270;
         SideBarWrapper.Width = 300;
         LineaSidebar.Width   = 252;
         ASidebarBack.Show(SideBar);
     }
 }
Example #8
0
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (PanelLateral.Width == 240)
     {
         PanelLateral.Visible = false;
         PanelLateral.Width   = 64;
         SidebarWrapper.Width = 84;
         LineaSidebar.Width   = 60;
         AnimacionSidebar.Show(PanelLateral);
         toolTip_Etiquetas.SetToolTip(MenuSidebar, "Restaurar Menú");
     }
     else
     {
         PanelLateral.Visible = false;
         PanelLateral.Width   = 240;
         SidebarWrapper.Width = 260;
         LineaSidebar.Width   = 222;
         AnimacionSidebarBack.Show(PanelLateral);
         toolTip_Etiquetas.SetToolTip(MenuSidebar, "Ocultar Menú");
     }
 }
Example #9
0
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 270)
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 68;
         SidebarWrapper.Width = 90;
         LineaSidebar.Width   = 52;
         AnimacionSidebar.Show(Sidebar);
         Wrapper.Width    = 1047;
         Wrapper.Location = new Point(90, 80);
     }
     else
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 270;
         SidebarWrapper.Width = 300;
         LineaSidebar.Width   = 252;
         AnimacionSidebarBack.Show(Sidebar);
         Wrapper.Width    = 878;
         Wrapper.Location = new Point(300, 80);
     }
 }
Example #10
0
 private void MenuSidebar_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width == 270)
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 68;
         SidebarWrapper.Width = 90;
         LineaSidebar.Width   = 52;
         AnimacionSidebar.Show(Sidebar);
         Student empty = new Student();
         FillStudentInformation(empty);
         this.bunifuTileButtonUSER.Visible = false;
     }
     else
     {
         Sidebar.Visible      = false;
         Sidebar.Width        = 270;
         SidebarWrapper.Width = 300;
         LineaSidebar.Width   = 252;
         AnimacionSidebarBack.Show(Sidebar);
         FillStudentInformation(empty);
         this.bunifuTileButtonUSER.Visible = true;
     }
 }