Пример #1
0
 private void startBorderBouncingForm_Click(object sender, EventArgs e)
 {
     BorderBouncingForm form = new BorderBouncingForm();
     form.Closed += (o, args) => { Show(); };
     Hide();
     form.Show(this);
 }
Пример #2
0
        private void startBorderBouncingForm_Click(object sender, EventArgs e)
        {
            BorderBouncingForm form = new BorderBouncingForm();

            form.Closed += (o, args) => { Show(); };
            Hide();
            form.Show(this);
        }