private void btnMenuSidebar_Click(object sender, EventArgs e)
        {
            if (SidebarGradient.Width == 270)
            {
                SidebarGradient.Visible = false;
                SidebarGradient.Width   = 68;
                SidebarWrapper.Width    = 90;
                lineaSidebar.Width      = 52;
                AnimacionSidebar1.Show(SidebarGradient);

                //LOGO PCTECSANTIAGO
                ImgenSidebarLogo.Visible         = false;
                PCTEC_SANTIAGO_logoMini_.Visible = true;
            }
            else
            {
                SidebarGradient.Visible = false;
                SidebarGradient.Width   = 270;
                SidebarWrapper.Width    = 300;
                lineaSidebar.Width      = 252;
                AnimacionSidebarBack.Show(SidebarGradient);

                //LOGO PCTECSANTIAGO
                ImgenSidebarLogo.Visible         = true;
                PCTEC_SANTIAGO_logoMini_.Visible = false;
            }
        }
Beispiel #2
0
 public void openSideBar()
 {
     Sidebar.Visible      = false;
     Sidebar.Width        = 270;
     SidebarWrapper.Width = 300;
     LineaSidebar.Width   = 252;
     LineaSidebar2.Width  = 252;
     areaGrafica.Width    = 409;
     areaGrafica.Height   = 230;
     AnimacionSidebarBack.Show(Sidebar);
     areaSeleccionPais.Location = new Point(542, 334);
     btnOpenImage.Location      = new Point(555, 590);
     label2.Visible             = true;
 }
Beispiel #3
0
 private void BunifuFlatButton6_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width != 270)
     {
         openSideBar();
     }
     if (lblAcercaDe.Visible == true)
     {
         lblAcercaDe.Visible = false;
     }
     else
     {
         AnimacionSidebarBack.Show(lblAcercaDe);
     }
 }
Beispiel #4
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);
     }
 }
 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);
     }
 }
Beispiel #6
0
 private void BtnOpenPDF_Click(object sender, EventArgs e)
 {
     if (Sidebar.Width != 270)
     {
         openSideBar();
     }
     if (lblErrores.Height == 0)
     {
         lblErrores.Height  = 150;
         lblErrores.Width   = 270;
         lblErrores.Visible = false;
         AnimacionSidebarBack.Show(lblErrores);
     }
     else
     {
         lblErrores.Height = 0;
         lblErrores.Width  = 0;
     }
 }
Beispiel #7
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ú");
     }
 }
Beispiel #8
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);
     }
 }
Beispiel #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);
         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;
     }
 }
        private void menuSideBar_Click(object sender, EventArgs e)
        {
            Console.WriteLine(SideBarWrapper.Size);
            if (SideBarWrapper.Width == 202)
            {
                SideBarWrapper.Visible = false;
                SideBarWrapper.Width   = 58;
                bunifuSeparator1.Width = 58;
                AnimacionSidebarBack.Show(SideBarWrapper);
                btnAbrir.Text  = "";
                btnBodega.Text = "";
            }
            else
            {
                SideBarWrapper.Visible = false;
                SideBarWrapper.Width   = 202;
                bunifuSeparator1.Width = 202;
                AnimacionSidebarBack.Show(SideBarWrapper);
                btnAbrir.Text  = "Abrir";
                btnBodega.Text = "Bodega";
            }

            GC.Collect();
        }