private void listBoxObjects_DoubleClick(object sender, EventArgs e) { if (this.listBoxObjects.SelectedValue != null) { EditInstanceForm form = new EditInstanceForm(this.listBoxObjects.SelectedValue); form.ShowDialog(); } }
void OnNameButtonClick(object sender, EventArgs e) { EditInstanceForm form = new EditInstanceForm(((Control)sender).Tag); form.ShowDialog(); }
private void OnClick(object sender, EventArgs e) { EditInstanceForm form = new EditInstanceForm(this.Tag); form.ShowDialog(); }
private void buttonFieldsResult_Click(object sender, EventArgs e) { EditInstanceForm form = new EditInstanceForm(Lastresult); form.Show(this); }