Esempio n. 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var penProvider1             = new PNNL.Controls.PenProvider();
            var penProvider2             = new PNNL.Controls.PenProvider();
            var resources                = new System.Resources.ResourceManager(typeof(frmTICViewer));
            var penProvider3             = new PNNL.Controls.PenProvider();
            var penProvider4             = new PNNL.Controls.PenProvider();
            var configurationAppSettings = new System.Configuration.AppSettingsReader();

            this.mctl_bpi = new PNNL.Controls.ctlLineChart();
            this.mctl_tic = new PNNL.Controls.ctlLineChart();
            ((System.ComponentModel.ISupportInitialize)(this.mctl_bpi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mctl_tic)).BeginInit();
            this.SuspendLayout();
            //
            // mctl_bpi
            //
            this.mctl_bpi.AutoViewPortOnAddition       = true;
            this.mctl_bpi.AutoViewPortOnSeriesChange   = true;
            this.mctl_bpi.AutoViewPortXBase            = 0F;
            this.mctl_bpi.AutoViewPortYAxis            = true;
            this.mctl_bpi.AutoViewPortYBase            = 0F;
            this.mctl_bpi.AxisAndLabelFont             = new System.Drawing.Font("Microsoft Sans Serif", 8F);
            this.mctl_bpi.AxisAndLabelMaxFontSize      = 12;
            this.mctl_bpi.AxisAndLabelMinFontSize      = 8;
            this.mctl_bpi.ChartBackgroundColor         = System.Drawing.Color.White;
            this.mctl_bpi.ChartLayout.LegendFraction   = 0.2F;
            this.mctl_bpi.ChartLayout.LegendLocation   = PNNL.Controls.ChartLegendLocation.Right;
            this.mctl_bpi.ChartLayout.MaxLegendHeight  = 150;
            this.mctl_bpi.ChartLayout.MaxLegendWidth   = 250;
            this.mctl_bpi.ChartLayout.MaxTitleHeight   = 50;
            this.mctl_bpi.ChartLayout.MinLegendHeight  = 50;
            this.mctl_bpi.ChartLayout.MinLegendWidth   = 75;
            this.mctl_bpi.ChartLayout.MinTitleHeight   = 15;
            this.mctl_bpi.ChartLayout.TitleFraction    = 0.1F;
            this.mctl_bpi.DefaultZoomHandler.Active    = true;
            this.mctl_bpi.DefaultZoomHandler.FillColor = System.Drawing.Color.FromArgb(((System.Byte)(60)), ((System.Byte)(119)), ((System.Byte)(136)), ((System.Byte)(153)));
            this.mctl_bpi.DefaultZoomHandler.LineColor = System.Drawing.Color.Black;
            penProvider1.Color                          = System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(211)), ((System.Byte)(211)));
            penProvider1.Width                          = 1F;
            this.mctl_bpi.GridLinePen                   = penProvider1;
            this.mctl_bpi.HasLegend                     = false;
            this.mctl_bpi.HilightColor                  = System.Drawing.Color.Magenta;
            this.mctl_bpi.LabelOffset                   = 5F;
            this.mctl_bpi.Legend.BackColor              = System.Drawing.Color.Transparent;
            penProvider2.Color                          = System.Drawing.Color.Black;
            penProvider2.Width                          = 1F;
            this.mctl_bpi.Legend.BorderPen              = penProvider2;
            this.mctl_bpi.Legend.Bounds                 = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.mctl_bpi.Legend.ColumnWidth            = 125;
            this.mctl_bpi.Legend.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.mctl_bpi.Legend.MaxFontSize            = 12F;
            this.mctl_bpi.Legend.MinFontSize            = 6F;
            this.mctl_bpi.Location                      = new System.Drawing.Point(24, 296);
            this.mctl_bpi.Margins.BottomMarginFraction  = 0.1F;
            this.mctl_bpi.Margins.BottomMarginMax       = 72;
            this.mctl_bpi.Margins.BottomMarginMin       = 30;
            this.mctl_bpi.Margins.DefaultMarginFraction = 0.05F;
            this.mctl_bpi.Margins.DefaultMarginMax      = 15;
            this.mctl_bpi.Margins.DefaultMarginMin      = 5;
            this.mctl_bpi.Margins.LeftMarginFraction    = 0.2F;
            this.mctl_bpi.Margins.LeftMarginMax         = 150;
            this.mctl_bpi.Margins.LeftMarginMin         = 72;
            this.mctl_bpi.Name                          = "mctl_bpi";
            this.mctl_bpi.NumXBins                      = 20;
            this.mctl_bpi.PanWithArrowKeys              = false;
            this.mctl_bpi.Size                          = new System.Drawing.Size(600, 272);
            this.mctl_bpi.TabIndex                      = 0;
            this.mctl_bpi.Title                         = "";
            this.mctl_bpi.TitleFont                     = new System.Drawing.Font("Microsoft Sans Serif", 22F);
            this.mctl_bpi.TitleMaxFontSize              = 50F;
            this.mctl_bpi.TitleMinFontSize              = 6F;
            this.mctl_bpi.UseAutoViewPortYBase          = true;
            this.mctl_bpi.VerticalExpansion             = 1.15F;
            this.mctl_bpi.ViewPort                      = ((System.Drawing.RectangleF)(resources.GetObject("mctl_bpi.ViewPort")));
            this.mctl_bpi.XAxisLabel                    = "Scan Number";
            this.mctl_bpi.YAxisLabel                    = "Base Peak Intensity";
            //
            // mctl_tic
            //
            this.mctl_tic.AutoViewPortOnAddition     = true;
            this.mctl_tic.AutoViewPortOnSeriesChange = true;
            this.mctl_tic.AutoViewPortXBase          = 0F;
            this.mctl_tic.AutoViewPortYAxis          = true;
            this.mctl_tic.AutoViewPortYBase          = 0F;
            this.mctl_tic.AxisAndLabelFont           = new System.Drawing.Font("Microsoft Sans Serif", 8F);
            this.mctl_tic.AxisAndLabelMaxFontSize    = 12;
            this.mctl_tic.AxisAndLabelMinFontSize    = 8;
            this.mctl_tic.BackColor                    = System.Drawing.Color.WhiteSmoke;
            this.mctl_tic.ChartBackgroundColor         = System.Drawing.Color.White;
            this.mctl_tic.ChartLayout.LegendFraction   = 0.2F;
            this.mctl_tic.ChartLayout.LegendLocation   = PNNL.Controls.ChartLegendLocation.Right;
            this.mctl_tic.ChartLayout.MaxLegendHeight  = 150;
            this.mctl_tic.ChartLayout.MaxLegendWidth   = 250;
            this.mctl_tic.ChartLayout.MaxTitleHeight   = 50;
            this.mctl_tic.ChartLayout.MinLegendHeight  = 50;
            this.mctl_tic.ChartLayout.MinLegendWidth   = 75;
            this.mctl_tic.ChartLayout.MinTitleHeight   = 15;
            this.mctl_tic.ChartLayout.TitleFraction    = 0.1F;
            this.mctl_tic.DefaultZoomHandler.Active    = true;
            this.mctl_tic.DefaultZoomHandler.FillColor = System.Drawing.Color.FromArgb(((System.Byte)(60)), ((System.Byte)(119)), ((System.Byte)(136)), ((System.Byte)(153)));
            this.mctl_tic.DefaultZoomHandler.LineColor = System.Drawing.Color.Black;
            penProvider3.Color                          = System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(211)), ((System.Byte)(211)));
            penProvider3.Width                          = 1F;
            this.mctl_tic.GridLinePen                   = penProvider3;
            this.mctl_tic.HasLegend                     = false;
            this.mctl_tic.HilightColor                  = System.Drawing.Color.Magenta;
            this.mctl_tic.LabelOffset                   = 5F;
            this.mctl_tic.Legend.BackColor              = System.Drawing.Color.Transparent;
            penProvider4.Color                          = System.Drawing.Color.Black;
            penProvider4.Width                          = 1F;
            this.mctl_tic.Legend.BorderPen              = penProvider4;
            this.mctl_tic.Legend.Bounds                 = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.mctl_tic.Legend.ColumnWidth            = 125;
            this.mctl_tic.Legend.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.mctl_tic.Legend.MaxFontSize            = 12F;
            this.mctl_tic.Legend.MinFontSize            = 6F;
            this.mctl_tic.Location                      = new System.Drawing.Point(32, 16);
            this.mctl_tic.Margins.BottomMarginFraction  = 0.1F;
            this.mctl_tic.Margins.BottomMarginMax       = 72;
            this.mctl_tic.Margins.BottomMarginMin       = 30;
            this.mctl_tic.Margins.DefaultMarginFraction = 0.05F;
            this.mctl_tic.Margins.DefaultMarginMax      = 15;
            this.mctl_tic.Margins.DefaultMarginMin      = 5;
            this.mctl_tic.Margins.LeftMarginFraction    = 0.2F;
            this.mctl_tic.Margins.LeftMarginMax         = 150;
            this.mctl_tic.Margins.LeftMarginMin         = 72;
            this.mctl_tic.Name                          = "mctl_tic";
            this.mctl_tic.NumXBins                      = 20;
            this.mctl_tic.PanWithArrowKeys              = false;
            this.mctl_tic.Size                          = new System.Drawing.Size(592, 248);
            this.mctl_tic.TabIndex                      = 0;
            this.mctl_tic.Title                         = "";
            this.mctl_tic.TitleFont                     = new System.Drawing.Font("Microsoft Sans Serif", 22F);
            this.mctl_tic.TitleMaxFontSize              = 50F;
            this.mctl_tic.TitleMinFontSize              = 6F;
            this.mctl_tic.UseAutoViewPortYBase          = true;
            this.mctl_tic.VerticalExpansion             = 1.15F;
            this.mctl_tic.ViewPort                      = ((System.Drawing.RectangleF)(resources.GetObject("mctl_tic.ViewPort")));
            this.mctl_tic.XAxisLabel                    = "Scan Number";
            this.mctl_tic.YAxisLabel                    = "Total Intensity";
            //
            // frmTICViewer
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.Color.WhiteSmoke;
            this.ClientSize        = new System.Drawing.Size(792, 566);
            this.Controls.Add(this.mctl_tic);
            this.Controls.Add(this.mctl_bpi);
            this.IsMdiContainer = ((bool)(configurationAppSettings.GetValue("frmSpectra.IsMdiContainer", typeof(bool))));
            this.Name           = "frmTICViewer";
            this.Text           = "TICViewer";
            this.Resize        += new System.EventHandler(this.frmTICViewer_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.mctl_bpi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mctl_tic)).EndInit();
            this.ResumeLayout(false);
        }
Esempio n. 2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            var penProvider1             = new PNNL.Controls.PenProvider();
            var penProvider2             = new PNNL.Controls.PenProvider();
            var resources                = new System.Resources.ResourceManager(typeof(frmSpectra));
            var configurationAppSettings = new System.Configuration.AppSettingsReader();

            this.mctl_tic           = new PNNL.Controls.ctlLineChart();
            this.mimg_list_toolbar  = new System.Windows.Forms.ImageList(this.components);
            this.mStatusTimer       = new System.Windows.Forms.Timer(this.components);
            this.btnCopytoClipboard = new System.Windows.Forms.Button();
            this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
            this.groupBox1          = new System.Windows.Forms.GroupBox();
            this.panel1             = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.mctl_tic)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // mctl_tic
            //
            this.mctl_tic.AutoViewPortOnAddition     = true;
            this.mctl_tic.AutoViewPortOnSeriesChange = true;
            this.mctl_tic.AutoViewPortXBase          = 0F;
            this.mctl_tic.AutoViewPortYAxis          = true;
            this.mctl_tic.AutoViewPortYBase          = 0F;
            this.mctl_tic.AxisAndLabelFont           = new System.Drawing.Font("Microsoft Sans Serif", 8F);
            this.mctl_tic.AxisAndLabelMaxFontSize    = 15;
            this.mctl_tic.AxisAndLabelMinFontSize    = 8;
            this.mctl_tic.BackColor                    = System.Drawing.Color.WhiteSmoke;
            this.mctl_tic.ChartBackgroundColor         = System.Drawing.Color.White;
            this.mctl_tic.ChartLayout.LegendFraction   = 0.2F;
            this.mctl_tic.ChartLayout.LegendLocation   = PNNL.Controls.ChartLegendLocation.Right;
            this.mctl_tic.ChartLayout.MaxLegendHeight  = 150;
            this.mctl_tic.ChartLayout.MaxLegendWidth   = 250;
            this.mctl_tic.ChartLayout.MaxTitleHeight   = 50;
            this.mctl_tic.ChartLayout.MinLegendHeight  = 50;
            this.mctl_tic.ChartLayout.MinLegendWidth   = 75;
            this.mctl_tic.ChartLayout.MinTitleHeight   = 15;
            this.mctl_tic.ChartLayout.TitleFraction    = 0.1F;
            this.mctl_tic.DefaultZoomHandler.Active    = true;
            this.mctl_tic.DefaultZoomHandler.FillColor = System.Drawing.Color.FromArgb(((System.Byte)(60)), ((System.Byte)(119)), ((System.Byte)(136)), ((System.Byte)(153)));
            this.mctl_tic.DefaultZoomHandler.LineColor = System.Drawing.Color.Black;
            this.mctl_tic.Dock                          = System.Windows.Forms.DockStyle.Fill;
            penProvider1.Color                          = System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(211)), ((System.Byte)(211)));
            penProvider1.Width                          = 1F;
            this.mctl_tic.GridLinePen                   = penProvider1;
            this.mctl_tic.HasLegend                     = false;
            this.mctl_tic.HilightColor                  = System.Drawing.Color.Magenta;
            this.mctl_tic.LabelOffset                   = 5F;
            this.mctl_tic.Legend.BackColor              = System.Drawing.Color.Transparent;
            penProvider2.Color                          = System.Drawing.Color.Black;
            penProvider2.Width                          = 1F;
            this.mctl_tic.Legend.BorderPen              = penProvider2;
            this.mctl_tic.Legend.Bounds                 = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.mctl_tic.Legend.ColumnWidth            = 125;
            this.mctl_tic.Legend.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.mctl_tic.Legend.MaxFontSize            = 12F;
            this.mctl_tic.Legend.MinFontSize            = 6F;
            this.mctl_tic.Location                      = new System.Drawing.Point(3, 16);
            this.mctl_tic.Margins.BottomMarginFraction  = 0.1F;
            this.mctl_tic.Margins.BottomMarginMax       = 72;
            this.mctl_tic.Margins.BottomMarginMin       = 30;
            this.mctl_tic.Margins.DefaultMarginFraction = 0.05F;
            this.mctl_tic.Margins.DefaultMarginMax      = 15;
            this.mctl_tic.Margins.DefaultMarginMin      = 5;
            this.mctl_tic.Margins.LeftMarginFraction    = 0.2F;
            this.mctl_tic.Margins.LeftMarginMax         = 150;
            this.mctl_tic.Margins.LeftMarginMin         = 72;
            this.mctl_tic.Name                          = "mctl_tic";
            this.mctl_tic.NumXBins                      = 20;
            this.mctl_tic.PanWithArrowKeys              = false;
            this.mctl_tic.Size                          = new System.Drawing.Size(690, 277);
            this.mctl_tic.TabIndex                      = 0;
            this.mctl_tic.Title                         = "Tic";
            this.mctl_tic.TitleFont                     = new System.Drawing.Font("Microsoft Sans Serif", 16F);
            this.mctl_tic.TitleMaxFontSize              = 50F;
            this.mctl_tic.TitleMinFontSize              = 6F;
            this.mctl_tic.UseAutoViewPortYBase          = true;
            this.mctl_tic.VerticalExpansion             = 1.15F;
            this.mctl_tic.ViewPort                      = ((System.Drawing.RectangleF)(resources.GetObject("mctl_tic.ViewPort")));
            this.mctl_tic.XAxisLabel                    = "Scan Time";
            this.mctl_tic.YAxisLabel                    = "intensity";
            //
            // mimg_list_toolbar
            //
            this.mimg_list_toolbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth16Bit;
            this.mimg_list_toolbar.ImageSize        = new System.Drawing.Size(16, 16);
            this.mimg_list_toolbar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("mimg_list_toolbar.ImageStream")));
            this.mimg_list_toolbar.TransparentColor = System.Drawing.Color.White;
            //
            // btnCopytoClipboard
            //
            this.btnCopytoClipboard.BackColor = System.Drawing.Color.WhiteSmoke;
            this.btnCopytoClipboard.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnCopytoClipboard.Location  = new System.Drawing.Point(3, 7);
            this.btnCopytoClipboard.Name      = "btnCopytoClipboard";
            this.btnCopytoClipboard.Size      = new System.Drawing.Size(79, 37);
            this.btnCopytoClipboard.TabIndex  = 6;
            this.btnCopytoClipboard.Text      = "Copy data to clipboard";
            this.toolTip1.SetToolTip(this.btnCopytoClipboard, "Copy data to clipboard (Shift + \'C\')");
            this.btnCopytoClipboard.Click += new System.EventHandler(this.btnCopytoClipboard_Click);
            //
            // groupBox1
            //
            this.groupBox1.BackColor = System.Drawing.Color.WhiteSmoke;
            this.groupBox1.Controls.Add(this.btnCopytoClipboard);
            this.groupBox1.Controls.Add(this.mctl_tic);
            this.groupBox1.Location = new System.Drawing.Point(32, 16);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(696, 296);
            this.groupBox1.TabIndex = 7;
            this.groupBox1.TabStop  = false;
            //
            // panel1
            //
            this.panel1.Location = new System.Drawing.Point(32, 328);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(696, 248);
            this.panel1.TabIndex = 8;
            //
            // frmSpectra
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.Color.WhiteSmoke;
            this.ClientSize        = new System.Drawing.Size(1024, 654);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.groupBox1);
            this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.IsMdiContainer = ((bool)(configurationAppSettings.GetValue("frmSpectra.IsMdiContainer", typeof(bool))));
            this.Name           = "frmSpectra";
            this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text           = "Spectra";
            this.Resize        += new System.EventHandler(this.frmSpectra_Resize);
            ((System.ComponentModel.ISupportInitialize)(this.mctl_tic)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
        }