Exemple #1
0
        private void lblAddPersonne_Click(object sender, EventArgs e)
        {
            PersonneFrm frm = new PersonneFrm();

            frm.setFormPrincipal(principal);
            frm.Icon = principal.Icon;
            frm.ShowDialog();
        }
Exemple #2
0
        private void mnPersonne_Click(object sender, EventArgs e)
        {
            try
            {
                clsDoTraitement.SetProcessWorkingSetSize(Process.GetCurrentProcess().Handle, -1, -1);
            }
            catch { }

            PersonneFrm frm = new PersonneFrm();

            frm.MdiParent = this;
            frm.setFormPrincipal(this);
            frm.Icon = this.Icon;
            frm.Show();
        }