private void InitializeComponent() { this.ManageAttributes = new Button(); this.AttributesReportBox = new PGUserControl(); base.SuspendLayout(); this.ManageAttributes.Location = new Point(0x1e8, 600); this.ManageAttributes.Name = "ManageAttributes"; this.ManageAttributes.Size = new Size(0xb8, 0x20); this.ManageAttributes.TabIndex = 1; this.ManageAttributes.Text = "Attributes.."; this.ManageAttributes.Click += new EventHandler(this.ManageAttributes_Click); this.AttributesReportBox.ConfigFile = ""; this.AttributesReportBox.DBCon = null; this.AttributesReportBox.Name = "AttributesReportBox"; this.AttributesReportBox.Size = new Size(0x2b0, 600); this.AttributesReportBox.TabIndex = 2; this.AttributesReportBox.TotallingEnabled = true; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b0, 0x285); base.Controls.AddRange(new Control[] { this.AttributesReportBox, this.ManageAttributes }); base.MaximizeBox = false; base.Name = "AttributesPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Configure Attributes"; base.ResumeLayout(false); }
private void InitializeComponent() { this.LookupItemReportBox = new PGUserControl(); this.selectItemInfo = new Button(); base.SuspendLayout(); this.LookupItemReportBox.ConfigFile = ""; this.LookupItemReportBox.DBCon = null; this.LookupItemReportBox.Location = new Point(0, 0); this.LookupItemReportBox.Name = "LookupItemReportBox"; this.LookupItemReportBox.Size = new Size(0x2a0, 0x1c8); this.LookupItemReportBox.TabIndex = 0; this.LookupItemReportBox.TotallingEnabled = false; this.selectItemInfo.Location = new Point(0x220, 0x1d0); this.selectItemInfo.Name = "selectItemInfo"; this.selectItemInfo.Size = new Size(0x70, 0x18); this.selectItemInfo.TabIndex = 1; this.selectItemInfo.Text = "Select"; this.selectItemInfo.Click += new EventHandler(this.selectItemInfo_Click); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2a0, 0x1ed); base.Controls.Add(this.selectItemInfo); base.Controls.Add(this.LookupItemReportBox); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "LookupItem"; base.ShowInTaskbar = false; this.Text = "Lookup Item"; base.ResumeLayout(false); }
private void MorphReportControl_Click(object sender, EventArgs e) { if (this.MorphReportControl.ConfigFile.ToUpper() != @".\REPORTDEFS\ITEMSREPORTBOX.XML") { this.MorphReportControl.Dispose(); GC.Collect(); this.MorphReportControl = null; this.MorphReportControl = new PGUserControl(); this.MorphReportControl.DBCon = Con; this.MorphReportControl.ConfigFile = @".\ReportDefs\ItemsReportBox.xml"; base.Controls.Add(this.MorphReportControl); this.MorphReportControl.Show(); } }
private void InitializeComponent() { this.MorphReportControl = new PGUserControl(); base.SuspendLayout(); this.MorphReportControl.ConfigFile = ""; this.MorphReportControl.DBCon = null; this.MorphReportControl.Location = new Point(0, 0); this.MorphReportControl.Name = "MorphReportControl"; this.MorphReportControl.Size = new Size(0x2b0, 0x278); this.MorphReportControl.TabIndex = 0; this.MorphReportControl.TotallingEnabled = true; this.MorphReportControl.Search_Clicked += new Search_ClickedHandler(this.MorphReportControl_Search_Clicked); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b0, 0x26d); base.Controls.Add(this.MorphReportControl); base.MaximizeBox = false; base.Name = "ReportingPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Report"; base.ResumeLayout(false); }
private void InitializeComponent() { ResourceManager manager = new ResourceManager(typeof(SalePage)); this.SalesReportBox = new PGUserControl(); this.Sell = new Button(); this.SellingGrid = new DataGrid(); this.MoveToSellGrid = new Button(); this.updateBoxes = new Button(); this.NumberOfBoxes = new TextBox(); this.SellingGrid.BeginInit(); base.SuspendLayout(); this.SalesReportBox.ConfigFile = ""; this.SalesReportBox.DBCon = null; this.SalesReportBox.Location = new Point(0, 0); this.SalesReportBox.Name = "SalesReportBox"; this.SalesReportBox.Size = new Size(0x2b8, 0x1b0); this.SalesReportBox.TabIndex = 0; this.SalesReportBox.TotallingEnabled = true; this.SalesReportBox.Search_Clicked += new Search_ClickedHandler(this.SalesReportBox_Search_Clicked); this.SalesReportBox.QueryParsed += new QueryParsed_Handler(this.SalesReportBox_QueryParsed); this.SalesReportBox.Total_Clicked += new Total_ClickedHandler(this.SalesReportBox_Total_Clicked); this.Sell.Enabled = false; this.Sell.Location = new Point(560, 0x240); this.Sell.Name = "Sell"; this.Sell.Size = new Size(0x68, 0x18); this.Sell.TabIndex = 2; this.Sell.Text = "Sell"; this.Sell.Click += new EventHandler(this.Sell_Click); this.SellingGrid.CaptionText = "Sell Items"; this.SellingGrid.DataMember = ""; this.SellingGrid.HeaderForeColor = SystemColors.ControlText; this.SellingGrid.Location = new Point(0x18, 480); this.SellingGrid.Name = "SellingGrid"; this.SellingGrid.PreferredColumnWidth = 120; this.SellingGrid.Size = new Size(640, 0x58); this.SellingGrid.TabIndex = 3; this.SellingGrid.CurrentCellChanged += new EventHandler(this.SellingGrid_CurrentCellChanged); this.MoveToSellGrid.Enabled = false; this.MoveToSellGrid.Image = (Image) manager.GetObject("MoveToSellGrid.Image"); this.MoveToSellGrid.Location = new Point(320, 440); this.MoveToSellGrid.Name = "MoveToSellGrid"; this.MoveToSellGrid.Size = new Size(0x20, 0x20); this.MoveToSellGrid.TabIndex = 4; this.MoveToSellGrid.Click += new EventHandler(this.MoveToSellGrid_Click); this.updateBoxes.Location = new Point(560, 0x1c0); this.updateBoxes.Name = "updateBoxes"; this.updateBoxes.Size = new Size(0x60, 0x18); this.updateBoxes.TabIndex = 5; this.updateBoxes.Text = "Update Boxes"; this.updateBoxes.Visible = false; this.updateBoxes.Click += new EventHandler(this.updateBoxes_Click); this.NumberOfBoxes.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0); this.NumberOfBoxes.ForeColor = SystemColors.HotTrack; this.NumberOfBoxes.Location = new Point(0x1d0, 0x1c0); this.NumberOfBoxes.Name = "NumberOfBoxes"; this.NumberOfBoxes.Size = new Size(80, 0x15); this.NumberOfBoxes.TabIndex = 6; this.NumberOfBoxes.Text = ""; this.NumberOfBoxes.Visible = false; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b8, 0x25d); base.Controls.Add(this.NumberOfBoxes); base.Controls.Add(this.updateBoxes); base.Controls.Add(this.MoveToSellGrid); base.Controls.Add(this.SellingGrid); base.Controls.Add(this.Sell); base.Controls.Add(this.SalesReportBox); base.MaximizeBox = false; base.Name = "SalePage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage Sales"; this.SellingGrid.EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.InterestReportBox = new PGUserControl(); this.IssueCredit = new Button(); this.GridRowContextMenu = new ContextMenu(); this.ReissueMenu = new MenuItem(); this.RecieveMenu = new MenuItem(); this.DebitGridRowContextMenu = new ContextMenu(); this.RecieveCredit = new MenuItem(); this.ReturnCredit = new MenuItem(); base.SuspendLayout(); this.InterestReportBox.ConfigFile = ""; this.InterestReportBox.DBCon = null; this.InterestReportBox.Location = new Point(8, 8); this.InterestReportBox.Name = "InterestReportBox"; this.InterestReportBox.Size = new Size(0x2b8, 0x278); this.InterestReportBox.TabIndex = 0; this.InterestReportBox.TotallingEnabled = true; this.InterestReportBox.QueryParsed += new QueryParsed_Handler(this.InterestReportBox_QueryParsed); this.InterestReportBox.Total_Clicked += new Total_ClickedHandler(this.InterestReportBox_Total_Clicked); this.IssueCredit.Location = new Point(0x1c8, 0x260); this.IssueCredit.Name = "IssueCredit"; this.IssueCredit.Size = new Size(0xd8, 0x18); this.IssueCredit.TabIndex = 1; this.IssueCredit.Text = "Issue New Credit.."; this.IssueCredit.Click += new EventHandler(this.IssueCredit_Click); this.GridRowContextMenu.MenuItems.AddRange(new MenuItem[] { this.ReissueMenu, this.RecieveMenu }); this.ReissueMenu.Index = 0; this.ReissueMenu.Text = "Re-Issue.."; this.ReissueMenu.Click += new EventHandler(this.ReissueMenu_Click); this.RecieveMenu.Index = 1; this.RecieveMenu.Text = "Reclaim.."; this.RecieveMenu.Click += new EventHandler(this.RecieveMenu_Click); this.DebitGridRowContextMenu.MenuItems.AddRange(new MenuItem[] { this.RecieveCredit, this.ReturnCredit }); this.RecieveCredit.Index = 0; this.RecieveCredit.Text = "Recieve.."; this.RecieveCredit.Click += new EventHandler(this.RecieveCredit_Click); this.ReturnCredit.Index = 1; this.ReturnCredit.Text = "Return.."; this.ReturnCredit.Click += new EventHandler(this.ReturnCredit_Click); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b8, 0x27d); base.Controls.Add(this.IssueCredit); base.Controls.Add(this.InterestReportBox); base.MaximizeBox = false; base.Name = "InterestPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage Credit"; base.Load += new EventHandler(this.InterestPage_Load); base.ResumeLayout(false); }
private void InitializeComponent() { this.StockReportBox = new PGUserControl(); this.updateStock = new Button(); this.CalcStockInfo = new Button(); this.PackingsGrid = new DataGrid(); this.Pack = new Button(); this.PackingsGrid.BeginInit(); base.SuspendLayout(); this.StockReportBox.ConfigFile = ""; this.StockReportBox.DBCon = null; this.StockReportBox.Name = "StockReportBox"; this.StockReportBox.Size = new Size(690, 390); this.StockReportBox.TabIndex = 0; this.StockReportBox.TotallingEnabled = false; this.StockReportBox.Search_Clicked += new Search_ClickedHandler(this.StockReportBox_Search_Clicked); this.StockReportBox.Total_Clicked += new Total_ClickedHandler(this.StockReportBox_Total_Clicked); this.updateStock.Enabled = false; this.updateStock.Location = new Point(0x240, 0x1a0); this.updateStock.Name = "updateStock"; this.updateStock.TabIndex = 1; this.updateStock.Text = "Update"; this.updateStock.Click += new EventHandler(this.updateStock_Click); this.CalcStockInfo.Enabled = false; this.CalcStockInfo.Location = new Point(0x1c0, 0x1a0); this.CalcStockInfo.Name = "CalcStockInfo"; this.CalcStockInfo.TabIndex = 2; this.CalcStockInfo.Text = "Calculate"; this.CalcStockInfo.Click += new EventHandler(this.CalcStockInfo_Click); this.PackingsGrid.AllowSorting = false; this.PackingsGrid.CaptionText = "Create Packings"; this.PackingsGrid.DataMember = ""; this.PackingsGrid.HeaderForeColor = SystemColors.ControlText; this.PackingsGrid.Location = new Point(0x20, 0x1c0); this.PackingsGrid.Name = "PackingsGrid"; this.PackingsGrid.PreferredColumnWidth = 120; this.PackingsGrid.ReadOnly = true; this.PackingsGrid.Size = new Size(0x270, 0x98); this.PackingsGrid.TabIndex = 3; this.PackingsGrid.DoubleClick += new EventHandler(this.PackingsGrid_DoubleClick); this.PackingsGrid.CurrentCellChanged += new EventHandler(this.PackingsGrid_CurrentCellChanged); this.Pack.Enabled = false; this.Pack.Location = new Point(0x240, 0x260); this.Pack.Name = "Pack"; this.Pack.TabIndex = 4; this.Pack.Text = "Pack"; this.Pack.Click += new EventHandler(this.Pack_Click); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b8, 0x285); base.Controls.AddRange(new Control[] { this.Pack, this.PackingsGrid, this.CalcStockInfo, this.updateStock, this.StockReportBox }); base.MaximizeBox = false; base.Name = "StockPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage Stock"; this.PackingsGrid.EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.AccountsReportBox = new PGUserControl(); this.CreateNewAccount = new Button(); this.GridRowContextMenu = new ContextMenu(); this.EditRow = new MenuItem(); this.DeleteRow = new MenuItem(); base.SuspendLayout(); this.AccountsReportBox.BackColor = SystemColors.Control; this.AccountsReportBox.ConfigFile = ""; this.AccountsReportBox.DBCon = null; this.AccountsReportBox.Name = "AccountsReportBox"; this.AccountsReportBox.Size = new Size(0x2b0, 0x278); this.AccountsReportBox.TabIndex = 0; this.AccountsReportBox.TotallingEnabled = true; this.AccountsReportBox.Total_Clicked += new Total_ClickedHandler(this.AccountsReportBox_Total_Clicked); this.CreateNewAccount.Location = new Point(0x1d0, 600); this.CreateNewAccount.Name = "CreateNewAccount"; this.CreateNewAccount.Size = new Size(200, 0x17); this.CreateNewAccount.TabIndex = 1; this.CreateNewAccount.Text = "Create New Account..."; this.CreateNewAccount.Click += new EventHandler(this.CreateNewAccount_Click); this.GridRowContextMenu.MenuItems.AddRange(new MenuItem[] { this.EditRow, this.DeleteRow }); this.EditRow.Index = 0; this.EditRow.Text = "Edit.."; this.EditRow.Click += new EventHandler(this.EditRow_Click); this.DeleteRow.Index = 1; this.DeleteRow.Text = "Delete"; this.DeleteRow.Click += new EventHandler(this.DeleteRow_Click); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b8, 0x27d); base.Controls.AddRange(new Control[] { this.CreateNewAccount, this.AccountsReportBox }); base.MaximizeBox = false; base.Name = "AccountsPage"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage Accounts"; base.Load += new EventHandler(this.AccountsPage_Load); base.ResumeLayout(false); }
private void Init() { this.Title = m_session1+" ∆ " +m_session2; this.Tag= m_profileeName+":"+m_session1+" ∆ " +m_session2; this.VisibleChanged += new System.EventHandler(this.CompareTabPage_VisibleChanged); this.MorphReportControl=new PGUserControl(); MorphReportControl.TotallingEnabled = true; MorphReportControl.BackColor = System.Drawing.SystemColors.ActiveCaptionText; MorphReportControl.Dock=DockStyle.Fill; MorphReportControl.Location = new System.Drawing.Point(2, 35); MorphReportControl.DBCon=new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Application.StartupPath+@"\SharpBase.mdb;Mode=ReadWrite|Share Deny None;Persist Security Info=False;"); MorphReportControl.ConfigFile =Application.StartupPath+@"\MemoryReportDefs\MemoryComparison.xml"; if(MorphReportControl.Parent!=this) { this.Controls.Add(MorphReportControl); } MorphReportControl.Search_Clicked +=new Search_ClickedHandler(MorphReportControl_Search_Clicked); MorphReportControl.SelectedIndex_Changed+=new SelectedIndexChanged_Handler(MorphReportControl_SelectedIndex_Changed); MorphReportControl.FixedPropertyTable["Numerator-SessionID"]= m_session1; MorphReportControl.FixedPropertyTable["Denominator-SessionID"]= m_session2; MorphReportControl.Show(); }
private void InitializeComponent() { this.ItemsReportBox = new PGUserControl(); this.CreateNewItem = new Button(); this.GridRowContextMenu = new ContextMenu(); this.EditRow = new MenuItem(); this.DeleteRow = new MenuItem(); base.SuspendLayout(); this.ItemsReportBox.ConfigFile = ""; this.ItemsReportBox.DBCon = null; this.ItemsReportBox.Location = new Point(8, 8); this.ItemsReportBox.Name = "ItemsReportBox"; this.ItemsReportBox.Size = new Size(0x2b0, 0x278); this.ItemsReportBox.TabIndex = 0; this.ItemsReportBox.TotallingEnabled = false; this.CreateNewItem.Location = new Point(480, 0x260); this.CreateNewItem.Name = "CreateNewItem"; this.CreateNewItem.Size = new Size(0xc0, 0x17); this.CreateNewItem.TabIndex = 1; this.CreateNewItem.Text = "Create New Item..."; this.CreateNewItem.Click += new EventHandler(this.CreateNewItem_Click); this.GridRowContextMenu.MenuItems.AddRange(new MenuItem[] { this.EditRow, this.DeleteRow }); this.EditRow.Index = 0; this.EditRow.Text = "Edit.."; this.EditRow.Click += new EventHandler(this.EditRow_Click); this.DeleteRow.Index = 1; this.DeleteRow.Text = "Delete"; this.DeleteRow.Click += new EventHandler(this.DeleteRow_Click); this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x2b8, 0x27d); base.Controls.AddRange(new Control[] { this.CreateNewItem, this.ItemsReportBox }); base.MaximizeBox = false; base.Name = "ItemsPage"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Manage Items"; base.Load += new EventHandler(this.ItemsPage_Load); base.ResumeLayout(false); }
private void Init() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SharpClientTabPage)); this.AnalysisPanelGroup = new PSUI.PSPanelGroup(); this.analysisPanel = new PSUI.PSPanel(540); this.settingsPanel = new PSUI.PSPanel(425); this.ReportsNavigation = new System.Windows.Forms.TreeView(); this.saveSessionDlg = new System.Windows.Forms.SaveFileDialog(); this.saveSessionDlg.RestoreDirectory = true; this.saveSessionDlg.Title = "Export Session Data"; MorphReportControl=new PGUserControl(); MorphReportControl.TotallingEnabled = true; MorphReportControl.BackColor = System.Drawing.SystemColors.ActiveCaptionText; MorphReportControl.DBCon =null; MorphReportControl.ConfigFile =""; MorphReportControl.Dock=DockStyle.Fill; MorphReportControl.Location = new System.Drawing.Point(2, 35); MorphReportControl.Visible =false; Application.DoEvents(); /////////// ((System.ComponentModel.ISupportInitialize)(this.AnalysisPanelGroup)).BeginInit(); this.AnalysisPanelGroup.SuspendLayout(); if(m_fileName.ToLower().EndsWith(".fxml")) { cnfgSettings=new Configurator ("READONLY",new FunctionData(0,"","",false,false,1),null,false,true,false); } else if(m_fileName.ToLower().EndsWith(".oxml")) { cnfgSettings=new Configurator ("READONLY",null,new ObjectData( 0,"",false,true),false,true,false); } else { cnfgSettings=new Configurator ("READONLY",null,null,false,true,false); } settingsPanel.Controls.Add(cnfgSettings); cnfgSettings.Dock =DockStyle.Fill ; cnfgSettings.Visible =false; // // AnalysisPanelGroup // this.AnalysisPanelGroup.AutoScroll = false; this.AnalysisPanelGroup.BackColor = System.Drawing.Color.Transparent; this.AnalysisPanelGroup.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.AnalysisPanelGroup.Controls.Add(this.analysisPanel); this.AnalysisPanelGroup.Controls.Add(this.settingsPanel); //this.AnalysisPanelGroup.Dock = System.Windows.Forms.DockStyle.Top; this.AnalysisPanelGroup.Dock = System.Windows.Forms.DockStyle.Fill; this.AnalysisPanelGroup.Location = new System.Drawing.Point(17, 17); this.AnalysisPanelGroup.Name = "AnalysisPanelGroup"; this.AnalysisPanelGroup.PanelGradient = ((PSUI.GradientColor)(resources.GetObject("AnalysisPanelGroup.PanelGradient"))); //this.AnalysisPanelGroup.Size = new System.Drawing.Size(728, 581); // // analysisPanel // this.analysisPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.analysisPanel.AnimationRate = 0; this.analysisPanel.BackColor = System.Drawing.Color.Transparent; this.analysisPanel.Caption = "Analyze"; this.analysisPanel.CaptionCornerType = PSUI.CornerType.Top; this.analysisPanel.CaptionGradient.End = System.Drawing.SystemColors.AppWorkspace; this.analysisPanel.CaptionGradient.Start = System.Drawing.SystemColors.AppWorkspace; this.analysisPanel.CaptionGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.analysisPanel.CaptionUnderline = System.Drawing.Color.Gray; this.analysisPanel.CurveRadius = 12; this.analysisPanel.Font = new System.Drawing.Font("Arial", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.analysisPanel.ForeColor = System.Drawing.SystemColors.WindowText; this.analysisPanel.HorzAlignment = System.Drawing.StringAlignment.Near; this.analysisPanel.ImageItems.PSImgSet = null; this.analysisPanel.Location = new System.Drawing.Point(517, 17); this.analysisPanel.Name = "analysisPanel"; this.analysisPanel.PanelGradient.End = System.Drawing.Color.White; this.analysisPanel.PanelGradient.Start = System.Drawing.Color.White; this.analysisPanel.PanelGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.analysisPanel.Size = new System.Drawing.Size(720, 540); this.analysisPanel.TabIndex = 1; this.analysisPanel.TextColors.Background = System.Drawing.SystemColors.ActiveCaptionText; this.analysisPanel.TextColors.Foreground = System.Drawing.SystemColors.ControlText; this.analysisPanel.TextHighlightColors.Background = System.Drawing.SystemColors.ControlText; this.analysisPanel.TextHighlightColors.Foreground = System.Drawing.SystemColors.ActiveCaptionText; this.analysisPanel.VertAlignment = System.Drawing.StringAlignment.Center; this.analysisPanel.Expanded += new System.EventHandler(this.settingsPanel_Expanded); // // settingsPanel // this.settingsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.settingsPanel.AnimationRate = 0; this.settingsPanel.BackColor = System.Drawing.Color.Transparent; this.settingsPanel.Caption = "Session Settings"; this.settingsPanel.CaptionCornerType = PSUI.CornerType.Top; this.settingsPanel.CaptionGradient.End = System.Drawing.SystemColors.AppWorkspace; this.settingsPanel.CaptionGradient.Start = System.Drawing.SystemColors.AppWorkspace; this.settingsPanel.CaptionGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.settingsPanel.CaptionUnderline = System.Drawing.Color.Gray; this.settingsPanel.CurveRadius = 12; this.settingsPanel.Font = new System.Drawing.Font("Arial", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.settingsPanel.ForeColor = System.Drawing.SystemColors.WindowText; this.settingsPanel.HorzAlignment = System.Drawing.StringAlignment.Near; this.settingsPanel.ImageItems.PSImgSet = null; this.settingsPanel.Location = new System.Drawing.Point(166, 17); this.settingsPanel.Name = "settingsPanel"; this.settingsPanel.PanelGradient.End = System.Drawing.Color.White; this.settingsPanel.PanelGradient.Start = System.Drawing.Color.White; this.settingsPanel.PanelGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.settingsPanel.PanelState = PSUI.PSPanelState.Collapsed; this.settingsPanel.Size = new System.Drawing.Size(720, 425); this.settingsPanel.TabIndex = 0; this.settingsPanel.TextColors.Background = System.Drawing.SystemColors.ActiveCaptionText; this.settingsPanel.TextColors.Foreground = System.Drawing.SystemColors.ControlText; this.settingsPanel.TextHighlightColors.Background = System.Drawing.SystemColors.ControlText; this.settingsPanel.TextHighlightColors.Foreground = System.Drawing.SystemColors.ActiveCaptionText; this.settingsPanel.VertAlignment = System.Drawing.StringAlignment.Center; this.settingsPanel.Expanded += new System.EventHandler(this.settingsPanel_Expanded); // // ReportsNavigation // this.ReportsNavigation.Dock = System.Windows.Forms.DockStyle.Fill; this.ReportsNavigation.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.ReportsNavigation.FullRowSelect = true; this.ReportsNavigation.Location = new System.Drawing.Point(776, 17); this.ReportsNavigation.Name = "ReportsNavigation"; this.ReportsNavigation.SelectedImageIndex = -1; this.ReportsNavigation.Size = new System.Drawing.Size(708, 474); this.ReportsNavigation.TabIndex = 1; this.ReportsNavigation.ImageList=SharpClientForm.scInstance.imageList2; this.ReportsNavigation.ImageIndex=1; // // reportsImgList // ((System.ComponentModel.ISupportInitialize)(this.AnalysisPanelGroup)).EndInit(); this.AnalysisPanelGroup.ResumeLayout(false); this.analysisPanel.Controls.Add(ReportsNavigation); this.Controls.Add(AnalysisPanelGroup); if(m_fileName.ToLower().EndsWith(".fxml")) { LoadReportList(Application.StartupPath+ @"\PerformanceReportDefs\PerformanceReportCollection.xml"); } else if(m_fileName.ToLower().EndsWith(".oxml")) { LoadReportList(Application.StartupPath+@".\MemoryReportDefs\MemoryReportCollection.xml"); } ReportsNavigation.DoubleClick +=new EventHandler(ReportsNavigation_DoubleClick); }