private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DynoForm)); this.groupControl = new System.Windows.Forms.GroupBox(); this.btnReset = new System.Windows.Forms.Button(); this.btnStart = new System.Windows.Forms.Button(); this.groupChart = new System.Windows.Forms.GroupBox(); this.btnSave = new System.Windows.Forms.Button(); this.btnOpen = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.groupGraph = new System.Windows.Forms.GroupBox(); this.dyno = new DGChart.DynoControl(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.groupExport = new System.Windows.Forms.GroupBox(); this.btnExportJPEG = new System.Windows.Forms.Button(); this.groupSetup = new System.Windows.Forms.GroupBox(); this.numToRPM = new System.Windows.Forms.NumericUpDown(); this.numFromRPM = new System.Windows.Forms.NumericUpDown(); this.lblToRPM = new System.Windows.Forms.Label(); this.lblFromRPM = new System.Windows.Forms.Label(); this.groupControl.SuspendLayout(); this.groupChart.SuspendLayout(); this.groupGraph.SuspendLayout(); this.groupExport.SuspendLayout(); this.groupSetup.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numToRPM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numFromRPM)).BeginInit(); this.SuspendLayout(); // // groupControl // this.groupControl.Controls.Add(this.btnReset); this.groupControl.Controls.Add(this.btnStart); this.groupControl.Location = new System.Drawing.Point(10, 105); this.groupControl.Name = "groupControl"; this.groupControl.Size = new System.Drawing.Size(150, 90); this.groupControl.TabIndex = 0; this.groupControl.TabStop = false; this.groupControl.Text = "Control"; // // btnReset // this.btnReset.Location = new System.Drawing.Point(10, 55); this.btnReset.Name = "btnReset"; this.btnReset.Size = new System.Drawing.Size(130, 25); this.btnReset.TabIndex = 8; this.btnReset.Text = "&Reset"; this.btnReset.Click += new System.EventHandler(this.btnReset_Click); // // btnStart // this.btnStart.Location = new System.Drawing.Point(10, 20); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(130, 25); this.btnStart.TabIndex = 7; this.btnStart.Text = "&Begin Dyno Pull"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // groupChart // this.groupChart.Controls.Add(this.btnSave); this.groupChart.Controls.Add(this.btnOpen); this.groupChart.Controls.Add(this.btnPrint); this.groupChart.Location = new System.Drawing.Point(10, 205); this.groupChart.Name = "groupChart"; this.groupChart.Size = new System.Drawing.Size(150, 125); this.groupChart.TabIndex = 2; this.groupChart.TabStop = false; this.groupChart.Text = "Chart"; // // btnSave // this.btnSave.Location = new System.Drawing.Point(10, 20); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(130, 25); this.btnSave.TabIndex = 5; this.btnSave.Text = "&Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnOpen // this.btnOpen.Location = new System.Drawing.Point(10, 55); this.btnOpen.Name = "btnOpen"; this.btnOpen.Size = new System.Drawing.Size(130, 25); this.btnOpen.TabIndex = 6; this.btnOpen.Text = "&Open"; this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(10, 90); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(130, 25); this.btnPrint.TabIndex = 7; this.btnPrint.Text = "&Print"; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // groupGraph // this.groupGraph.Controls.Add(this.dyno); this.groupGraph.Location = new System.Drawing.Point(170, 10); this.groupGraph.Name = "groupGraph"; this.groupGraph.Size = new System.Drawing.Size(446, 422); this.groupGraph.TabIndex = 4; this.groupGraph.TabStop = false; // // dyno // this.dyno.BorderLeft = 35; this.dyno.BorderRight = 20; this.dyno.BorderTop = 20; this.dyno.ColorAxis = System.Drawing.Color.Black; this.dyno.ColorBg = System.Drawing.Color.White; this.dyno.ColorGrid = System.Drawing.Color.LightGray; this.dyno.ColorSet1 = System.Drawing.Color.DarkBlue; this.dyno.ColorSet2 = System.Drawing.Color.Red; this.dyno.ColorSet3 = System.Drawing.Color.Lime; this.dyno.ColorSet4 = System.Drawing.Color.Gold; this.dyno.ColorSet5 = System.Drawing.Color.Magenta; this.dyno.DrawMode = DGChart.DynoControl.DrawModeType.Line; this.dyno.FontAxis = new System.Drawing.Font("Arial", 8F); this.dyno.Label = "0"; this.dyno.Location = new System.Drawing.Point(2, 6); this.dyno.Logo = null; this.dyno.Name = "dyno"; this.dyno.ShowData1 = true; this.dyno.ShowData2 = false; this.dyno.ShowData3 = false; this.dyno.ShowData4 = false; this.dyno.ShowData5 = false; this.dyno.Size = new System.Drawing.Size(442, 417); this.dyno.TabIndex = 0; this.dyno.XData1 = null; this.dyno.XData2 = null; this.dyno.XData3 = null; this.dyno.XData4 = null; this.dyno.XData5 = null; this.dyno.XGrid = 0.5D; this.dyno.XRangeEnd = 6.5D; this.dyno.XRangeStart = 2D; this.dyno.YData1 = null; this.dyno.YData2 = null; this.dyno.YData3 = null; this.dyno.YData4 = null; this.dyno.YData5 = null; this.dyno.YGrid = 50D; this.dyno.YRangeEnd = 200D; this.dyno.YRangeStart = 0D; // // printDialog1 // this.printDialog1.Document = this.printDocument1; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Document = this.printDocument1; this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // pageSetupDialog1 // this.pageSetupDialog1.Document = this.printDocument1; // // groupExport // this.groupExport.Controls.Add(this.btnExportJPEG); this.groupExport.Location = new System.Drawing.Point(10, 340); this.groupExport.Name = "groupExport"; this.groupExport.Size = new System.Drawing.Size(150, 55); this.groupExport.TabIndex = 5; this.groupExport.TabStop = false; this.groupExport.Text = "Export"; // // btnExportJPEG // this.btnExportJPEG.Location = new System.Drawing.Point(10, 20); this.btnExportJPEG.Name = "btnExportJPEG"; this.btnExportJPEG.Size = new System.Drawing.Size(130, 25); this.btnExportJPEG.TabIndex = 6; this.btnExportJPEG.Text = "&JPEG"; this.btnExportJPEG.Click += new System.EventHandler(this.btnExportJPEG_Click); // // groupSetup // this.groupSetup.Controls.Add(this.numToRPM); this.groupSetup.Controls.Add(this.numFromRPM); this.groupSetup.Controls.Add(this.lblToRPM); this.groupSetup.Controls.Add(this.lblFromRPM); this.groupSetup.Location = new System.Drawing.Point(10, 15); this.groupSetup.Name = "groupSetup"; this.groupSetup.Size = new System.Drawing.Size(150, 80); this.groupSetup.TabIndex = 6; this.groupSetup.TabStop = false; this.groupSetup.Text = "Setup"; // // numToRPM // this.numToRPM.Increment = new decimal(new int[] { 500, 0, 0, 0 }); this.numToRPM.Location = new System.Drawing.Point(80, 44); this.numToRPM.Maximum = new decimal(new int[] { 16000, 0, 0, 0 }); this.numToRPM.Minimum = new decimal(new int[] { 3000, 0, 0, 0 }); this.numToRPM.Name = "numToRPM"; this.numToRPM.ReadOnly = true; this.numToRPM.Size = new System.Drawing.Size(60, 20); this.numToRPM.TabIndex = 7; this.numToRPM.Value = new decimal(new int[] { 6500, 0, 0, 0 }); this.numToRPM.ValueChanged += new System.EventHandler(this.numToRPM_ValueChanged); // // numFromRPM // this.numFromRPM.Increment = new decimal(new int[] { 500, 0, 0, 0 }); this.numFromRPM.Location = new System.Drawing.Point(80, 20); this.numFromRPM.Maximum = new decimal(new int[] { 5500, 0, 0, 0 }); this.numFromRPM.Minimum = new decimal(new int[] { 1000, 0, 0, 0 }); this.numFromRPM.Name = "numFromRPM"; this.numFromRPM.ReadOnly = true; this.numFromRPM.Size = new System.Drawing.Size(60, 20); this.numFromRPM.TabIndex = 6; this.numFromRPM.Value = new decimal(new int[] { 2000, 0, 0, 0 }); this.numFromRPM.ValueChanged += new System.EventHandler(this.numFromRPM_ValueChanged); // // lblToRPM // this.lblToRPM.Location = new System.Drawing.Point(10, 44); this.lblToRPM.Name = "lblToRPM"; this.lblToRPM.Size = new System.Drawing.Size(70, 20); this.lblToRPM.TabIndex = 4; this.lblToRPM.Text = "&To RPM:"; this.lblToRPM.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblFromRPM // this.lblFromRPM.Location = new System.Drawing.Point(10, 20); this.lblFromRPM.Name = "lblFromRPM"; this.lblFromRPM.Size = new System.Drawing.Size(70, 20); this.lblFromRPM.TabIndex = 2; this.lblFromRPM.Text = "&From RPM:"; this.lblFromRPM.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // DynoForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(632, 446); this.ControlBox = false; this.Controls.Add(this.groupSetup); this.Controls.Add(this.groupExport); this.Controls.Add(this.groupGraph); this.Controls.Add(this.groupChart); this.Controls.Add(this.groupControl); this.Name = "DynoForm"; this.Text = "Dynamometer"; this.Activated += new System.EventHandler(this.DynoForm_Activated); this.Closing += new System.ComponentModel.CancelEventHandler(this.DynoForm_Closing); this.Resize += new System.EventHandler(this.DynoForm_Resize); this.groupControl.ResumeLayout(false); this.groupChart.ResumeLayout(false); this.groupGraph.ResumeLayout(false); this.groupExport.ResumeLayout(false); this.groupSetup.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numToRPM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numFromRPM)).EndInit(); this.ResumeLayout(false); }