Ejemplo n.º 1
0
        private void GraphicsPanel_Resize(object sender, EventArgs e)
        {
            graphics?.Dispose();
            graphics = GraphicsPanel.CreateGraphics();

            if (autoUpdate)
            {
                GraphicsPanel.Refresh();
            }
        }
Ejemplo n.º 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            UpdateHyperboloid();

            autoUpdate = AutoUpdateBox.Checked;
            AutoUpdateBox_CheckedChanged(this, null);

            graphics = GraphicsPanel.CreateGraphics();
            SmoothBox_CheckedChanged(this, null);

            AddToChartButton_Click(this, null);
        }