public void SetCurrentICRUDChildForm(Form frmChildForm) { if (frmChildForm.IsMdiChild) { frmCurrent = (ICRUDGeneral)frmChildForm; } }
private void sssmVueDataStudent_Click(object sender, EventArgs e) { frmDataViewEtudiant frm = new frmDataViewEtudiant(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); }
private void sssmVueDataAdministration_Click(object sender, EventArgs e) { frmDataViewAdministration frm = new frmDataViewAdministration(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); //this.bdNav.Enabled = true; }
private void ssmAffectationMaterials_Click(object sender, EventArgs e) { frmAffectationMateriel frm = new frmAffectationMateriel(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); this.bdNav.Enabled = true; }
private void smPerson_Click(object sender, EventArgs e) { frmPersonne frm = new frmPersonne(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); this.bdNav.Enabled = true; }
private void ssmProjector_Click(object sender, EventArgs e) { frmRetroprojecteur frm = new frmRetroprojecteur(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); this.bdNav.Enabled = true; }
private void ssmAP_Click(object sender, EventArgs e) { frmAccessPoint frm = new frmAccessPoint(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); this.bdNav.Enabled = true; }
private void ssmPrinter_Click(object sender, EventArgs e) { //clsPropertyForm.SetChildForm(new frmImprimante(), this, frmCurrent); frmImprimante frm = new frmImprimante(); frm.Principal = this; frm.MdiParent = this; frm.Icon = this.Icon; frmCurrent = frm; frm.Show(); this.bdNav.Enabled = true; }