private void companyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            COMPANY frm = new COMPANY();

            frm.MdiParent = this;
            frm.Show();
            frm.lblpath.Text = lblcompanypath.Text;
        }
Beispiel #2
0
 private void btn_new_Click(object sender, EventArgs e)
 {
     try{
         COMPANY FRM = new COMPANY();
         FRM.Show();
         this.Hide();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }