Esempio n. 1
0
		/** Creates the user interface -- grabbed from Form builder */
		void InitializeComponent() 
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChartsPanel));
			this.m_chart0 = new NationalInstruments.UI.WindowsForms.ScatterGraph();
			this.ScatterPlot1 = new NationalInstruments.UI.ScatterPlot();
			this.xAxis1 = new NationalInstruments.UI.XAxis();
			this.yAxis1 = new NationalInstruments.UI.YAxis();
			this.m_chart1 = new NationalInstruments.UI.WindowsForms.ScatterGraph();
			this.ScatterPlot2 = new NationalInstruments.UI.ScatterPlot();
			this.xAxis2 = new NationalInstruments.UI.XAxis();
			this.yAxis2 = new NationalInstruments.UI.YAxis();
			this.m_chart2 = new NationalInstruments.UI.WindowsForms.ScatterGraph();
			this.ScatterPlot3 = new NationalInstruments.UI.ScatterPlot();
			this.xAxis3 = new NationalInstruments.UI.XAxis();
			this.yAxis3 = new NationalInstruments.UI.YAxis();
			this.m_legendGrid = new AxMSFlexGridLib.AxMSFlexGrid();
			((System.ComponentModel.ISupportInitialize)(this.m_chart0)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_chart1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_chart2)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.m_legendGrid)).BeginInit();
			this.SuspendLayout();
			// 
			// m_chart0
			// 
			this.m_chart0.Location = new System.Drawing.Point(233, 17);
			this.m_chart0.Name = "m_chart0";
			this.m_chart0.PlotAreaColor = System.Drawing.Color.White;
			this.m_chart0.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
																					  this.ScatterPlot1});
			this.m_chart0.SelectionColor = System.Drawing.Color.Gold;
			this.m_chart0.Size = new System.Drawing.Size(352, 96);
			this.m_chart0.TabIndex = 0;
			this.m_chart0.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
																				this.xAxis1});
			this.m_chart0.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
																				this.yAxis1});
			// 
			// ScatterPlot1
			// 
			this.ScatterPlot1.LineWidth = 2F;
			this.ScatterPlot1.PointColor = System.Drawing.Color.Goldenrod;
			this.ScatterPlot1.PointStyle = NationalInstruments.UI.PointStyle.SolidCircle;
			this.ScatterPlot1.XAxis = this.xAxis1;
			this.ScatterPlot1.YAxis = this.yAxis1;
			// 
			// xAxis1
			// 
			this.xAxis1.MajorDivisions.GridColor = System.Drawing.Color.Gray;
			this.xAxis1.MajorDivisions.GridVisible = true;
			this.xAxis1.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.DateTime, "MM/dd/yy hh:mm:ss");
			this.xAxis1.MinorDivisions.GridColor = System.Drawing.Color.LightGray;
			this.xAxis1.MinorDivisions.GridVisible = true;
			this.xAxis1.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// yAxis1
			// 
			this.yAxis1.MajorDivisions.GridColor = System.Drawing.Color.Gainsboro;
			this.yAxis1.MajorDivisions.GridVisible = true;
			this.yAxis1.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// m_chart1
			// 
			this.m_chart1.Location = new System.Drawing.Point(125, 17);
			this.m_chart1.Name = "m_chart1";
			this.m_chart1.PlotAreaColor = System.Drawing.Color.White;
			this.m_chart1.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
																					  this.ScatterPlot2});
			this.m_chart1.SelectionColor = System.Drawing.Color.Gold;
			this.m_chart1.Size = new System.Drawing.Size(352, 96);
			this.m_chart1.TabIndex = 2;
			this.m_chart1.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
																				this.xAxis2});
			this.m_chart1.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
																				this.yAxis2});
			// 
			// ScatterPlot2
			// 
			this.ScatterPlot2.LineColor = System.Drawing.Color.LimeGreen;
			this.ScatterPlot2.LineWidth = 2F;
			this.ScatterPlot2.PointColor = System.Drawing.Color.Goldenrod;
			this.ScatterPlot2.PointStyle = NationalInstruments.UI.PointStyle.SolidCircle;
			this.ScatterPlot2.XAxis = this.xAxis2;
			this.ScatterPlot2.YAxis = this.yAxis2;
			// 
			// xAxis2
			// 
			this.xAxis2.MajorDivisions.GridColor = System.Drawing.Color.Gray;
			this.xAxis2.MajorDivisions.GridVisible = true;
			this.xAxis2.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F3");
			this.xAxis2.MinorDivisions.GridColor = System.Drawing.Color.LightGray;
			this.xAxis2.MinorDivisions.GridVisible = true;
			this.xAxis2.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// yAxis2
			// 
			this.yAxis2.MajorDivisions.GridColor = System.Drawing.Color.Gainsboro;
			this.yAxis2.MajorDivisions.GridVisible = true;
			this.yAxis2.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// m_chart2
			// 
			this.m_chart2.Location = new System.Drawing.Point(341, 17);
			this.m_chart2.Name = "m_chart2";
			this.m_chart2.PlotAreaColor = System.Drawing.Color.White;
			this.m_chart2.Plots.AddRange(new NationalInstruments.UI.ScatterPlot[] {
																					  this.ScatterPlot3});
			this.m_chart2.SelectionColor = System.Drawing.Color.Gold;
			this.m_chart2.Size = new System.Drawing.Size(352, 96);
			this.m_chart2.TabIndex = 8;
			this.m_chart2.XAxes.AddRange(new NationalInstruments.UI.XAxis[] {
																				this.xAxis3});
			this.m_chart2.YAxes.AddRange(new NationalInstruments.UI.YAxis[] {
																				this.yAxis3});
			// 
			// ScatterPlot3
			// 
			this.ScatterPlot3.LineWidth = 2F;
			this.ScatterPlot3.PointColor = System.Drawing.Color.Goldenrod;
			this.ScatterPlot3.PointStyle = NationalInstruments.UI.PointStyle.SolidCircle;
			this.ScatterPlot3.XAxis = this.xAxis3;
			this.ScatterPlot3.YAxis = this.yAxis3;
			// 
			// xAxis3
			// 
			this.xAxis3.MajorDivisions.GridColor = System.Drawing.Color.Gray;
			this.xAxis3.MajorDivisions.GridVisible = true;
			this.xAxis3.MajorDivisions.LabelFormat = new NationalInstruments.UI.FormatString(NationalInstruments.UI.FormatStringMode.Numeric, "F3");
			this.xAxis3.MinorDivisions.GridColor = System.Drawing.Color.LightGray;
			this.xAxis3.MinorDivisions.GridVisible = true;
			this.xAxis3.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// yAxis3
			// 
			this.yAxis3.MajorDivisions.GridColor = System.Drawing.Color.Gainsboro;
			this.yAxis3.MajorDivisions.GridVisible = true;
			this.yAxis3.Mode = NationalInstruments.UI.AxisMode.AutoScaleExact;
			// 
			// m_legendGrid
			// 
			this.m_legendGrid.Dock = System.Windows.Forms.DockStyle.Right;
			this.m_legendGrid.Location = new System.Drawing.Point(160, 0);
			this.m_legendGrid.Name = "m_legendGrid";
			this.m_legendGrid.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("m_legendGrid.OcxState")));
			this.m_legendGrid.Size = new System.Drawing.Size(40, 100);
			this.m_legendGrid.TabIndex = 9;
			// 
			// ChartsPanel
			// 
			this.Controls.Add(this.m_chart2);
			this.Controls.Add(this.m_legendGrid);
			this.Controls.Add(this.m_chart1);
			this.Controls.Add(this.m_chart0);
			((System.ComponentModel.ISupportInitialize)(this.m_chart0)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_chart1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_chart2)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.m_legendGrid)).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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.FeedBackButton = new System.Windows.Forms.Button();
			this.HideButton = new System.Windows.Forms.Button();
			this.MSFlexGrid1 = new AxMSFlexGridLib.AxMSFlexGrid();
			this.axTrayIcons1 = new AxSTI.AxTrayIcons();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.MSFlexGrid1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTrayIcons1)).BeginInit();
			this.SuspendLayout();
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.Add(this.FeedBackButton);
			this.GroupBox1.Controls.Add(this.HideButton);
			this.GroupBox1.Location = new System.Drawing.Point(8, 200);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(168, 48);
			this.GroupBox1.TabIndex = 4;
			this.GroupBox1.TabStop = false;
			// 
			// FeedBackButton
			// 
			this.FeedBackButton.Location = new System.Drawing.Point(88, 16);
			this.FeedBackButton.Name = "FeedBackButton";
			this.FeedBackButton.Size = new System.Drawing.Size(72, 24);
			this.FeedBackButton.TabIndex = 1;
			this.FeedBackButton.Text = "&FeedBack";
			this.FeedBackButton.Click += new System.EventHandler(this.FeedBackButton_Click);
			// 
			// HideButton
			// 
			this.HideButton.Location = new System.Drawing.Point(8, 16);
			this.HideButton.Name = "HideButton";
			this.HideButton.Size = new System.Drawing.Size(72, 24);
			this.HideButton.TabIndex = 0;
			this.HideButton.Text = "&Hide";
			this.HideButton.Click += new System.EventHandler(this.HideButton_Click);
			// 
			// MSFlexGrid1
			// 
			this.MSFlexGrid1.Location = new System.Drawing.Point(8, 8);
			this.MSFlexGrid1.Name = "MSFlexGrid1";
			this.MSFlexGrid1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("MSFlexGrid1.OcxState")));
			this.MSFlexGrid1.Size = new System.Drawing.Size(664, 192);
			this.MSFlexGrid1.TabIndex = 6;
			// 
			// axTrayIcons1
			// 
			this.axTrayIcons1.Enabled = true;
			this.axTrayIcons1.Location = new System.Drawing.Point(176, 208);
			this.axTrayIcons1.Name = "axTrayIcons1";
			this.axTrayIcons1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTrayIcons1.OcxState")));
			this.axTrayIcons1.Size = new System.Drawing.Size(36, 36);
			this.axTrayIcons1.TabIndex = 7;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(680, 254);
			this.Controls.Add(this.axTrayIcons1);
			this.Controls.Add(this.MSFlexGrid1);
			this.Controls.Add(this.GroupBox1);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC#TrayIcons";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.GroupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.MSFlexGrid1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTrayIcons1)).EndInit();
			this.ResumeLayout(false);

		}
Esempio n. 3
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FlexGridForm));
			this.m_FlexGrid = new AxMSFlexGridLib.AxMSFlexGrid();
			this.m_OkButton = new System.Windows.Forms.Button();
			this.m_CancelButton = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.m_FlexGrid)).BeginInit();
			this.SuspendLayout();
			// 
			// m_FlexGrid
			// 
			this.m_FlexGrid.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.m_FlexGrid.Location = new System.Drawing.Point(0, 0);
			this.m_FlexGrid.Name = "m_FlexGrid";
			this.m_FlexGrid.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("m_FlexGrid.OcxState")));
			this.m_FlexGrid.Size = new System.Drawing.Size(608, 424);
			this.m_FlexGrid.TabIndex = 0;
			// 
			// m_OkButton
			// 
			this.m_OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.m_OkButton.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.m_OkButton.Location = new System.Drawing.Point(528, 428);
			this.m_OkButton.Name = "m_OkButton";
			this.m_OkButton.TabIndex = 4;
			this.m_OkButton.Text = "&OK";
			// 
			// m_CancelButton
			// 
			this.m_CancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.m_CancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.m_CancelButton.Location = new System.Drawing.Point(432, 428);
			this.m_CancelButton.Name = "m_CancelButton";
			this.m_CancelButton.TabIndex = 3;
			this.m_CancelButton.Text = "&Cancel";
			// 
			// FlexGridForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(608, 454);
			this.Controls.Add(this.m_OkButton);
			this.Controls.Add(this.m_CancelButton);
			this.Controls.Add(this.m_FlexGrid);
			this.Name = "FlexGridForm";
			this.Text = "FlexGridForm";
			((System.ComponentModel.ISupportInitialize)(this.m_FlexGrid)).EndInit();
			this.ResumeLayout(false);

		}
Esempio n. 4
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.ButRefresh = new System.Windows.Forms.Button();
			this.ButRestore = new System.Windows.Forms.Button();
			this.ButHide = new System.Windows.Forms.Button();
			this.MSFlexGrid1 = new AxMSFlexGridLib.AxMSFlexGrid();
			this.axTrayList1 = new AxASTC.AxTrayList();
			((System.ComponentModel.ISupportInitialize)(this.MSFlexGrid1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.axTrayList1)).BeginInit();
			this.SuspendLayout();
			// 
			// ButRefresh
			// 
			this.ButRefresh.Location = new System.Drawing.Point(184, 232);
			this.ButRefresh.Name = "ButRefresh";
			this.ButRefresh.Size = new System.Drawing.Size(80, 23);
			this.ButRefresh.TabIndex = 5;
			this.ButRefresh.Text = "Refresh";
			this.ButRefresh.Click += new System.EventHandler(this.ButRefresh_Click);
			// 
			// ButRestore
			// 
			this.ButRestore.Location = new System.Drawing.Point(96, 232);
			this.ButRestore.Name = "ButRestore";
			this.ButRestore.Size = new System.Drawing.Size(80, 23);
			this.ButRestore.TabIndex = 4;
			this.ButRestore.Text = "Restore Last";
			this.ButRestore.Click += new System.EventHandler(this.ButRestore_Click);
			// 
			// ButHide
			// 
			this.ButHide.Location = new System.Drawing.Point(8, 232);
			this.ButHide.Name = "ButHide";
			this.ButHide.Size = new System.Drawing.Size(80, 23);
			this.ButHide.TabIndex = 3;
			this.ButHide.Text = "Hide";
			this.ButHide.Click += new System.EventHandler(this.ButHide_Click);
			// 
			// MSFlexGrid1
			// 
			this.MSFlexGrid1.Location = new System.Drawing.Point(8, 8);
			this.MSFlexGrid1.Name = "MSFlexGrid1";
			this.MSFlexGrid1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("MSFlexGrid1.OcxState")));
			this.MSFlexGrid1.Size = new System.Drawing.Size(688, 216);
			this.MSFlexGrid1.TabIndex = 6;
			// 
			// axTrayList1
			// 
			this.axTrayList1.Enabled = true;
			this.axTrayList1.Location = new System.Drawing.Point(664, 232);
			this.axTrayList1.Name = "axTrayList1";
			this.axTrayList1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTrayList1.OcxState")));
			this.axTrayList1.Size = new System.Drawing.Size(36, 36);
			this.axTrayList1.TabIndex = 7;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(704, 266);
			this.Controls.Add(this.axTrayList1);
			this.Controls.Add(this.MSFlexGrid1);
			this.Controls.Add(this.ButRefresh);
			this.Controls.Add(this.ButRestore);
			this.Controls.Add(this.ButHide);
			this.Name = "Form1";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "VC#.NET TrayList Sample Code";
			this.TopMost = true;
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.MSFlexGrid1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.axTrayList1)).EndInit();
			this.ResumeLayout(false);

		}