示例#1
0
 private void ts_AddVendor_Click(object sender, EventArgs e)
 {
     if (!formExist("CreateVendor"))
     {
         frm_CreateVendor           = new CreateVendor();
         frm_CreateVendor.MdiParent = this;
         frm_CreateVendor.Show();
     }
 }
示例#2
0
        private void btn_addVendor_Click(object sender, EventArgs e)
        {
            parent = (MdiParent)this.MdiParent;

            if (!parent.formExist("CreateVendor"))
            {
                CreateVendor frm_CreateVendor = new CreateVendor();
                frm_CreateVendor.Show();
            }
        }