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

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

            this.Operations.Add(op);
        }
Пример #3
0
 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;
     }
 }