Ejemplo n.º 1
0
        private void bSelectJS_Click(object sender, EventArgs e)
        {
            AddJS newForm = new AddJS(scene);

            newForm.FormClosed += NewForm_FormClosed;
            newForm.Owner       = this;
            newForm.ShowDialog();
        }
Ejemplo n.º 2
0
 private void bEdit_Click(object sender, EventArgs e)
 {
     if (lbActions.SelectedItem != null)
     {
         AddJS newForm = new AddJS(scene, lbActions.SelectedItem as ActionType);
         newForm.FormClosed += NewForm_FormClosed;
         newForm.Owner       = this;
         newForm.ShowDialog();
     }
 }