Пример #1
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            frmTime create = new frmTime();

            create.StartPosition = FormStartPosition.CenterParent;
            create.ShowDialog();
        }
Пример #2
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmTime create = new frmTime();

            create.StartPosition = FormStartPosition.CenterScreen;
            create.ShowDialog();
            this.Close();
        }