private void buttonNewCompany_Click(object sender, EventArgs e) { FormCompany newform = new FormCompany(); newform.view = false; newform.Activate(); newform.Show(); }
private void buttonCompany_Click(object sender, EventArgs e) { FormCompany ObjframeMain = new FormCompany(); ObjframeMain.view = true; ObjframeMain.Activate(); ObjframeMain.Show(); }