public DrawGenerationCurves()
        {
            InitializeComponent();
            CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());

            dc = pictureBox1.CreateGraphics();
        }
Example #2
0
        public DrawGraphicsTemperatures()
        {
            InitializeComponent();
            CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());

            this.graphics     = pictureBox1.CreateGraphics();
            this.stringFormat = new StringFormat();
        }
Example #3
0
        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];
        }
Example #4
0
        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());
        }
Example #6
0
        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());
        }
Example #8
0
 public DrawFigure3DAnimation()
 {
     InitializeComponent();
     CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());
 }
Example #9
0
 public DrawFigure3D()
 {
     InitializeComponent();
     helper = new Helper3d(pictureBox1, b);
     CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());
 }
Example #10
0
        public DrawCoordinateControl()
        {
            InitializeComponent();

            CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());
        }
Example #11
0
        public DrawStaticImage()
        {
            InitializeComponent();

            CustomizerFormElements.CustomButton(this.Controls.OfType <Button>().ToList());
        }