コード例 #1
0
        private void nastaveni_Click_1(object sender, EventArgs e)
        {
            Nastaveni nastaveni = new Nastaveni(main);

            this.Hide();
            nastaveni.ShowDialog();
            this.Show();
        }
コード例 #2
0
        private void nastaveni_Click(object sender, EventArgs e)
        {
            Nastaveni nastaveni = new Nastaveni(this);

            this.Hide();
            nastaveni.ShowDialog();
            labelPracovnik.Text = pracovnik;
            this.Show();
        }