コード例 #1
0
 public void SetCurrentICRUDChildForm(Form frmChildForm)
 {
     if (frmChildForm.IsMdiChild)
     {
         frmCurrent = (ICRUDGeneral)frmChildForm;
     }
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        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;
        }
コード例 #4
0
        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;
        }
コード例 #5
0
        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;
        }
コード例 #6
0
        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;
        }
コード例 #7
0
        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;
        }
コード例 #8
0
        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;
        }