示例#1
0
        private void mniEdit_Click(object sender, EventArgs e)
        {
            var definition = this.lvDefinitions.SelectedItems[0].Tag as IBuildDefinition;

            FormDefinitionEdit.DialogShow(definition, FormActionMode.Edit);
        }
示例#2
0
 private void mniNewDefinition_Click(object sender, EventArgs e)
 {
     var buildDefinition = FormDefinitionEdit.DialogShow(null, FormActionMode.New);
 }