private void R_TransactionBtn_Click(object sender, EventArgs e) { String Name = get_Name(); moneyRequestTableAdapter.Fill_UsersREquest(onlineBankingSystemDBDataset.MoneyRequest, Name); Transition1.ShowSync(Requst_datagridview); }
private void RegistroDiario_Load(object sender, EventArgs e) { Bunifu.Framework.Lib.Elipse.Apply(bunifuCustomDataGrid1, 7); MostarRegistroDiario(); Transition1.ShowSync(panelFondo); Transition1.ShowSync(panelBotones); }
private void Procesos(int p) { if (p == 0) { this.BackColor = Color.Aquamarine; Transition1.ShowSync(Lbl1); this.BackColor = Color.MidnightBlue; Transition1.ShowSync(Lbl2); this.BackColor = Color.SkyBlue; Transition1.ShowSync(Lbl3); this.BackColor = Color.Gold; panel1.Hide(); mover(203, 0); } if (p == 1) { this.BackColor = Color.Green; Transition1.ShowSync(Lbl4); this.BackColor = Color.Teal; Transition1.ShowSync(Lbl5); this.BackColor = Color.Orange; Transition4.ShowSync(PLogoES); this.BackColor = Color.PaleGreen; Transition2.ShowSync(LblMateria); this.BackColor = Color.YellowGreen; Transition2.ShowSync(LblProyect); this.BackColor = Color.White; Transition3.ShowSync(panel1); this.BackColor = Color.White; this.BackColor = Color.White; this.BackColor = Color.White; } }
private void BotonMenu_Click(object sender, EventArgs e) { ListaDePacientes listadepacientes = new ListaDePacientes(); if (panelLeft.Width == 72) { panelLeft.Visible = false; panelLeft.Width = 244; panel1.Width = 990; panel1.Location = new Point(243, 0); pictureBox7.Width = 1010; pictureBox7.Location = new Point(0, 0); panelBarra.Width = 1010; panelBarra.Location = new Point(244, 62); Transition1.ShowSync(panelLeft); } else { panelLeft.Visible = false; panelLeft.Width = 72; panel1.Width = 1160; panel1.Location = new Point(72, 0); pictureBox7.Width = 1160; pictureBox7.Location = new Point(0, 0); panelBarra.Width = 1160; panelBarra.Location = new Point(72, 62); Transition1.ShowSync(panelLeft); } }
//Méthode qui va s'exécuter lors du clic sur le bouton de recherche private void imgRecherche_Click(object sender, EventArgs e) { tot.Visible = false; GestionnaireConnexion connect = new GestionnaireConnexion(); //On rechercher un lecteur(étudiant ou professeur) if ((connect.OneEtudiant(txtRecherche.Text) == null) && (connect.OneProfesseur(txtRecherche.Text) == null)) { txtNotLect.Text = "Ce lecteur n est pas enregistré!!!!"; Transition1.ShowSync(notifLect); notifLect.Visible = true; } else { if ((connect.OneEtudiant(txtRecherche.Text) == null) && (connect.OneProfesseur(txtRecherche.Text) != null)) { dgLecteur.Rows.Clear(); Professeur P = connect.OneProfesseur(txtRecherche.Text); //On ajoute l'utilisateur trouvé dans le datagrid dgLecteur.Rows.Add(null, P.Matricule, P.Nom, P.Prenom, P.Sexe, P.Email); } else { dgLecteur.Rows.Clear(); Etudiant E = connect.OneEtudiant(txtRecherche.Text); //On ajoute l'utilisateur trouvé dans le datagrid dgLecteur.Rows.Add(null, E.Matricule, E.Nom, E.Prenom, E.Sexe, E.Email); } } }
private void imgRechEmp_Click(object sender, EventArgs e) { GestionnaireConnexion connect = new GestionnaireConnexion(); List <FormulaireEmprunt> ficheE = connect.AllEmprunt(); totE.Visible = false; //On rechercher un emprunt if ((connect.OneEtudiant(txtRechEmp.Text) == null) && (connect.OneProfesseur(txtRechEmp.Text) == null)) { txtEmp.Text = "Ce lecteur n est pas enregistré!!!!"; Transition1.ShowSync(notifE); notifE.Visible = true; } else { //On remplis le datgrid avec tous les emprunts foreach (FormulaireEmprunt E in ficheE) { dgEmprunt.Rows.Clear(); if ((E.MatriculeEtd == null) && (E.MatriculeProf == null)) { dgEmprunt.Rows.Add(null, "Aucun", "Aucun", "Aucun", "Aucun"); } else if (E.MatriculeEtd == null) { dgEmprunt.Rows.Add(null, E.MatriculeProf, E.ISBN, E.DateEmprunt.ToString(), E.DateFin.ToString()); } else { dgEmprunt.Rows.Add(null, E.MatriculeEtd, E.ISBN, E.DateEmprunt.ToString(), E.DateFin.ToString()); } } } }
private void ControlDePagos_Load(object sender, EventArgs e) { Bunifu.Framework.Lib.Elipse.Apply(bunifuCustomDataGrid1, 7); MostrarPacientes(); Transition1.ShowSync(panelAnima); Transition1.ShowSync(panelBotones); }
private void S_transactionsBtn_Click(object sender, EventArgs e) { string Name = get_Name(); moneyTransferTableAdapter.Fill_UserResultTransfer(onlineBankingSystemDBDataset1.MoneyTransfer, Name); Transition1.ShowSync(TransferDataGridView); }
private void AgregarFichasDeAdmision_Load(object sender, EventArgs e) { Transition1.ShowSync(panelFondo); Transition1.ShowSync(panelBotones); Bunifu.Framework.Lib.Elipse.Apply(ComboboxObraSocial, 5); ListaObrasSociales(); TexboxFecha.Text = Date.Value.ToString(); }
private void bunifuImageButton1_Click(object sender, EventArgs e) { leftpanel.Visible = false; rightpanel.Visible = true; Transition1.ShowSync(rightpanel); bunifuMaterialTextbox1.Text = ""; bunifuMaterialTextbox2.Text = ""; bunifuMaterialTextbox5.Text = ""; }
private void retL_Click(object sender, EventArgs e) { panelAjout.Visible = false; Transition1.ShowSync(dgLivre); dgLivre.Visible = true; //On cache le premier bouton d'ajout insLivre.Visible = true; }
private void Exp_btn_Click(object sender, EventArgs e) { Transition1.ShowSync(Intro_Panel); Income_panel.Visible = false; Calculator_panel.Visible = false; Calculator_Title_Label.Visible = false; EdgeDesign_Calculator.Visible = false; Edge_Design_Income.Visible = false; }
private void BotonAdmision_Click(object sender, EventArgs e) { panelBarra.Visible = true; panelLabel.Visible = false; labelInd.Text = "Fichas de admision"; Transition1.ShowSync(panelLabel); AgregarFichasDeAdmision fichasDeAdmision = new AgregarFichasDeAdmision(); AbrirFormularioHijo(fichasDeAdmision); }
private void button2_Click(object sender, EventArgs e) { panelBarra.Visible = true; labelInd.Text = "Evaluaciones e informes"; panelLabel.Visible = false; Transition1.ShowSync(panelLabel); Evaluaciones_e_informes evaluacioneseinformes = new Evaluaciones_e_informes(); AbrirFormularioHijo(evaluacioneseinformes); }
private void BotonControlDePagos_Click(object sender, EventArgs e) { ShowSubMenu(panelControlDePagos); HideSubMenu(); labelInd.Text = "Control de pagos"; panelLabel.Visible = false; Transition1.ShowSync(panelLabel); ControlDePagos controldepago = new ControlDePagos(); AbrirFormularioHijo(controldepago); }
private void BotonRegistroDiario_Click(object sender, EventArgs e) { ShowSubMenu(panelRegistroDiario); HideSubMenu(); labelInd.Text = "Registro diario"; panelLabel.Visible = false; Transition1.ShowSync(panelLabel); RegistroDiario registrodiario = new RegistroDiario(); AbrirFormularioHijo(registrodiario); }
private void button6_Click(object sender, EventArgs e) { ShowSubMenu(panelListaDePacientes); HideSubMenu(); labelInd.Text = "Lista de pacientes"; panelLabel.Visible = false; Transition1.ShowSync(panelLabel); ListaDePacientes CDP = new ListaDePacientes(); AddOwnedForm(CDP); AbrirFormularioHijo(new ListaDePacientes()); }
private void FileB_Click(object sender, EventArgs e) { if (!fileUC1.Visible) { HideAllPanels(); Transition1.ShowSync(fileUC1, false, BunifuAnimatorNS.Animation.HorizSlide); } else { Transition1.HideSync(fileUC1, false, BunifuAnimatorNS.Animation.HorizSlide); } }
private void Calculator_Btn_Click(object sender, EventArgs e) { //Custom things Intro_Panel.Visible = false; Calculator_panel.Visible = false; Income_panel.Visible = false; Transition1.ShowSync(Calculator_panel); Calculator_Title_Label.Visible = true; EdgeDesign_Calculator.Visible = true; Edge_Design_Income.Visible = false; }
private void EraserB_Click_1(object sender, EventArgs e) { Test.CurrentBrush = BrushType.Eraser; if (!ESize.Visible) { HideAllPanels(); Transition1.ShowSync(ESize, false, BunifuAnimatorNS.Animation.HorizSlide); } else { Transition1.HideSync(ESize, false, BunifuAnimatorNS.Animation.HorizSlide); } }
private void PenB_Click(object sender, EventArgs e) { if (!penUC1.Visible) { HideAllPanels(); Transition1.ShowSync(penUC1, false, BunifuAnimatorNS.Animation.HorizSlide); CurrentBrush = PenBrush; color = PenColor; } else { Transition1.HideSync(penUC1, false, BunifuAnimatorNS.Animation.HorizSlide); } }
private void ControlDePagos_Load(object sender, EventArgs e) { ListaObrasSociales(); //this.Grafico.Series["Series1"].Points.AddXY(bunifuCustomDataGrid1.CurrentRow.Cells["TotalPagado"].Value.ToString(), bunifuCustomDataGrid1.CurrentRow.Cells["FechaDePago"].Value.ToString()); //this.Grafico.Series["Series1"].Points.AddXY(4, 5); //this.Grafico.Series["Series1"].Points.AddXY(5, 8); //this.Grafico.Series["Series1"].Points.AddXY(8, 3); Bunifu.Framework.Lib.Elipse.Apply(PanelOsede, 10); Bunifu.Framework.Lib.Elipse.Apply(PanelIoma, 10); Bunifu.Framework.Lib.Elipse.Apply(PanelOsprera, 10); Bunifu.Framework.Lib.Elipse.Apply(PaneOtros, 10); Transition1.ShowSync(panelFondo); Transition1.ShowSync(panelBotones); }
private void ShapesB_Click(object sender, EventArgs e) { if (!shapesUC1.Visible) { HideAllPanels(); Transition1.ShowSync(shapesUC1, false, BunifuAnimatorNS.Animation.HorizSlide); CurrentShape = shapeB; color = ShapesColor; CurrentBrush = BrushType.Shape; } else { Transition1.HideSync(shapesUC1, false, BunifuAnimatorNS.Animation.HorizSlide); } }
private void gunaPictureBox1_Click(object sender, EventArgs e) { gunaPictureBox1.Visible = false; Transition1.MaxAnimationTime = 2500; Transition1.TimeStep = 0.1f; Transition1.HideSync(panel2); panel2.Controls.Clear(); ControlDangNhap1 hd = new ControlDangNhap1(); Transition1.AnimationType = Guna.UI.Animation.AnimationType.VertSlide; Transition1.TimeStep = 0.01f; panel2.Controls.Add(hd); Transition1.ShowSync(panel2); }
private void insLivre_Click(object sender, EventArgs e) { dgLivre.Visible = false; Transition1.ShowSync(panelAjout); panelAjout.Visible = true; //On cache le premier bouton d'ajout insLivre.Visible = false; //On cache les textbox titre.Visible = false; txtAuteur.Visible = false; txtMaison.Visible = false; txtDate.Visible = false; Mat.Visible = false; }
private void AjLiv_Click(object sender, EventArgs e) { GestionnaireConnexion connect = new GestionnaireConnexion(); Livre L = new Livre(AISBN.Text, titreL.Text, AAuteur.Text, AMaisonEdit.Text, ADatePub.Text); connect.InsertLivre(L); Transition1.HideSync(panelAjout); panelAjout.Visible = false; //On rend le premier bouton d'ajout visibe insLivre.Visible = true; //On fait réapparaitre le datagrid Transition1.ShowSync(dgLivre); dgLivre.Visible = true; }
private void TextboxBuscar_OnTextChange(object sender, EventArgs e) { if (TextboxBuscar.text != "Buscar Paciente") { if (TextboxBuscar.text == "") { paneldatagrid.Visible = false; } else { CN_Pacientes cn_pacientes = new CN_Pacientes(); bunifuCustomDataGrid1.DataSource = cn_pacientes.BarraDeBusquedaPaciente(TextboxBuscar.text); Transition1.ShowSync(paneldatagrid); } } else { paneldatagrid.Visible = false; } }
internal void Limpiar() { this.Controls.Clear(); PanelPadre.Name = "Padre"; PanelPadre.Dock = DockStyle.Fill; PanelPadre.Visible = false; if (baux == false) { F1.Entrada1 Fh = new F1.Entrada1(this); AbrirPanel1(Fh, PanelPadre); this.Controls.Add(PanelPadre); Thread.Sleep(100); Transition1.ShowSync(PanelPadre); } else { Login fh = new Login(); this.Hide(); fh.ShowDialog(); this.Close(); } }
private void Tslide_Tick(object sender, EventArgs e) { if (ph11.Visible == true) { Transition1.ShowSync(ph11); ph11.Visible = false; ph31.Visible = true; } else if (ph31.Visible == true) { Transition3.ShowSync(ph31); ph11.Visible = false; ph21.Visible = true; ph31.Visible = false; } else { Transition2.ShowSync(ph21); ph11.Visible = true; ph21.Visible = false; ph31.Visible = false; } }
private void RequestMoney_btn_Click(object sender, EventArgs e) { SendMoneyPanel.Visible = false; Transition1.ShowSync(RequestMoneyPanel); }