예제 #1
0
 public OperatorsForm(string OpName, BuilderForm bf)
 {
     this.BuilderParent = bf;
     this.MdiParent = bf;
     InitializeComponent();
     Fill_OperatorBox_Properties(OpName);
     this.Show();
     this.BringToFront();
 }
예제 #2
0
 public EditOperatorForm(int qp, BuilderForm bf)
 {
     this.BuilderParent = bf;
     this.MdiParent = bf;
     InitializeComponent();
     this.Qpos = qp;
     this.OpName = BuilderParent.OperatorListGraphic[Qpos].Name;
     Fill_OperatorBox_Properties(BuilderParent.OperatorListGraphic[Qpos]);
     this.Show();
 }
예제 #3
0
 public DynamicButton(PictureBox pb, string t, BuilderForm parent, GraphicOperator assignedTo, GraphicOperator comingFrom)
 {
     button = ButtonMaker(pb, t);
     picBox = pb;
     type = t;
     builderParent = parent;
     button.Parent = picBox;
     AssignedTo = assignedTo;
     ComingFrom = comingFrom;
 }