public OperatorsForm(string OpName, BuilderForm bf) { this.BuilderParent = bf; this.MdiParent = bf; InitializeComponent(); Fill_OperatorBox_Properties(OpName); this.Show(); this.BringToFront(); }
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(); }
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; }