Example #1
0
        private void lblAddTarif_Click(object sender, EventArgs e)
        {
            TarifsFrm fr = new TarifsFrm();

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

            TarifsFrm frm = new TarifsFrm();

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