예제 #1
0
        protected GraphAdapter(Graph graph)
        {
            if (graph == null)
            {
                throw new ArgumentNullException("graph");
            }

            AttachedGraph = graph;
        }
        public XRangeMouseAdapter(Graph graph)
            : base(graph)
        {
            _menu = new ContextMenu();

            MenuItem confirm = new MenuItem("Confirm");
            confirm.Click += OnConfirmMenuClick;

            _menu.MenuItems.Add(confirm);
        }
예제 #3
0
        public FunctionList(Form owner, Graph graph)
            : base(owner)
        {
            InitializeComponent();

            _graph = graph;
            _graph.Calculator.FunctionSet += OnFunctionSet;

            listviewFunctions.Columns.Normalize();
        }
예제 #4
0
        public ArgumentList(Form owner, Graph graph)
            : base(owner)
        {
            InitializeComponent();

            _owner = owner;

            _graph = graph;
            _graph.Calculator.ArgumentSet += OnArgumentSet;

            listviewArguments.Columns.Normalize();
        }
예제 #5
0
        public PointList(Form owner, Graph graph)
            : base(owner)
        {
            InitializeComponent();

            _graph = graph;

            graph.ShowIntersectionsChanged += OnShowIntersectionsChanged;
            graph.ShowZerosChanged += OnShowZerosChanged;

            graph.IntersectionsCalculated += OnIntersectionsCalculated;
            graph.ZerosCalculated += OnZerosCalculated;

            _intersectionTab = new TabPage("Intersections");
            _intersectionLv = new ListView
            {
                Font = Font,
                Dock = DockStyle.Fill,
                FullRowSelect = true,
                GridLines = true,
                View = View.Details,
                Columns = { "Intersecting Lines", "X", "Y" },
                HeaderStyle = ColumnHeaderStyle.Nonclickable
            };

            _intersectionLv.Columns[1].TextAlign = HorizontalAlignment.Right;
            _intersectionLv.Columns[2].TextAlign = HorizontalAlignment.Right;

            _intersectionLv.SetDoubleBuffered(true);
            _intersectionLv.ItemSelectionChanged += OnItemSelectionChanged;
            _intersectionTab.Controls.Add(_intersectionLv);

            _zeroTab = new TabPage("Zeros");
            _zeroLv = new ListView
            {
                Font = Font,
                Dock = DockStyle.Fill,
                FullRowSelect = true,
                GridLines = true,
                View = View.Details,
                Columns = { "Line", "X" },
                HeaderStyle = ColumnHeaderStyle.Nonclickable
            };

            _zeroLv.Columns[1].TextAlign = HorizontalAlignment.Right;

            _zeroLv.SetDoubleBuffered(true);
            _zeroLv.ItemSelectionChanged += OnItemSelectionChanged;
            _zeroTab.Controls.Add(_zeroLv);
        }
        public ZoomMouseAdapter(Graph graph)
            : base(graph)
        {
            _menu = new ContextMenu();

            MenuItem zoomIn = new MenuItem("Zoom in");
            zoomIn.Click += (sender, e) => FireZoomEvent(ZoomType.ZoomIn);
            _menu.MenuItems.Add(zoomIn);

            MenuItem zoomOut = new MenuItem("Zoom out");
            zoomOut.Click += (sender, e) => FireZoomEvent(ZoomType.ZoomOut);
            _menu.MenuItems.Add(zoomOut);

            MenuItem cancel = new MenuItem("Cancel");
            cancel.Click += (sender, e) => ClearZoomRectangle();
            _menu.MenuItems.Add(cancel);
        }
 /// <summary>
 /// Initializes a new instance of the GraphDrawingHelper class.
 /// </summary>
 /// <param name="parent">The <see cref="Graph"/> instance to associate this helper with.</param>
 public GraphDrawingHelper(Graph parent)
     : base(parent)
 {
 }
예제 #8
0
 protected DrawingHelperBase(Graph parent)
 {
     Parent = parent;
 }
 public IntegralDrawingHelper(Graph parent)
     : base(parent)
 {
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.statusStrip = new System.Windows.Forms.StatusStrip();
     this.statuslblGraphSize = new System.Windows.Forms.ToolStripStatusLabel();
     this.statuslblExecutionTime = new System.Windows.Forms.ToolStripStatusLabel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.graph = new GraphingCalculator.Graph();
     this.expressionList = new GraphingCalculator.ExpressionList();
     this.menuStrip = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.menuExit = new System.Windows.Forms.ToolStripMenuItem();
     this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.menuFunctionList = new System.Windows.Forms.ToolStripMenuItem();
     this.menuArgList = new System.Windows.Forms.ToolStripMenuItem();
     this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.standardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.boxZoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.demosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.trigonometricTyphoonToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.polarFlowerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.parametricButterflyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalcValue = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalcZeros = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalculateMinimum = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalculateMaximum = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalcIntersections = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalculateDerivative = new System.Windows.Forms.ToolStripMenuItem();
     this.menuCalculateIntegral = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.menuTrackLineWithMouse = new System.Windows.Forms.ToolStripMenuItem();
     this.menuTrackDerivativeWithMouse = new System.Windows.Forms.ToolStripMenuItem();
     this.menuClearExpressions = new System.Windows.Forms.ToolStripMenuItem();
     this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.menuEnableWindowDragging = new System.Windows.Forms.ToolStripMenuItem();
     this.menuEnableLineSmoothing = new System.Windows.Forms.ToolStripMenuItem();
     this.menuEnableMultithreading = new System.Windows.Forms.ToolStripMenuItem();
     this.menuMaintainAspectRatio = new System.Windows.Forms.ToolStripMenuItem();
     this.menuEnableDynamicTickMarks = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.windowSettings = new GraphingCalculator.WindowSettings();
     this.statusStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.menuStrip.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // statusStrip
     //
     this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.statuslblGraphSize,
     this.statuslblExecutionTime});
     this.statusStrip.Location = new System.Drawing.Point(0, 497);
     this.statusStrip.Name = "statusStrip";
     this.statusStrip.Size = new System.Drawing.Size(616, 22);
     this.statusStrip.TabIndex = 7;
     this.statusStrip.Text = "statusStrip1";
     //
     // statuslblGraphSize
     //
     this.statuslblGraphSize.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Right;
     this.statuslblGraphSize.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.statuslblGraphSize.Name = "statuslblGraphSize";
     this.statuslblGraphSize.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
     this.statuslblGraphSize.Size = new System.Drawing.Size(101, 17);
     this.statuslblGraphSize.Text = "Graph size: 13x37";
     this.statuslblGraphSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // statuslblExecutionTime
     //
     this.statuslblExecutionTime.Name = "statuslblExecutionTime";
     this.statuslblExecutionTime.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.statuslblExecutionTime.Size = new System.Drawing.Size(118, 17);
     this.statuslblExecutionTime.Text = "Last execution time: --";
     this.statuslblExecutionTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // splitContainer1
     //
     this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
     this.splitContainer1.Location = new System.Drawing.Point(12, 27);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.graph);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.expressionList);
     this.splitContainer1.Panel2MinSize = 55;
     this.splitContainer1.Size = new System.Drawing.Size(402, 465);
     this.splitContainer1.SplitterDistance = 405;
     this.splitContainer1.TabIndex = 0;
     this.splitContainer1.TabStop = false;
     //
     // graph
     //
     this.graph.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.graph.EnableDynamicTickMarks = false;
     this.graph.Location = new System.Drawing.Point(0, 0);
     this.graph.Name = "graph";
     this.graph.Resolution = 1D;
     this.graph.Size = new System.Drawing.Size(402, 402);
     this.graph.TabIndex = 0;
     this.graph.TabStop = false;
     this.graph.Resize += new System.EventHandler(this.OnGraphResize);
     //
     // expressionList
     //
     this.expressionList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.expressionList.Location = new System.Drawing.Point(0, 0);
     this.expressionList.Name = "expressionList";
     this.expressionList.Size = new System.Drawing.Size(402, 56);
     this.expressionList.TabIndex = 0;
     this.expressionList.ExpressionModified += new System.EventHandler<GraphingCalculator.ExpressionModifiedEventArgs>(this.OnExpressionModified);
     //
     // menuStrip
     //
     this.menuStrip.BackColor = System.Drawing.SystemColors.Control;
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.fileToolStripMenuItem,
     this.windowToolStripMenuItem,
     this.zoomToolStripMenuItem,
     this.demosToolStripMenuItem,
     this.toolsToolStripMenuItem,
     this.optionsToolStripMenuItem,
     this.helpToolStripMenuItem});
     this.menuStrip.Location = new System.Drawing.Point(0, 0);
     this.menuStrip.Name = "menuStrip";
     this.menuStrip.Size = new System.Drawing.Size(616, 24);
     this.menuStrip.TabIndex = 9;
     this.menuStrip.Text = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.menuExit});
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
     this.fileToolStripMenuItem.Text = "File";
     //
     // menuExit
     //
     this.menuExit.Name = "menuExit";
     this.menuExit.Size = new System.Drawing.Size(103, 22);
     this.menuExit.Text = "Exit";
     //
     // windowToolStripMenuItem
     //
     this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.menuFunctionList,
     this.menuArgList});
     this.windowToolStripMenuItem.Name = "windowToolStripMenuItem";
     this.windowToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
     this.windowToolStripMenuItem.Text = "View";
     //
     // menuFunctionList
     //
     this.menuFunctionList.Name = "menuFunctionList";
     this.menuFunctionList.Size = new System.Drawing.Size(142, 22);
     this.menuFunctionList.Text = "Function list";
     //
     // menuArgList
     //
     this.menuArgList.Name = "menuArgList";
     this.menuArgList.Size = new System.Drawing.Size(142, 22);
     this.menuArgList.Text = "Variable list";
     //
     // zoomToolStripMenuItem
     //
     this.zoomToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.standardToolStripMenuItem,
     this.boxZoomToolStripMenuItem});
     this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem";
     this.zoomToolStripMenuItem.Size = new System.Drawing.Size(45, 20);
     this.zoomToolStripMenuItem.Text = "Zoom";
     //
     // standardToolStripMenuItem
     //
     this.standardToolStripMenuItem.Name = "standardToolStripMenuItem";
     this.standardToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
     this.standardToolStripMenuItem.Text = "Standard";
     this.standardToolStripMenuItem.Click += new System.EventHandler(this.OnZoomStandardClick);
     //
     // boxZoomToolStripMenuItem
     //
     this.boxZoomToolStripMenuItem.Name = "boxZoomToolStripMenuItem";
     this.boxZoomToolStripMenuItem.Size = new System.Drawing.Size(133, 22);
     this.boxZoomToolStripMenuItem.Text = "Box-Zoom";
     this.boxZoomToolStripMenuItem.Click += new System.EventHandler(this.OnBoxZoomClick);
     //
     // demosToolStripMenuItem
     //
     this.demosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.trigonometricTyphoonToolStripMenuItem,
     this.polarFlowerToolStripMenuItem,
     this.parametricButterflyToolStripMenuItem});
     this.demosToolStripMenuItem.Name = "demosToolStripMenuItem";
     this.demosToolStripMenuItem.Size = new System.Drawing.Size(51, 20);
     this.demosToolStripMenuItem.Text = "Demos";
     //
     // trigonometricTyphoonToolStripMenuItem
     //
     this.trigonometricTyphoonToolStripMenuItem.Name = "trigonometricTyphoonToolStripMenuItem";
     this.trigonometricTyphoonToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
     this.trigonometricTyphoonToolStripMenuItem.Text = "Trigonometric Typhoon";
     this.trigonometricTyphoonToolStripMenuItem.Click += new System.EventHandler(this.OnTrigonometricTyphoonDemoClick);
     //
     // polarFlowerToolStripMenuItem
     //
     this.polarFlowerToolStripMenuItem.Name = "polarFlowerToolStripMenuItem";
     this.polarFlowerToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
     this.polarFlowerToolStripMenuItem.Text = "Polar Flower";
     this.polarFlowerToolStripMenuItem.Click += new System.EventHandler(this.OnPolarFlowerDemoClick);
     //
     // parametricButterflyToolStripMenuItem
     //
     this.parametricButterflyToolStripMenuItem.Name = "parametricButterflyToolStripMenuItem";
     this.parametricButterflyToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
     this.parametricButterflyToolStripMenuItem.Text = "Parametric Butterfly";
     this.parametricButterflyToolStripMenuItem.Click += new System.EventHandler(this.OnParametricButterflyDemoClick);
     //
     // toolsToolStripMenuItem
     //
     this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.menuCalcValue,
     this.menuCalcZeros,
     this.menuCalculateMinimum,
     this.menuCalculateMaximum,
     this.menuCalcIntersections,
     this.menuCalculateDerivative,
     this.menuCalculateIntegral,
     this.toolStripSeparator1,
     this.menuTrackLineWithMouse,
     this.menuTrackDerivativeWithMouse,
     this.menuClearExpressions});
     this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
     this.toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     this.toolsToolStripMenuItem.Text = " Tools";
     //
     // menuCalcValue
     //
     this.menuCalcValue.Name = "menuCalcValue";
     this.menuCalcValue.Size = new System.Drawing.Size(219, 22);
     this.menuCalcValue.Text = "Calculate value";
     this.menuCalcValue.Click += new System.EventHandler(this.OnCalculateValueClick);
     //
     // menuCalcZeros
     //
     this.menuCalcZeros.CheckOnClick = true;
     this.menuCalcZeros.Name = "menuCalcZeros";
     this.menuCalcZeros.Size = new System.Drawing.Size(219, 22);
     this.menuCalcZeros.Text = "Calculate zeros";
     //
     // menuCalculateMinimum
     //
     this.menuCalculateMinimum.Name = "menuCalculateMinimum";
     this.menuCalculateMinimum.Size = new System.Drawing.Size(219, 22);
     this.menuCalculateMinimum.Text = "Calculate minimum";
     this.menuCalculateMinimum.Click += new System.EventHandler(this.OnCalculateMinOrMaxClick);
     //
     // menuCalculateMaximum
     //
     this.menuCalculateMaximum.Name = "menuCalculateMaximum";
     this.menuCalculateMaximum.Size = new System.Drawing.Size(219, 22);
     this.menuCalculateMaximum.Text = "Calculate maximum";
     this.menuCalculateMaximum.Click += new System.EventHandler(this.OnCalculateMinOrMaxClick);
     //
     // menuCalcIntersections
     //
     this.menuCalcIntersections.CheckOnClick = true;
     this.menuCalcIntersections.Name = "menuCalcIntersections";
     this.menuCalcIntersections.Size = new System.Drawing.Size(219, 22);
     this.menuCalcIntersections.Text = "Calculate intersections";
     //
     // menuCalculateDerivative
     //
     this.menuCalculateDerivative.Name = "menuCalculateDerivative";
     this.menuCalculateDerivative.Size = new System.Drawing.Size(219, 22);
     this.menuCalculateDerivative.Text = "Calculate derivative";
     this.menuCalculateDerivative.Click += new System.EventHandler(this.OnCalculateDerivativeClick);
     //
     // menuCalculateIntegral
     //
     this.menuCalculateIntegral.Name = "menuCalculateIntegral";
     this.menuCalculateIntegral.Size = new System.Drawing.Size(219, 22);
     this.menuCalculateIntegral.Text = "Calculate integral";
     this.menuCalculateIntegral.Click += new System.EventHandler(this.OnCalculateIntegralClick);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(216, 6);
     //
     // menuTrackLineWithMouse
     //
     this.menuTrackLineWithMouse.Enabled = false;
     this.menuTrackLineWithMouse.Name = "menuTrackLineWithMouse";
     this.menuTrackLineWithMouse.Size = new System.Drawing.Size(219, 22);
     this.menuTrackLineWithMouse.Text = "Track value with mouse";
     //
     // menuTrackDerivativeWithMouse
     //
     this.menuTrackDerivativeWithMouse.Enabled = false;
     this.menuTrackDerivativeWithMouse.Name = "menuTrackDerivativeWithMouse";
     this.menuTrackDerivativeWithMouse.Size = new System.Drawing.Size(219, 22);
     this.menuTrackDerivativeWithMouse.Text = "Track derivative with mouse";
     //
     // menuClearExpressions
     //
     this.menuClearExpressions.Name = "menuClearExpressions";
     this.menuClearExpressions.Size = new System.Drawing.Size(219, 22);
     this.menuClearExpressions.Text = "Clear expressions";
     //
     // optionsToolStripMenuItem
     //
     this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.menuEnableWindowDragging,
     this.menuEnableLineSmoothing,
     this.menuEnableMultithreading,
     this.menuMaintainAspectRatio,
     this.menuEnableDynamicTickMarks});
     this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
     this.optionsToolStripMenuItem.Size = new System.Drawing.Size(56, 20);
     this.optionsToolStripMenuItem.Text = "Options";
     //
     // menuEnableWindowDragging
     //
     this.menuEnableWindowDragging.CheckOnClick = true;
     this.menuEnableWindowDragging.Name = "menuEnableWindowDragging";
     this.menuEnableWindowDragging.Size = new System.Drawing.Size(209, 22);
     this.menuEnableWindowDragging.Text = "Enable window dragging";
     //
     // menuEnableLineSmoothing
     //
     this.menuEnableLineSmoothing.CheckOnClick = true;
     this.menuEnableLineSmoothing.Name = "menuEnableLineSmoothing";
     this.menuEnableLineSmoothing.Size = new System.Drawing.Size(209, 22);
     this.menuEnableLineSmoothing.Text = "Enable line smoothing";
     //
     // menuEnableMultithreading
     //
     this.menuEnableMultithreading.CheckOnClick = true;
     this.menuEnableMultithreading.Name = "menuEnableMultithreading";
     this.menuEnableMultithreading.Size = new System.Drawing.Size(209, 22);
     this.menuEnableMultithreading.Text = "Enable multithreading";
     //
     // menuMaintainAspectRatio
     //
     this.menuMaintainAspectRatio.CheckOnClick = true;
     this.menuMaintainAspectRatio.Name = "menuMaintainAspectRatio";
     this.menuMaintainAspectRatio.Size = new System.Drawing.Size(209, 22);
     this.menuMaintainAspectRatio.Text = "Maintain aspect ratio";
     //
     // menuEnableDynamicTickMarks
     //
     this.menuEnableDynamicTickMarks.CheckOnClick = true;
     this.menuEnableDynamicTickMarks.Name = "menuEnableDynamicTickMarks";
     this.menuEnableDynamicTickMarks.Size = new System.Drawing.Size(209, 22);
     this.menuEnableDynamicTickMarks.Text = "Enable dynamic tick marks";
     //
     // helpToolStripMenuItem
     //
     this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.aboutToolStripMenuItem});
     this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     this.helpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
     this.helpToolStripMenuItem.Text = "Help";
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size = new System.Drawing.Size(114, 22);
     this.aboutToolStripMenuItem.Text = "About";
     this.aboutToolStripMenuItem.Click += new System.EventHandler(this.OnAboutClick);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.windowSettings);
     this.groupBox1.Location = new System.Drawing.Point(420, 27);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(184, 311);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Window Settings";
     //
     // windowSettings
     //
     this.windowSettings.AutoSize = true;
     this.windowSettings.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.windowSettings.Dock = System.Windows.Forms.DockStyle.Fill;
     this.windowSettings.Location = new System.Drawing.Point(3, 17);
     this.windowSettings.MaximumX = 10D;
     this.windowSettings.MaximumY = 10D;
     this.windowSettings.MinimumX = -10D;
     this.windowSettings.MinimumY = -10D;
     this.windowSettings.Name = "windowSettings";
     this.windowSettings.ParametricEnd = 6.28318530717959D;
     this.windowSettings.ParametricIncrement = 0.0174532925199433D;
     this.windowSettings.ParametricStart = 0D;
     this.windowSettings.PolarEnd = 6.28318530717959D;
     this.windowSettings.PolarIncrement = 0.0174532925199433D;
     this.windowSettings.PolarStart = 0D;
     this.windowSettings.Resolution = 1D;
     this.windowSettings.Size = new System.Drawing.Size(178, 291);
     this.windowSettings.TabIndex = 0;
     //
     // MainWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(616, 519);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.statusStrip);
     this.Controls.Add(this.menuStrip);
     this.Controls.Add(this.groupBox1);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MainMenuStrip = this.menuStrip;
     this.MinimumSize = new System.Drawing.Size(482, 407);
     this.Name = "MainWindow";
     this.Text = "BoCalc (Bobo Industries)";
     this.statusStrip.ResumeLayout(false);
     this.statusStrip.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.menuStrip.ResumeLayout(false);
     this.menuStrip.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 public DraggingMouseAdapter(Graph graph)
     : base(graph)
 {
 }