Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            var profil = new Profil();
            var res    = profil.ShowDialog();

            if (res == DialogResult.OK)
            {
                kki.Kraj();
                this.Close();
            }
            //new Profil().ShowDialog();
        }
Beispiel #2
0
 private void MeniForma_FormClosed(object sender, FormClosedEventArgs e)
 {
     kki.Kraj();
 }