private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Portfolio)); this.tabControl1 = new TabControl(); this.tabPage1 = new TabPage(); this.composition = new Composition(); this.tabPage2 = new TabPage(); this.performance = new PerformanceWindow(); this.tabPage3 = new TabPage(); this.statistics = new Statistics(); this.tabPage4 = new TabPage(); this.childrenStatistics = new ChildrenStatistics(); this.tabPage5 = new TabPage(); this.correlationMatrix = new CorrelationMatrix(); this.imgStates = new ImageList(this.components); this.ctxSettings = new ContextMenuStrip(this.components); this.ctxSettings_ExportToCSV = new ToolStripMenuItem(); this.ctxSettings_ExportToXLS = new ToolStripMenuItem(); this.lblSettings = new Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage4.SuspendLayout(); this.tabPage5.SuspendLayout(); this.ctxSettings.SuspendLayout(); this.SuspendLayout(); this.tabControl1.Controls.Add((Control) this.tabPage1); this.tabControl1.Controls.Add((Control) this.tabPage2); this.tabControl1.Controls.Add((Control) this.tabPage3); this.tabControl1.Controls.Add((Control) this.tabPage4); this.tabControl1.Controls.Add((Control) this.tabPage5); this.tabControl1.Dock = DockStyle.Fill; this.tabControl1.Location = new Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new Size(621, 447); this.tabControl1.TabIndex = 0; this.tabPage1.Controls.Add((Control) this.composition); this.tabPage1.Location = new Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new Padding(3); this.tabPage1.Size = new Size(613, 421); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Composition"; this.tabPage1.UseVisualStyleBackColor = true; this.composition.Dock = DockStyle.Fill; this.composition.Location = new Point(3, 3); this.composition.Name = "composition"; this.composition.Size = new Size(607, 415); this.composition.TabIndex = 0; this.tabPage2.Controls.Add((Control) this.performance); this.tabPage2.Location = new Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new Size(613, 421); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Performance"; this.tabPage2.UseVisualStyleBackColor = true; this.performance.Dock = DockStyle.Fill; this.performance.Location = new Point(0, 0); this.performance.Name = "performance"; this.performance.Size = new Size(613, 421); this.performance.TabIndex = 0; this.tabPage3.Controls.Add((Control) this.statistics); this.tabPage3.Location = new Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new Size(613, 421); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Statistics"; this.tabPage3.UseVisualStyleBackColor = true; this.statistics.Dock = DockStyle.Fill; this.statistics.Location = new Point(0, 0); this.statistics.Name = "statistics"; this.statistics.Size = new Size(613, 421); this.statistics.TabIndex = 0; this.tabPage4.Controls.Add((Control) this.childrenStatistics); this.tabPage4.Location = new Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new Size(613, 421); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Children Statistics"; this.tabPage4.UseVisualStyleBackColor = true; this.childrenStatistics.Dock = DockStyle.Fill; this.childrenStatistics.Location = new Point(0, 0); this.childrenStatistics.Name = "childrenStatistics"; this.childrenStatistics.Size = new Size(613, 421); this.childrenStatistics.TabIndex = 0; this.tabPage5.Controls.Add((Control) this.correlationMatrix); this.tabPage5.Location = new Point(4, 22); this.tabPage5.Name = "tabPage5"; this.tabPage5.Size = new Size(613, 421); this.tabPage5.TabIndex = 4; this.tabPage5.Text = "Correlation Matrix"; this.tabPage5.UseVisualStyleBackColor = true; this.correlationMatrix.Dock = DockStyle.Fill; this.correlationMatrix.Location = new Point(0, 0); this.correlationMatrix.Name = "correlationMatrix"; this.correlationMatrix.Size = new Size(613, 421); this.correlationMatrix.TabIndex = 0; // this.imgStates.ImageStream = (ImageListStreamer) componentResourceManager.GetObject("imgStates.ImageStream"); // this.imgStates.TransparentColor = Color.Transparent; // this.imgStates.Images.SetKeyName(0, "collapsed.png"); // this.imgStates.Images.SetKeyName(1, "expanded.png"); // this.imgStates.Images.SetKeyName(2, "empty.png"); this.ctxSettings.Items.AddRange(new ToolStripItem[2] { (ToolStripItem) this.ctxSettings_ExportToCSV, (ToolStripItem) this.ctxSettings_ExportToXLS }); this.ctxSettings.Name = "ctxReportsSettings"; this.ctxSettings.Size = new Size(153, 70); this.ctxSettings_ExportToCSV.Name = "ctxSettings_ExportToCSV"; this.ctxSettings_ExportToCSV.Size = new Size(152, 22); this.ctxSettings_ExportToCSV.Text = "ExportToCSV"; this.ctxSettings_ExportToCSV.Click += new EventHandler(this.ctxSettings_ExportToCSV_Click); this.ctxSettings_ExportToXLS.Name = "ctxSettings_ExportToXLS"; this.ctxSettings_ExportToXLS.Size = new Size(152, 22); this.ctxSettings_ExportToXLS.Text = "ExportToXLS"; this.ctxSettings_ExportToXLS.Click += new EventHandler(this.ctxReportsSettings_ExportToXLS_Click); this.lblSettings.Anchor = AnchorStyles.Top | AnchorStyles.Right; this.lblSettings.ContextMenuStrip = this.ctxSettings; // this.lblSettings.Image = (Image) Resources.settings; this.lblSettings.Location = new Point(601, 0); this.lblSettings.Name = "lblSettings"; this.lblSettings.Size = new Size(16, 16); this.lblSettings.TabIndex = 4; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control) this.lblSettings); this.Controls.Add((Control) this.tabControl1); this.Name = "Portfolio"; this.Size = new Size(621, 447); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.tabPage5.ResumeLayout(false); this.ctxSettings.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = (IContainer) new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Portfolio)); this.tabControl1 = new TabControl(); this.tabPage1 = new TabPage(); this.composition = new Composition(); this.tabPage2 = new TabPage(); this.performance = new PerformanceWindow(); this.tabPage3 = new TabPage(); this.statistics = new Statistics(); this.tabPage4 = new TabPage(); this.childrenStatistics = new ChildrenStatistics(); this.tabPage5 = new TabPage(); this.correlationMatrix = new CorrelationMatrix(); this.imgStates = new ImageList(this.components); this.ctxSettings = new ContextMenuStrip(this.components); this.ctxSettings_ExportToCSV = new ToolStripMenuItem(); this.ctxSettings_ExportToXLS = new ToolStripMenuItem(); this.lblSettings = new Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage4.SuspendLayout(); this.tabPage5.SuspendLayout(); this.ctxSettings.SuspendLayout(); this.SuspendLayout(); this.tabControl1.Controls.Add((Control)this.tabPage1); this.tabControl1.Controls.Add((Control)this.tabPage2); this.tabControl1.Controls.Add((Control)this.tabPage3); this.tabControl1.Controls.Add((Control)this.tabPage4); this.tabControl1.Controls.Add((Control)this.tabPage5); this.tabControl1.Dock = DockStyle.Fill; this.tabControl1.Location = new Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new Size(621, 447); this.tabControl1.TabIndex = 0; this.tabPage1.Controls.Add((Control)this.composition); this.tabPage1.Location = new Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new Padding(3); this.tabPage1.Size = new Size(613, 421); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Composition"; this.tabPage1.UseVisualStyleBackColor = true; this.composition.Dock = DockStyle.Fill; this.composition.Location = new Point(3, 3); this.composition.Name = "composition"; this.composition.Size = new Size(607, 415); this.composition.TabIndex = 0; this.tabPage2.Controls.Add((Control)this.performance); this.tabPage2.Location = new Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new Size(613, 421); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Performance"; this.tabPage2.UseVisualStyleBackColor = true; this.performance.Dock = DockStyle.Fill; this.performance.Location = new Point(0, 0); this.performance.Name = "performance"; this.performance.Size = new Size(613, 421); this.performance.TabIndex = 0; this.tabPage3.Controls.Add((Control)this.statistics); this.tabPage3.Location = new Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new Size(613, 421); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Statistics"; this.tabPage3.UseVisualStyleBackColor = true; this.statistics.Dock = DockStyle.Fill; this.statistics.Location = new Point(0, 0); this.statistics.Name = "statistics"; this.statistics.Size = new Size(613, 421); this.statistics.TabIndex = 0; this.tabPage4.Controls.Add((Control)this.childrenStatistics); this.tabPage4.Location = new Point(4, 22); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new Size(613, 421); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Children Statistics"; this.tabPage4.UseVisualStyleBackColor = true; this.childrenStatistics.Dock = DockStyle.Fill; this.childrenStatistics.Location = new Point(0, 0); this.childrenStatistics.Name = "childrenStatistics"; this.childrenStatistics.Size = new Size(613, 421); this.childrenStatistics.TabIndex = 0; this.tabPage5.Controls.Add((Control)this.correlationMatrix); this.tabPage5.Location = new Point(4, 22); this.tabPage5.Name = "tabPage5"; this.tabPage5.Size = new Size(613, 421); this.tabPage5.TabIndex = 4; this.tabPage5.Text = "Correlation Matrix"; this.tabPage5.UseVisualStyleBackColor = true; this.correlationMatrix.Dock = DockStyle.Fill; this.correlationMatrix.Location = new Point(0, 0); this.correlationMatrix.Name = "correlationMatrix"; this.correlationMatrix.Size = new Size(613, 421); this.correlationMatrix.TabIndex = 0; // this.imgStates.ImageStream = (ImageListStreamer) componentResourceManager.GetObject("imgStates.ImageStream"); // this.imgStates.TransparentColor = Color.Transparent; // this.imgStates.Images.SetKeyName(0, "collapsed.png"); // this.imgStates.Images.SetKeyName(1, "expanded.png"); // this.imgStates.Images.SetKeyName(2, "empty.png"); this.ctxSettings.Items.AddRange(new ToolStripItem[2] { (ToolStripItem)this.ctxSettings_ExportToCSV, (ToolStripItem)this.ctxSettings_ExportToXLS }); this.ctxSettings.Name = "ctxReportsSettings"; this.ctxSettings.Size = new Size(153, 70); this.ctxSettings_ExportToCSV.Name = "ctxSettings_ExportToCSV"; this.ctxSettings_ExportToCSV.Size = new Size(152, 22); this.ctxSettings_ExportToCSV.Text = "ExportToCSV"; this.ctxSettings_ExportToCSV.Click += new EventHandler(this.ctxSettings_ExportToCSV_Click); this.ctxSettings_ExportToXLS.Name = "ctxSettings_ExportToXLS"; this.ctxSettings_ExportToXLS.Size = new Size(152, 22); this.ctxSettings_ExportToXLS.Text = "ExportToXLS"; this.ctxSettings_ExportToXLS.Click += new EventHandler(this.ctxReportsSettings_ExportToXLS_Click); this.lblSettings.Anchor = AnchorStyles.Top | AnchorStyles.Right; this.lblSettings.ContextMenuStrip = this.ctxSettings; // this.lblSettings.Image = (Image) Resources.settings; this.lblSettings.Location = new Point(601, 0); this.lblSettings.Name = "lblSettings"; this.lblSettings.Size = new Size(16, 16); this.lblSettings.TabIndex = 4; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.lblSettings); this.Controls.Add((Control)this.tabControl1); this.Name = "Portfolio"; this.Size = new Size(621, 447); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.tabPage5.ResumeLayout(false); this.ctxSettings.ResumeLayout(false); this.ResumeLayout(false); }