private void mniEdit_Click(object sender, EventArgs e) { var definition = this.lvDefinitions.SelectedItems[0].Tag as IBuildDefinition; FormDefinitionEdit.DialogShow(definition, FormActionMode.Edit); }
private void mniNewDefinition_Click(object sender, EventArgs e) { var buildDefinition = FormDefinitionEdit.DialogShow(null, FormActionMode.New); }