예제 #1
0
 private void specB_Click(object sender, EventArgs e)
 {
     specVlast spec = new specVlast(predmet, opravy);
     if (spec.ShowDialog() == DialogResult.OK)
     {
         opravy = spec.opravy;
     }
 }
예제 #2
0
 private void changeSpecial_Click(object sender, EventArgs e)
 {
     Predmet p = (Predmet)((ToolStripItem)sender).Tag;
     specVlast dialog = new specVlast(p);
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         p.setOpravy(dialog.opravy);
         Program.getMainForm().setNew(postava);
     }
 }