Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        private void OpenFormContact(object arg)
        {
            var contact = new ContactsForm();

            contact.Show();
        }