Beispiel #1
0
 private void btnRegistration_Click(object sender, EventArgs e)
 {
     try
     {
         FrmRegistration registration = new FrmRegistration();
         registration.ShowDialog();
     }
     catch (System.IO.IOException)
     {
         MessageBox.Show("Sistem ne moze da pokrene formu!");
         return;
     }
 }
Beispiel #2
0
        private void registrationToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FrmRegistration frm = new FrmRegistration();

            frm.ShowDialog(this);
        }