Beispiel #1
0
 private void btnnew_Click(object sender, EventArgs e)
 {
     UIL.part f = new UIL.part();
     f.FormClosed += new FormClosedEventHandler(f_FormClosed);
     f.mode        = type_mode.mode.insert;
     f.MdiParent   = this.ParentForm;
     f.Show();
 }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            //DAL DA = new DAL();
            if (type == type_mode.type.parts)
            {
            }
            parts_Main PA = new parts_Main();
            DataTable  DT = new DataTable();

            UIL.part f = new UIL.part();
            f.MdiParent = this.ParentForm;
            this.Close();
            f.Show();
        }