Beispiel #1
0
        private void bEdit_Click(object sender, EventArgs e)
        {
            FormEditConstellation Fec = new FormEditConstellation(sky, cons);

            Hide();
            Fec.ShowDialog();
            Show();
            DialogResult = Fec.DialogResult;
            Close();
        }
Beispiel #2
0
        private void OpenEditForm(bool isStar = false)
        {
            Form f = new Form();

            if (isStar)
            {
                f = new FormEditStar(sky);
            }
            else
            {
                f = new FormEditConstellation(sky);
            }

            ShowForm(f);
        }