예제 #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            this.Hide();
            var form = new ManagerForm();

            form.Location      = this.Location;
            form.StartPosition = FormStartPosition.Manual;
            form.FormClosing  += delegate { this.Show(); };
            form.Show();
        }
예제 #2
0
        private void planningbutton_Click(object sender, EventArgs e)
        {
            this.Hide();
            ManagerForm form = new ManagerForm()
            {
                Location      = this.Location,
                StartPosition = FormStartPosition.Manual
            };

            form.FormClosing += delegate { this.Show(); };
            form.Show();
        }