Пример #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     var pipeline = GetSelectedPipeline();
     if (pipeline != null)
     {
         var editor = new PipelineEditor();
         editor.SetPipeline(pipeline);
         editor.ShowDialog();
     }
 }
Пример #2
0
 private void btnCreate_Click(object sender, EventArgs e)
 {
     var editor = new PipelineEditor();
     editor.ShowDialog();
     var pipeline = editor.GetPipeline();
     if (pipeline != null)
     {
         RefreshGrid();
         RefreshSelectedPipeline(pipeline);
     }
 }