Example #1
0
        private void посещенияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RestartTimer();
            CloseMdiChild();
            VisitForm VF = new VisitForm(user);

            VF.MdiParent = this;
            MakeFormHooks(VF);
            VF.Show();
        }
Example #2
0
        public Container(User userObject, Form startForm)
        {
            InitializeComponent();
            AuthForm   = startForm;
            user       = userObject;
            this.Text += " - " + user.Login;
            this.выходToolStripMenuItem.Text += " " + user.Login;
            VisitForm VF = new VisitForm(user);

            VF.MdiParent = this;
            MakeFormHooks(VF);
            VF.Show();
        }