public MandelbrotForm() { this.SuspendLayout(); LabeledInputBox.OFFSET = 10; LabeledInputBox.LABEL_WIDTH = 65; Mid_X = new InputBox <float>(this, "x", "X Mid:", 0); Mid_Y = new InputBox <float>(this, "y", "Y Mid:", 0); Scalar = new InputBox <float>(this, "scale", "Scale:", 1); Max = new InputBox <int> (this, "max", "Max:", 100); Color_True = new ColorBox(this, "true", "Inner Color:", KnownColor.White); Color_False = new ColorBox(this, "false", "Outer Color:", KnownColor.Black); Zoom = new BoolBox(this, "zoom", "Zooming:", true); picture = new PictureBox(); picture.Name = "picture"; picture.Location = new Point( Program.Max(Mid_X.box.Right, Mid_Y.box.Right, Scalar.box.Right, Max.box.Right, Color_True.box.Right, Color_False.box.Right, Zoom.box.Right) + LabeledInputBox.OFFSET, LabeledInputBox.OFFSET); picture.MouseClick += new MouseEventHandler(this.picture_click); Controls.Add(picture); this.Name = "Mandelbrot"; this.Text = "MandelBrot"; this.ClientSize = new Size(picture.Left + Zoom.box.Bottom, picture.Top + Zoom.box.Bottom); this.MinimumSize = this.Size; this.ResizeEnd += (o, e) => AfterResize(); this.Shown += (o, e) => AfterResize(); this.ResumeLayout(true); this.PerformLayout(); }
internal R(BoolBox value, bool viewNegated) { this.value = value; this.viewNegated = viewNegated; }
public R() { value = new BoolBox(false); viewNegated = true; }
public Q() { value = new BoolBox(false); viewNegated = false; }
internal S(BoolBox value) { this.value = value; }
private R(BoolBox value, bool setNegated) { this.value = value; this.setNegated = setNegated; }