public DrawGenerationCurves() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); dc = pictureBox1.CreateGraphics(); }
public DrawGraphicsTemperatures() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); this.graphics = pictureBox1.CreateGraphics(); this.stringFormat = new StringFormat(); }
public DrawBLine() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); dc = pictureBox1.CreateGraphics(); p = new Pen(Brushes.Purple, 1); x = new double[MAX]; y = new double[MAX]; }
public DrawStatistics() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); this.Show(); // Создаем графический контекст формы Graphics g = this.CreateGraphics(); // Уничтожаем графический контест формы g.Dispose(); }
public DrawAnimateImage() { InitializeComponent(); DoubleBuffered = true; this.timer1.Tick += Timer1_Tick1; this.DrawArt.Click += DrawArt_Click1; this.pictureBox1.Paint += PictureBox1_Paint; CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }
public DrawRotate() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); _angles = new List <float>(); for (float i = 0; i < 180; i += (int)rNumericUpDown) { _angles.Add(i); } pictureBox1.Paint += PictureBox1_Paint; }
public DrawTextControl() { InitializeComponent(); this.startPoint = new Point(0, 0); this.baseWrites = new List <BaseWrite>(); this.textOutput = new TextOutput(pictureBox1); this.serializeText = new SerializeText($"{AppContext.BaseDirectory}data.xml"); if (File.Exists($"{AppContext.BaseDirectory}data.xml")) { this.baseWrites.AddRange(this.serializeText.Deserialize <BaseWrite[]>()); } CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }
public DrawFigure3DAnimation() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }
public DrawFigure3D() { InitializeComponent(); helper = new Helper3d(pictureBox1, b); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }
public DrawCoordinateControl() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }
public DrawStaticImage() { InitializeComponent(); CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList()); }