Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            var fitterForm = new FitterForm();

            fitterForm.ShowDialog();
            this.Close();
        }
Пример #2
0
        private void Fitterbtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            FitterForm form = new FitterForm()
            {
                Location      = this.Location,
                StartPosition = FormStartPosition.Manual
            };

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