public void AddOperation(SequentialOperation op)
        {
            if (this.Operations == null)
                this.Operations = new BindingList<SequentialOperation>();

            this.Operations.Add(op);
        }
Exemple #2
0
        public void AddOperation(SequentialOperation op)
        {
            if (this.Operations == null)
            {
                this.Operations = new BindingList <SequentialOperation>();
            }

            this.Operations.Add(op);
        }
 private void btnAddProcess_Click(object sender, EventArgs e)
 {
     var diag = new NewProcessDialog();
     if (diag.ShowDialog() == DialogResult.OK)
     {
         var op = new SequentialOperation() { Command = diag.Command };
         lstProcesses.Items.Add(op);
         propGrid.SelectedObject = op;
     }
 }