private void GenSubFormAndShow() { selfInfoForm = new SelfInfoForm(); selfInfoForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; selfInfoForm.TopLevel = false; contactsForm = new ContactsForm(); contactsForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; contactsForm.TopLevel = false; selfCheckForm = new SelfCheckForm(); selfCheckForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; selfCheckForm.TopLevel = false; contactsForm.Show(); selfInfoForm.Show(); selfCheckForm.Show(); }
private void OpenFormContact(object arg) { var contact = new ContactsForm(); contact.Show(); }