/// <summary> /// Invokes a Windows.Forms.PrintPreviewDialog. /// </summary> public static bool PageSetupDialog(this TextEditor textEditor) { PrintSettings settings = textEditor.Tag as PrintSettings; if (settings == null) { settings = new PrintSettings(); textEditor.Tag = settings; } settings.PageSettings.Landscape = (settings.PrintTicket.PageOrientation == PageOrientation.Landscape); var setup = new System.Windows.Forms.PageSetupDialog(); setup.EnableMetric = true; setup.PageSettings = settings.PageSettings; var result = setup.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { settings.PageSettings = setup.PageSettings; settings.PrintTicket.PageOrientation = (settings.PageSettings.Landscape ? PageOrientation.Landscape : PageOrientation.Portrait); settings.PrintTicket.PageMediaSize = ConvertPaperSizeToMediaSize(settings.PageSettings.PaperSize); } return(result == System.Windows.Forms.DialogResult.OK); }
/// <summary> /// Save page setup information. /// </summary> /// <param name="pageSetupDlg">Page setup dialog.</param> private void SavePageSetupInformation(PageSetupDialog pageSetupDlg) { // Save any preferences that might have been customized: // Current printer, page size, orientation, margins // SaveCurrentPrinterChoice(pageSetupDlg); // Win32 PageSetupDialog uses hundredths of inches. _leftMargin = pageSetupDlg.PageSettings.Margins.Left; // / 25400; _rightMargin = pageSetupDlg.PageSettings.Margins.Right; // / 25400; _topMargin = pageSetupDlg.PageSettings.Margins.Top; // / 25400; _bottomMargin = pageSetupDlg.PageSettings.Margins.Bottom; // / 25400; PrintTicket printTicket = _currentPrinterSettings; if (pageSetupDlg.PageSettings.Landscape) { _pageOrientation = printTicket.PageOrientation = PageOrientation.Landscape; } else { _pageOrientation = printTicket.PageOrientation = PageOrientation.Portrait; } if (printTicket.PageMediaSize != null) { _pageSize = printTicket.PageMediaSize.PageMediaSizeName; } }
/// <summary> /// Setup page print dialog. /// </summary> /// <returns>The page setup dialog with settings.</returns> private PageSetupDialog SetUpPageSetupDialog() { PageSetupDialog pageSetupDlg = new PageSetupDialog(); pageSetupDlg.PageSettings = new System.Drawing.Printing.PageSettings(); pageSetupDlg.PrinterSettings = new System.Drawing.Printing.PrinterSettings(); //LoadCurrentPrinterChoice(pageSetupDlg); //load up margin info // Win32 PageSetupDialog uses hundredths of inches. pageSetupDlg.PageSettings.Margins.Left = (int)_leftMargin; pageSetupDlg.PageSettings.Margins.Right = (int)_rightMargin; pageSetupDlg.PageSettings.Margins.Top = (int)_topMargin; pageSetupDlg.PageSettings.Margins.Bottom = (int)_bottomMargin; PrintTicket printTicket; if (_currentPrinterSettings != null) { printTicket = _currentPrinterSettings; } else { printTicket = new PrintTicket(); } // Load up orientation info if (_pageOrientation != null) { printTicket.PageOrientation = (PageOrientation)_pageOrientation; switch (_pageOrientation) { case PageOrientation.Landscape: pageSetupDlg.PageSettings.Landscape = true; break; case PageOrientation.Portrait: pageSetupDlg.PageSettings.Landscape = false; break; // Any other settings, the Win32 PageSetupDialog cannot handle so, we default to portrait default: pageSetupDlg.PageSettings.Landscape = false; break; } } // Load up page size info if (_pageSize != null) { printTicket.PageMediaSize = new PageMediaSize((PageMediaSizeName)_pageSize); } _currentPrinterSettings = printTicket; return(pageSetupDlg); }
/// <summary> /// Show page setup dialog. /// </summary> public void PageSetup() { PageSetupDialog pageSetupDlg = SetUpPageSetupDialog(); PageSetupDialogResult dialogResult = pageSetupDlg.ShowDialog(); if (dialogResult == PageSetupDialogResult.OK) { SavePageSetupInformation(pageSetupDlg); } }
//----------------------------------------------------------------------------------- /// <summary> /// Выводит диалого настройки страницы для печати /// </summary> public void PageSettings() { if (_PrintDocument != null) { System.Windows.Forms.PageSetupDialog pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); pageSetupDialog.Document = _PrintDocument; pageSetupDialog.ShowDialog(); } return; }
/// <summary> /// Sets the print document for both the page setup dialog and the print dialog. /// </summary> /// <param name="printDocument">The document to set.</param> public void SetPrintDocument(System.Drawing.Printing.PrintDocument printDocument) { if (_pageSetupDialog == null) { _pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); } if (_printDialog == null) { _printDialog = new System.Windows.Forms.PrintDialog(); } _pageSetupDialog.Document = printDocument; _printDialog.Document = printDocument; }
void pageSetupDialogButton_Click(object sender, RoutedEventArgs e) { // Creating the PageSetupDialog in code //System.Windows.Forms.PageSetupDialog dlg = new System.Windows.Forms.PageSetupDialog(); //dlg.PageSettings = new System.Drawing.Printing.PageSettings(); // Get the PageSetupDialog created in XAML System.Windows.Forms.PageSetupDialog dlg = (System.Windows.Forms.PageSetupDialog)Resources["printSetupDialog"]; string prefix = "Page Setup Dialog: "; dlg.PageSettings.Landscape = ((string)pageSetupDialogButton.Content).EndsWith("Landscape"); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { pageSetupDialogButton.Content = prefix + "Orientation=" + (dlg.PageSettings.Landscape ? "Landscape" : "Portrait"); } }
//----------------------------------------------------------------------------------- /// <summary> /// Выводит диалого настройки страницы для печати /// </summary> public void PageSettings() { if (_PrintDocument != null) { System.Windows.Forms.PageSetupDialog pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); pageSetupDialog.Document = _PrintDocument; pageSetupDialog.ShowDialog(); } return; }
/// <summary> /// Sets the print document for both the page setup dialog and the print dialog. /// </summary> /// <param name="printDocument">The document to set.</param> public void SetPrintDocument(System.Drawing.Printing.PrintDocument printDocument) { if (_pageSetupDialog == null) _pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); if (_printDialog == null) _printDialog = new System.Windows.Forms.PrintDialog(); _pageSetupDialog.Document = printDocument; _printDialog.Document = printDocument; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); replaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator(); clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator(); wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); fontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); openFileDialog = new System.Windows.Forms.OpenFileDialog(); printDialog = new System.Windows.Forms.PrintDialog(); saveFileDialog = new System.Windows.Forms.SaveFileDialog(); fontDialog = new System.Windows.Forms.FontDialog(); contextMenuStrip.SuspendLayout(); SuspendLayout(); // // contextMenuStrip // contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { cutToolStripMenuItem, copyToolStripMenuItem, pasteToolStripMenuItem, toolStripMenuItem2, findToolStripMenuItem, replaceToolStripMenuItem, toolStripMenuItem4, clearToolStripMenuItem, openToolStripMenuItem, saveToolStripMenuItem, saveAsToolStripMenuItem, toolStripMenuItem1, pageSetupToolStripMenuItem, printToolStripMenuItem, toolStripMenuItem3, wordWrapToolStripMenuItem, fontToolStripMenuItem }); contextMenuStrip.Name = "contextMenuStrip"; contextMenuStrip.Size = new System.Drawing.Size(159, 314); // // cutToolStripMenuItem // cutToolStripMenuItem.Name = "cutToolStripMenuItem"; cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); cutToolStripMenuItem.Size = new System.Drawing.Size(158, 22); cutToolStripMenuItem.Text = "Cut"; cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // copyToolStripMenuItem // copyToolStripMenuItem.Name = "copyToolStripMenuItem"; copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); copyToolStripMenuItem.Size = new System.Drawing.Size(158, 22); copyToolStripMenuItem.Text = "Copy"; copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // pasteToolStripMenuItem // pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); pasteToolStripMenuItem.Size = new System.Drawing.Size(158, 22); pasteToolStripMenuItem.Text = "Paste"; pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // toolStripMenuItem2 // toolStripMenuItem2.Name = "toolStripMenuItem2"; toolStripMenuItem2.Size = new System.Drawing.Size(155, 6); // // findToolStripMenuItem // findToolStripMenuItem.Name = "findToolStripMenuItem"; findToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); findToolStripMenuItem.Size = new System.Drawing.Size(158, 22); findToolStripMenuItem.Text = "Find"; findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click); // // replaceToolStripMenuItem // replaceToolStripMenuItem.Name = "replaceToolStripMenuItem"; replaceToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); replaceToolStripMenuItem.Size = new System.Drawing.Size(158, 22); replaceToolStripMenuItem.Text = "Replace"; replaceToolStripMenuItem.Click += new System.EventHandler(this.replaceToolStripMenuItem_Click); // // toolStripMenuItem4 // toolStripMenuItem4.Name = "toolStripMenuItem4"; toolStripMenuItem4.Size = new System.Drawing.Size(155, 6); // // clearToolStripMenuItem // clearToolStripMenuItem.Name = "clearToolStripMenuItem"; clearToolStripMenuItem.Size = new System.Drawing.Size(158, 22); clearToolStripMenuItem.Text = "Clear"; clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); // // openToolStripMenuItem // openToolStripMenuItem.Name = "openToolStripMenuItem"; openToolStripMenuItem.Size = new System.Drawing.Size(158, 22); openToolStripMenuItem.Text = "Open..."; openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); // // saveToolStripMenuItem // saveToolStripMenuItem.Name = "saveToolStripMenuItem"; saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); saveToolStripMenuItem.Size = new System.Drawing.Size(158, 22); saveToolStripMenuItem.Text = "Save"; saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // saveAsToolStripMenuItem // saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; saveAsToolStripMenuItem.Size = new System.Drawing.Size(158, 22); saveAsToolStripMenuItem.Text = "Save As..."; saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click); // // toolStripMenuItem1 // toolStripMenuItem1.Name = "toolStripMenuItem1"; toolStripMenuItem1.Size = new System.Drawing.Size(155, 6); // // pageSetupToolStripMenuItem // pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; pageSetupToolStripMenuItem.Size = new System.Drawing.Size(158, 22); pageSetupToolStripMenuItem.Text = "Page Setup..."; pageSetupToolStripMenuItem.Click += new System.EventHandler(this.pageSetupToolStripMenuItem_Click); // // printToolStripMenuItem // printToolStripMenuItem.Name = "printToolStripMenuItem"; printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); printToolStripMenuItem.Size = new System.Drawing.Size(158, 22); printToolStripMenuItem.Text = "&Print"; printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click); // // toolStripMenuItem3 // toolStripMenuItem3.Name = "toolStripMenuItem3"; toolStripMenuItem3.Size = new System.Drawing.Size(155, 6); // // wordWrapToolStripMenuItem // wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem"; wordWrapToolStripMenuItem.Size = new System.Drawing.Size(158, 22); wordWrapToolStripMenuItem.Text = "Word Wrap"; wordWrapToolStripMenuItem.Click += new System.EventHandler(this.wordWrapToolStripMenuItem_Click); // // fontToolStripMenuItem // fontToolStripMenuItem.Name = "fontToolStripMenuItem"; fontToolStripMenuItem.Size = new System.Drawing.Size(158, 22); fontToolStripMenuItem.Text = "Font..."; fontToolStripMenuItem.Click += new System.EventHandler(this.fontToolStripMenuItem_Click); // // saveFileDialog // saveFileDialog.FileName = "doc1"; // // TextEdit // ContextMenuStrip = this.contextMenuStrip; Font = new System.Drawing.Font("Courier New", 9F); Multiline = true; Size = new System.Drawing.Size(100, 20); WordWrap = false; contextMenuStrip.ResumeLayout(false); ResumeLayout(false); }
protected override void AjusterPageSetupDialog(System.Windows.Forms.PageSetupDialog p_psd) { p_psd.AllowMargins = true; p_psd.AllowOrientation = true; // Si on veut s'en occuper... }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrinter)); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewControl1 = new System.Windows.Forms.PrintPreviewControl(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar2 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barEditItem1 = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.barEditItem2 = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemCheckEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.barEditItem3 = new DevExpress.XtraBars.BarEditItem(); this.repositoryItemCheckEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.bar3 = new DevExpress.XtraBars.Bar(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.imageList3 = new System.Windows.Forms.ImageList(this.components); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); this.SuspendLayout(); // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewControl1 // this.printPreviewControl1.AutoZoom = false; this.printPreviewControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.printPreviewControl1.Document = this.printDocument1; this.printPreviewControl1.Location = new System.Drawing.Point(0, 34); this.printPreviewControl1.Name = "printPreviewControl1"; this.printPreviewControl1.Size = new System.Drawing.Size(644, 351); this.printPreviewControl1.TabIndex = 0; this.printPreviewControl1.Zoom = 0.5; this.printPreviewControl1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.printPreviewControl1_MouseClick); // // pageSetupDialog1 // this.pageSetupDialog1.Document = this.printDocument1; this.pageSetupDialog1.EnableMetric = true; // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar2, this.bar3}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Images = this.imageList3; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4, this.barEditItem1, this.barEditItem2, this.barEditItem3}); this.barManager1.MaxItemId = 9; this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1, this.repositoryItemCheckEdit1, this.repositoryItemCheckEdit2, this.repositoryItemCheckEdit3}); this.barManager1.StatusBar = this.bar3; // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem2, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barEditItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barEditItem2, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barEditItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)}); this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; // // barButtonItem1 // this.barButtonItem1.Caption = "设置"; this.barButtonItem1.Id = 0; this.barButtonItem1.ImageIndex = 19; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "刷新"; this.barButtonItem2.Id = 1; this.barButtonItem2.ImageIndex = 5; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barButtonItem3 // this.barButtonItem3.Caption = "打印"; this.barButtonItem3.Id = 2; this.barButtonItem3.ImageIndex = 4; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick); // // barButtonItem4 // this.barButtonItem4.Caption = "关闭"; this.barButtonItem4.Id = 3; this.barButtonItem4.ImageIndex = 6; this.barButtonItem4.Name = "barButtonItem4"; this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick); // // barEditItem1 // this.barEditItem1.Caption = "地图显示"; this.barEditItem1.Edit = this.repositoryItemCheckEdit1; this.barEditItem1.EditValue = true; this.barEditItem1.Id = 6; this.barEditItem1.Name = "barEditItem1"; this.barEditItem1.Width = 30; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; this.repositoryItemCheckEdit1.CheckedChanged += new System.EventHandler(this.repositoryItemCheckEdit1_CheckedChanged); // // barEditItem2 // this.barEditItem2.Caption = "居中显示"; this.barEditItem2.Edit = this.repositoryItemCheckEdit2; this.barEditItem2.EditValue = true; this.barEditItem2.Id = 7; this.barEditItem2.Name = "barEditItem2"; this.barEditItem2.Width = 30; // // repositoryItemCheckEdit2 // this.repositoryItemCheckEdit2.AutoHeight = false; this.repositoryItemCheckEdit2.Name = "repositoryItemCheckEdit2"; this.repositoryItemCheckEdit2.CheckedChanged += new System.EventHandler(this.repositoryItemCheckEdit2_CheckedChanged); // // barEditItem3 // this.barEditItem3.Caption = "区域显示"; this.barEditItem3.Edit = this.repositoryItemCheckEdit3; this.barEditItem3.EditValue = true; this.barEditItem3.Id = 8; this.barEditItem3.Name = "barEditItem3"; // // repositoryItemCheckEdit3 // this.repositoryItemCheckEdit3.AutoHeight = false; this.repositoryItemCheckEdit3.Name = "repositoryItemCheckEdit3"; this.repositoryItemCheckEdit3.CheckedChanged += new System.EventHandler(this.repositoryItemCheckEdit3_CheckedChanged); // // bar3 // this.bar3.BarName = "Status bar"; this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Status bar"; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(644, 34); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 385); this.barDockControlBottom.Size = new System.Drawing.Size(644, 22); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 34); this.barDockControlLeft.Size = new System.Drawing.Size(0, 351); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(644, 34); this.barDockControlRight.Size = new System.Drawing.Size(0, 351); // // imageList3 // this.imageList3.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream"))); this.imageList3.TransparentColor = System.Drawing.Color.Transparent; this.imageList3.Images.SetKeyName(0, "保存.ico"); this.imageList3.Images.SetKeyName(1, "布局.ico"); this.imageList3.Images.SetKeyName(2, "查询.ico"); this.imageList3.Images.SetKeyName(3, "打回重新编.ico"); this.imageList3.Images.SetKeyName(4, "打印.ico"); this.imageList3.Images.SetKeyName(5, "发送.ico"); this.imageList3.Images.SetKeyName(6, "关闭1.ico"); this.imageList3.Images.SetKeyName(7, "关闭.ico"); this.imageList3.Images.SetKeyName(8, "角色.ico"); this.imageList3.Images.SetKeyName(9, "三等功发1.ico"); this.imageList3.Images.SetKeyName(10, "删除.ico"); this.imageList3.Images.SetKeyName(11, "审核.ico"); this.imageList3.Images.SetKeyName(12, "审批.ico"); this.imageList3.Images.SetKeyName(13, "授权.ico"); this.imageList3.Images.SetKeyName(14, "刷新.ico"); this.imageList3.Images.SetKeyName(15, "添加同级.ico"); this.imageList3.Images.SetKeyName(16, "添加下级.ico"); this.imageList3.Images.SetKeyName(17, "新建.ico"); this.imageList3.Images.SetKeyName(18, "修改.ico"); this.imageList3.Images.SetKeyName(19, "作废.ico"); this.imageList3.Images.SetKeyName(20, "06 Picture.ico"); this.imageList3.Images.SetKeyName(21, "Users.ico"); // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // frmPrinter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(644, 407); this.Controls.Add(this.printPreviewControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmPrinter"; this.Text = "打印预览"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDeclare)); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox15 = new System.Windows.Forms.TextBox(); this.label19 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.textBox9 = new System.Windows.Forms.TextBox(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.textBox14 = new System.Windows.Forms.TextBox(); this.textBox13 = new System.Windows.Forms.TextBox(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.textBox12 = new System.Windows.Forms.TextBox(); this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.buttonX4 = new DevComponents.DotNetBar.ButtonX(); this.buttonOK = new DevComponents.DotNetBar.ButtonX(); this.buttonCancel = new DevComponents.DotNetBar.ButtonX(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(44, 60); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 0; this.label1.Text = "投诉时间"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(68, 30); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 12); this.label2.TabIndex = 1; this.label2.Text = "单号"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(312, 60); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 12); this.label3.TabIndex = 2; this.label3.Text = "机型"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(68, 87); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(29, 12); this.label4.TabIndex = 3; this.label4.Text = "车主"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(312, 87); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(29, 12); this.label5.TabIndex = 4; this.label5.Text = "车牌"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(68, 114); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(29, 12); this.label6.TabIndex = 5; this.label6.Text = "电话"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(288, 114); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(53, 12); this.label7.TabIndex = 6; this.label7.Text = "汽车品牌"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(56, 142); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(41, 12); this.label8.TabIndex = 7; this.label8.Text = "业务员"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(44, 169); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(53, 12); this.label9.TabIndex = 8; this.label9.Text = "联系地址"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(15, 196); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(89, 12); this.label10.TabIndex = 9; this.label10.Text = "投诉、故障内容"; // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.Transparent; this.groupBox1.Controls.Add(this.textBox15); this.groupBox1.Controls.Add(this.label19); this.groupBox1.Controls.Add(this.label11); this.groupBox1.Controls.Add(this.textBox9); this.groupBox1.Controls.Add(this.dateTimePicker1); this.groupBox1.Controls.Add(this.textBox8); this.groupBox1.Controls.Add(this.textBox7); this.groupBox1.Controls.Add(this.textBox6); this.groupBox1.Controls.Add(this.textBox5); this.groupBox1.Controls.Add(this.textBox4); this.groupBox1.Controls.Add(this.textBox3); this.groupBox1.Controls.Add(this.textBox2); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Location = new System.Drawing.Point(12, 32); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(554, 354); this.groupBox1.TabIndex = 10; this.groupBox1.TabStop = false; this.groupBox1.Text = "投诉、故障申报内容"; // // textBox15 // this.textBox15.Location = new System.Drawing.Point(101, 328); this.textBox15.Name = "textBox15"; this.textBox15.Size = new System.Drawing.Size(156, 21); this.textBox15.TabIndex = 23; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(55, 336); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(41, 12); this.label19.TabIndex = 22; this.label19.Text = "申报人"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(15, 286); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(89, 12); this.label11.TabIndex = 20; this.label11.Text = "投诉、故障历史"; // // textBox9 // this.textBox9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox9.Location = new System.Drawing.Point(17, 211); this.textBox9.Multiline = true; this.textBox9.Name = "textBox9"; this.textBox9.Size = new System.Drawing.Size(520, 72); this.textBox9.TabIndex = 19; // // dateTimePicker1 // this.dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm"; this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker1.Location = new System.Drawing.Point(103, 51); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(156, 21); this.dateTimePicker1.TabIndex = 18; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(103, 160); this.textBox8.Name = "textBox8"; this.textBox8.Size = new System.Drawing.Size(434, 21); this.textBox8.TabIndex = 17; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(103, 133); this.textBox7.Name = "textBox7"; this.textBox7.Size = new System.Drawing.Size(156, 21); this.textBox7.TabIndex = 16; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(347, 105); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(156, 21); this.textBox6.TabIndex = 15; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(103, 105); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(156, 21); this.textBox5.TabIndex = 14; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(347, 78); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(156, 21); this.textBox4.TabIndex = 13; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(103, 78); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(156, 21); this.textBox3.TabIndex = 12; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(347, 51); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(156, 21); this.textBox2.TabIndex = 11; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(103, 21); this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(156, 21); this.textBox1.TabIndex = 10; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(3, 4); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(542, 20); this.comboBox1.TabIndex = 21; // // groupBox2 // this.groupBox2.BackColor = System.Drawing.Color.Transparent; this.groupBox2.Controls.Add(this.textBox14); this.groupBox2.Controls.Add(this.textBox13); this.groupBox2.Controls.Add(this.comboBox2); this.groupBox2.Controls.Add(this.textBox12); this.groupBox2.Controls.Add(this.dateTimePicker2); this.groupBox2.Controls.Add(this.textBox11); this.groupBox2.Controls.Add(this.textBox10); this.groupBox2.Controls.Add(this.label18); this.groupBox2.Controls.Add(this.label17); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.label15); this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Location = new System.Drawing.Point(10, 387); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(554, 268); this.groupBox2.TabIndex = 11; this.groupBox2.TabStop = false; this.groupBox2.Text = "处理情况"; // // textBox14 // this.textBox14.Location = new System.Drawing.Point(103, 241); this.textBox14.Name = "textBox14"; this.textBox14.ReadOnly = true; this.textBox14.Size = new System.Drawing.Size(156, 21); this.textBox14.TabIndex = 26; // // textBox13 // this.textBox13.Location = new System.Drawing.Point(103, 213); this.textBox13.Name = "textBox13"; this.textBox13.Size = new System.Drawing.Size(434, 21); this.textBox13.TabIndex = 25; // // comboBox2 // this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { "满意", "一般", "不满意"}); this.comboBox2.Location = new System.Drawing.Point(103, 187); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(156, 20); this.comboBox2.TabIndex = 24; // // textBox12 // this.textBox12.Location = new System.Drawing.Point(347, 157); this.textBox12.Name = "textBox12"; this.textBox12.Size = new System.Drawing.Size(156, 21); this.textBox12.TabIndex = 23; // // dateTimePicker2 // this.dateTimePicker2.CustomFormat = "yyyy-MM-dd HH:mm"; this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dateTimePicker2.Location = new System.Drawing.Point(103, 156); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new System.Drawing.Size(156, 21); this.dateTimePicker2.TabIndex = 22; // // textBox11 // this.textBox11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox11.Location = new System.Drawing.Point(17, 106); this.textBox11.Multiline = true; this.textBox11.Name = "textBox11"; this.textBox11.Size = new System.Drawing.Size(520, 44); this.textBox11.TabIndex = 21; // // textBox10 // this.textBox10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textBox10.Location = new System.Drawing.Point(17, 32); this.textBox10.Multiline = true; this.textBox10.Name = "textBox10"; this.textBox10.Size = new System.Drawing.Size(520, 56); this.textBox10.TabIndex = 20; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(56, 246); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(41, 12); this.label18.TabIndex = 6; this.label18.Text = "处理人"; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(68, 221); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(29, 12); this.label17.TabIndex = 5; this.label17.Text = "意见"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(44, 195); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(53, 12); this.label16.TabIndex = 4; this.label16.Text = "客户意见"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(276, 165); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(65, 12); this.label15.TabIndex = 3; this.label15.Text = "经办技术员"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(44, 165); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(53, 12); this.label14.TabIndex = 2; this.label14.Text = "处理日期"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(15, 91); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(89, 12); this.label13.TabIndex = 1; this.label13.Text = "维修或更换配件"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(15, 17); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(53, 12); this.label12.TabIndex = 0; this.label12.Text = "处理情况"; // // 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; // // buttonX4 // this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX4.Location = new System.Drawing.Point(27, 661); this.buttonX4.Name = "buttonX4"; this.buttonX4.Size = new System.Drawing.Size(93, 23); this.buttonX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonX4.TabIndex = 42; this.buttonX4.Text = "打印"; this.buttonX4.Click += new System.EventHandler(this.button3_Click); // // buttonOK // this.buttonOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonOK.Location = new System.Drawing.Point(348, 661); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(93, 23); this.buttonOK.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonOK.TabIndex = 43; this.buttonOK.Text = "提交"; this.buttonOK.Click += new System.EventHandler(this.button1_Click); // // buttonCancel // this.buttonCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.Location = new System.Drawing.Point(462, 661); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(93, 23); this.buttonCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.buttonCancel.TabIndex = 44; this.buttonCancel.Text = "取消"; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.comboBox1); this.panel1.Location = new System.Drawing.Point(15, 333); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(550, 26); this.panel1.TabIndex = 27; // // FormDeclare // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::YTGPS_Client.Properties.Resources.fbk3; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(579, 706); this.Controls.Add(this.panel1); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonX4); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormDeclare"; this.ShowInTaskbar = false; this.Text = "投诉、故障申报"; this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.FormDeclare_KeyPress); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormDeclare_FormClosing); this.Controls.SetChildIndex(this.groupBox1, 0); this.Controls.SetChildIndex(this.groupBox2, 0); this.Controls.SetChildIndex(this.buttonX4, 0); this.Controls.SetChildIndex(this.buttonOK, 0); this.Controls.SetChildIndex(this.buttonCancel, 0); this.Controls.SetChildIndex(this.panel1, 0); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SatisForm)); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.panel3 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblSalon = new System.Windows.Forms.Label(); this.lblSeans = new System.Windows.Forms.Label(); this.lblFilmAdi = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.btnBiletAyar = new System.Windows.Forms.Button(); this.label12 = new System.Windows.Forms.Label(); this.txtIndirimli = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.txtBiletler = new System.Windows.Forms.TextBox(); this.txtAlici = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.btnBiletIptal = new System.Windows.Forms.Button(); this.txtIptalBiletler = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.btnSatis = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel4 = new System.Windows.Forms.Panel(); this.label14 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel4.SuspendLayout(); this.SuspendLayout(); // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(234, 372); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(100, 15); this.progressBar1.TabIndex = 46; // // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel3.Location = new System.Drawing.Point(771, 32); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(2, 351); this.panel3.TabIndex = 41; // // groupBox1 // this.groupBox1.Controls.Add(this.lblSalon); this.groupBox1.Controls.Add(this.lblSeans); this.groupBox1.Controls.Add(this.lblFilmAdi); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox1.Location = new System.Drawing.Point(11, 21); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(164, 90); this.groupBox1.TabIndex = 38; this.groupBox1.TabStop = false; this.groupBox1.Text = "Gişe Bilgileri"; // // lblSalon // this.lblSalon.AutoSize = true; this.lblSalon.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblSalon.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblSalon.Location = new System.Drawing.Point(65, 61); this.lblSalon.Name = "lblSalon"; this.lblSalon.Size = new System.Drawing.Size(53, 17); this.lblSalon.TabIndex = 28; this.lblSalon.Text = "..............."; // // lblSeans // this.lblSeans.AutoSize = true; this.lblSeans.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblSeans.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblSeans.Location = new System.Drawing.Point(65, 41); this.lblSeans.Name = "lblSeans"; this.lblSeans.Size = new System.Drawing.Size(53, 17); this.lblSeans.TabIndex = 27; this.lblSeans.Text = "..............."; // // lblFilmAdi // this.lblFilmAdi.AutoSize = true; this.lblFilmAdi.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblFilmAdi.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.lblFilmAdi.Location = new System.Drawing.Point(65, 21); this.lblFilmAdi.Name = "lblFilmAdi"; this.lblFilmAdi.Size = new System.Drawing.Size(53, 17); this.lblFilmAdi.TabIndex = 26; this.lblFilmAdi.Text = "..............."; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label5.Location = new System.Drawing.Point(8, 61); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(43, 17); this.label5.TabIndex = 25; this.label5.Text = "Salon:"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label4.Location = new System.Drawing.Point(8, 41); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(45, 17); this.label4.TabIndex = 7; this.label4.Text = "Seans:"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label3.Location = new System.Drawing.Point(8, 21); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 17); this.label3.TabIndex = 6; this.label3.Text = "Film adı:"; // // groupBox2 // this.groupBox2.Controls.Add(this.btnBiletAyar); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.txtIndirimli); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.txtBiletler); this.groupBox2.Controls.Add(this.txtAlici); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox2.Location = new System.Drawing.Point(11, 114); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(164, 147); this.groupBox2.TabIndex = 39; this.groupBox2.TabStop = false; this.groupBox2.Text = "Bilet Bilgileri"; // // btnBiletAyar // this.btnBiletAyar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.btnBiletAyar.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBiletAyar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBiletAyar.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnBiletAyar.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnBiletAyar.Location = new System.Drawing.Point(12, 113); this.btnBiletAyar.Name = "btnBiletAyar"; this.btnBiletAyar.Size = new System.Drawing.Size(147, 26); this.btnBiletAyar.TabIndex = 37; this.btnBiletAyar.Text = "Bilet Ayarları"; this.btnBiletAyar.UseVisualStyleBackColor = false; this.btnBiletAyar.Click += new System.EventHandler(this.btnBiletAyar_Click); // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label12.Location = new System.Drawing.Point(121, 84); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(37, 17); this.label12.TabIndex = 36; this.label12.Text = "adet."; // // txtIndirimli // this.txtIndirimli.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtIndirimli.Location = new System.Drawing.Point(68, 81); this.txtIndirimli.Name = "txtIndirimli"; this.txtIndirimli.Size = new System.Drawing.Size(53, 25); this.txtIndirimli.TabIndex = 35; this.txtIndirimli.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label11.Location = new System.Drawing.Point(9, 84); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(57, 17); this.label11.TabIndex = 34; this.label11.Text = "İndirimli:"; // // txtBiletler // this.txtBiletler.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtBiletler.Location = new System.Drawing.Point(68, 53); this.txtBiletler.Name = "txtBiletler"; this.txtBiletler.Size = new System.Drawing.Size(90, 25); this.txtBiletler.TabIndex = 33; // // txtAlici // this.txtAlici.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtAlici.Location = new System.Drawing.Point(68, 25); this.txtAlici.Name = "txtAlici"; this.txtAlici.Size = new System.Drawing.Size(90, 25); this.txtAlici.TabIndex = 32; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label10.Location = new System.Drawing.Point(9, 56); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(50, 17); this.label10.TabIndex = 30; this.label10.Text = "Biletler:"; // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label9.Location = new System.Drawing.Point(9, 28); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(34, 17); this.label9.TabIndex = 29; this.label9.Text = "Alıcı:"; // // groupBox3 // this.groupBox3.Controls.Add(this.btnBiletIptal); this.groupBox3.Controls.Add(this.txtIptalBiletler); this.groupBox3.Controls.Add(this.label13); this.groupBox3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox3.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.groupBox3.Location = new System.Drawing.Point(11, 262); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(164, 86); this.groupBox3.TabIndex = 43; this.groupBox3.TabStop = false; this.groupBox3.Text = "Bilet İptali"; // // btnBiletIptal // this.btnBiletIptal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.btnBiletIptal.Cursor = System.Windows.Forms.Cursors.Hand; this.btnBiletIptal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBiletIptal.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnBiletIptal.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnBiletIptal.Location = new System.Drawing.Point(11, 52); this.btnBiletIptal.Name = "btnBiletIptal"; this.btnBiletIptal.Size = new System.Drawing.Size(147, 26); this.btnBiletIptal.TabIndex = 37; this.btnBiletIptal.Text = "Onayla"; this.btnBiletIptal.UseVisualStyleBackColor = false; this.btnBiletIptal.Click += new System.EventHandler(this.btnBiletIptal_Click); // // txtIptalBiletler // this.txtIptalBiletler.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(78)))), ((int)(((byte)(78))))); this.txtIptalBiletler.Location = new System.Drawing.Point(68, 22); this.txtIptalBiletler.Name = "txtIptalBiletler"; this.txtIptalBiletler.Size = new System.Drawing.Size(90, 25); this.txtIptalBiletler.TabIndex = 38; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(117)))), ((int)(((byte)(158))))); this.label13.Location = new System.Drawing.Point(9, 25); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(50, 17); this.label13.TabIndex = 37; this.label13.Text = "Biletler:"; // // btnSatis // this.btnSatis.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(188)))), ((int)(((byte)(50))))); this.btnSatis.Cursor = System.Windows.Forms.Cursors.Hand; this.btnSatis.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSatis.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnSatis.ForeColor = System.Drawing.SystemColors.ButtonFace; this.btnSatis.Location = new System.Drawing.Point(11, 353); this.btnSatis.Name = "btnSatis"; this.btnSatis.Size = new System.Drawing.Size(164, 31); this.btnSatis.TabIndex = 42; this.btnSatis.Text = "Satışı Gerçekleştir"; this.btnSatis.UseVisualStyleBackColor = false; this.btnSatis.Click += new System.EventHandler(this.btnSatis_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel1.Location = new System.Drawing.Point(186, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(2, 351); this.panel1.TabIndex = 40; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(231, 21); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(500, 60); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.pictureBox1.TabIndex = 45; this.pictureBox1.TabStop = false; // // panel4 // this.panel4.Controls.Add(this.label14); this.panel4.Location = new System.Drawing.Point(228, 373); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(192, 15); this.panel4.TabIndex = 47; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label14.ForeColor = System.Drawing.Color.ForestGreen; this.label14.Location = new System.Drawing.Point(106, -2); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(85, 17); this.label14.TabIndex = 38; this.label14.Text = "%000 (00/00)"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(163)))), ((int)(((byte)(173)))), ((int)(((byte)(178))))); this.panel2.Location = new System.Drawing.Point(188, 381); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(585, 2); this.panel2.TabIndex = 44; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // 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; // // SatisForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 403); this.Controls.Add(this.progressBar1); this.Controls.Add(this.panel3); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox3); this.Controls.Add(this.btnSatis); this.Controls.Add(this.panel1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.panel4); this.Controls.Add(this.panel2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SatisForm"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Bilet Satış Ekranı"; this.Load += new System.EventHandler(this.SatisForm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.contentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.toolStripContainer = new System.Windows.Forms.ToolStripContainer(); this.yearChartPanel = new YearChart.YearChartPanel(); this.helpProvider = new System.Windows.Forms.HelpProvider(); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.printDialog = new System.Windows.Forms.PrintDialog(); this.exportToHTMLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.menuStrip.SuspendLayout(); this.toolStripContainer.ContentPanel.SuspendLayout(); this.toolStripContainer.TopToolStripPanel.SuspendLayout(); this.toolStripContainer.SuspendLayout(); this.SuspendLayout(); // // menuStrip // this.menuStrip.Dock = System.Windows.Forms.DockStyle.None; this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.toolsToolStripMenuItem, this.helpToolStripMenuItem }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new System.Drawing.Size(624, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.pageSetupToolStripMenuItem, this.printPreviewToolStripMenuItem, this.printToolStripMenuItem, this.toolStripSeparator1, this.exportToHTMLToolStripMenuItem, this.toolStripSeparator2, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // pageSetupToolStripMenuItem // this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.pageSetupToolStripMenuItem.Text = "Page Set&up..."; this.pageSetupToolStripMenuItem.ToolTipText = "Change the layout of the printed page - margins and orientation."; this.pageSetupToolStripMenuItem.Click += new System.EventHandler(this.PageSetupToolStripMenuItemClick); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image"))); this.printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.printPreviewToolStripMenuItem.Text = "Print Pre&view"; this.printPreviewToolStripMenuItem.ToolTipText = "Shows how the chart will look when printed."; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.PrintPreviewToolStripMenuItemClick); // // printToolStripMenuItem // this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image"))); this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.printToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.printToolStripMenuItem.Text = "&Print..."; this.printToolStripMenuItem.ToolTipText = "Print the YearChart to your selected printer."; this.printToolStripMenuItem.Click += new System.EventHandler(this.PrintToolStripMenuItemClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(154, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.ToolTipText = "Closes the appliction."; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.optionsToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.toolsToolStripMenuItem.Text = "&Tools"; // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(125, 22); this.optionsToolStripMenuItem.Text = "&Options..."; this.optionsToolStripMenuItem.ToolTipText = "Change the settings for the chart including year and title."; this.optionsToolStripMenuItem.Click += new System.EventHandler(this.OptionsToolStripMenuItemClick); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.contentsToolStripMenuItem, this.toolStripSeparator5, this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "&Help"; // // contentsToolStripMenuItem // this.contentsToolStripMenuItem.Name = "contentsToolStripMenuItem"; this.contentsToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.contentsToolStripMenuItem.Text = "&Contents"; this.contentsToolStripMenuItem.ToolTipText = "Open the Help window on the Contents page."; this.contentsToolStripMenuItem.Click += new System.EventHandler(this.ContentsToolStripMenuItemClick); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(119, 6); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.aboutToolStripMenuItem.Text = "&About..."; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItemClick); // // printDocument // this.printDocument.DocumentName = "YearChart document"; this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // toolStripContainer // // // toolStripContainer.ContentPanel // this.toolStripContainer.ContentPanel.Controls.Add(this.yearChartPanel); this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(624, 386); this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer.Location = new System.Drawing.Point(0, 0); this.toolStripContainer.Name = "toolStripContainer"; this.toolStripContainer.Size = new System.Drawing.Size(624, 410); this.toolStripContainer.TabIndex = 1; this.toolStripContainer.Text = "toolStripContainer1"; // // toolStripContainer.TopToolStripPanel // this.toolStripContainer.TopToolStripPanel.Controls.Add(this.menuStrip); // // yearChartPanel // this.yearChartPanel.Abbreviate = false; //this.yearChartPanel.BackColor = System.Drawing.Color.White; //this.yearChartPanel.BlankColor = System.Drawing.Color.LightGray; this.yearChartPanel.Dock = System.Windows.Forms.DockStyle.Fill; //this.yearChartPanel.EndDate = new System.DateTime( 2011, 12, 31, 0, 0, 0, 0 ); this.yearChartPanel.ExtraColumns = new YearChart.Model.YearChartCell[0]; this.yearChartPanel.ExtraRows = new YearChart.Model.YearChartCell[0]; //this.yearChartPanel.HeadingColor = System.Drawing.Color.Yellow; this.yearChartPanel.Location = new System.Drawing.Point(0, 0); this.yearChartPanel.Name = "yearChartPanel"; this.helpProvider.SetShowHelp(this.yearChartPanel, true); this.yearChartPanel.Size = new System.Drawing.Size(624, 386); //this.yearChartPanel.StartDate = new System.DateTime( 2011, 1, 1, 0, 0, 0, 0 ); this.yearChartPanel.TabIndex = 0; this.yearChartPanel.Title = "YearChart"; //this.yearChartPanel.WeekendColor = System.Drawing.Color.Orange; //this.yearChartPanel.WeekStartDay = System.DayOfWeek.Monday; //this.yearChartPanel.Year = 2011; this.yearChartPanel.DoubleClick += new System.EventHandler(this.YearChartPanelDoubleClick); // // helpProvider // this.helpProvider.HelpNamespace = "YearChart.chm"; // // pageSetupDialog // this.pageSetupDialog.Document = this.printDocument; this.pageSetupDialog.EnableMetric = true; // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Document = this.printDocument; this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.ShowIcon = false; this.printPreviewDialog.Visible = false; // // printDialog // this.printDialog.Document = this.printDocument; this.printDialog.UseEXDialog = true; // // exportToHTMLToolStripMenuItem // this.exportToHTMLToolStripMenuItem.Name = "exportToHTMLToolStripMenuItem"; this.exportToHTMLToolStripMenuItem.Size = new System.Drawing.Size(157, 22); this.exportToHTMLToolStripMenuItem.Text = "Export to HTML"; this.exportToHTMLToolStripMenuItem.Click += new System.EventHandler(this.exportToHTMLToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(154, 6); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(624, 410); this.Controls.Add(this.toolStripContainer); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip; this.Name = "MainForm"; this.Text = "Kajabity YearChart"; this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.toolStripContainer.ContentPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.ResumeLayout(false); this.toolStripContainer.TopToolStripPanel.PerformLayout(); this.toolStripContainer.ResumeLayout(false); this.toolStripContainer.PerformLayout(); this.ResumeLayout(false); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileItem = new System.Windows.Forms.MenuItem(); this.OpenItem = new System.Windows.Forms.MenuItem(); this.exitFileItem = new System.Windows.Forms.MenuItem(); this.windowItem = new System.Windows.Forms.MenuItem(); this.statusBar = new System.Windows.Forms.StatusBar(); this.zoomPanel = new System.Windows.Forms.StatusBarPanel(); this.sizePanel = new System.Windows.Forms.StatusBarPanel(); this.selectionPanel = new System.Windows.Forms.StatusBarPanel(); this.colorPanel = new System.Windows.Forms.StatusBarPanel(); this.infoPanel = new System.Windows.Forms.StatusBarPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.dockManager = new WeifenLuo.WinFormsUI.DockManager(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.ofd = new System.Windows.Forms.OpenFileDialog(); this.sfd = new System.Windows.Forms.SaveFileDialog(); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog(); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog(); this.printDialog = new System.Windows.Forms.PrintDialog(); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileItem, this.windowItem }); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OpenItem, this.exitFileItem }); this.fileItem.Text = "&Dosya"; this.fileItem.Popup += new System.EventHandler(this.fileItem_Popup); // // OpenItem // this.OpenItem.Index = 0; this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.OpenItem.Text = "&Aç"; this.OpenItem.Click += new System.EventHandler(this.OpenItem_Click); // // exitFileItem // this.exitFileItem.Index = 1; this.exitFileItem.Text = "Kapat"; this.exitFileItem.Click += new System.EventHandler(this.exitFileItem_Click); // // windowItem // this.windowItem.Index = 1; this.windowItem.MdiList = true; this.windowItem.MergeOrder = 3; this.windowItem.Text = "&Pencere"; // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 511); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.zoomPanel, this.sizePanel, this.selectionPanel, this.colorPanel, this.infoPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(792, 22); this.statusBar.TabIndex = 1; this.statusBar.PanelClick += new System.Windows.Forms.StatusBarPanelClickEventHandler(this.statusBar_PanelClick); // // zoomPanel // this.zoomPanel.Name = "zoomPanel"; this.zoomPanel.ToolTipText = "Zoom coefficient"; this.zoomPanel.Width = 50; // // sizePanel // this.sizePanel.Name = "sizePanel"; this.sizePanel.ToolTipText = "Image size"; // // selectionPanel // this.selectionPanel.Name = "selectionPanel"; this.selectionPanel.ToolTipText = "Current point and selection size"; this.selectionPanel.Width = 120; // // colorPanel // this.colorPanel.Name = "colorPanel"; this.colorPanel.ToolTipText = "Current color"; this.colorPanel.Width = 110; // // infoPanel // this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.infoPanel.Name = "infoPanel"; this.infoPanel.Width = 395; // // panel1 // this.panel1.Controls.Add(this.dockManager); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(792, 511); this.panel1.TabIndex = 2; // // dockManager // this.dockManager.ActiveAutoHideContent = null; this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill; this.dockManager.Location = new System.Drawing.Point(0, 0); this.dockManager.Name = "dockManager"; this.dockManager.Size = new System.Drawing.Size(792, 511); this.dockManager.TabIndex = 2; this.dockManager.ActiveDocumentChanged += new System.EventHandler(this.dockManager_ActiveDocumentChanged); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); this.imageList2.Images.SetKeyName(8, ""); this.imageList2.Images.SetKeyName(9, ""); this.imageList2.Images.SetKeyName(10, ""); this.imageList2.Images.SetKeyName(11, ""); this.imageList2.Images.SetKeyName(12, ""); this.imageList2.Images.SetKeyName(13, ""); this.imageList2.Images.SetKeyName(14, ""); // // ofd // this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" + "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" + "p)|*.bmp|GIF files (*.gif)|*.gif"; this.ofd.Title = "Open image"; // // sfd // this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp"; this.sfd.Title = "Save image"; // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Text = "Baský önizleme"; this.printPreviewDialog.Visible = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 533); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Görüntü Düzenleyici"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <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( ); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( MainForm ) ); this.mainMenu = new System.Windows.Forms.MainMenu( this.components ); this.fileItem = new System.Windows.Forms.MenuItem( ); this.OpenItem = new System.Windows.Forms.MenuItem( ); this.reloadFileItem = new System.Windows.Forms.MenuItem( ); this.saveFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem1 = new System.Windows.Forms.MenuItem( ); this.copyFileItem = new System.Windows.Forms.MenuItem( ); this.pasteFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem5 = new System.Windows.Forms.MenuItem( ); this.closeFileItem = new System.Windows.Forms.MenuItem( ); this.closeAllFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem8 = new System.Windows.Forms.MenuItem( ); this.pageSetupFileItem = new System.Windows.Forms.MenuItem( ); this.printFileItem = new System.Windows.Forms.MenuItem( ); this.printPreviewFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem2 = new System.Windows.Forms.MenuItem( ); this.exitFileItem = new System.Windows.Forms.MenuItem( ); this.viewItem = new System.Windows.Forms.MenuItem( ); this.mainBarViewItem = new System.Windows.Forms.MenuItem( ); this.imageBarViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem7 = new System.Windows.Forms.MenuItem( ); this.histogramViewItem = new System.Windows.Forms.MenuItem( ); this.statisticsViewItem = new System.Windows.Forms.MenuItem( ); this.redHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.greenHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.blueHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem3 = new System.Windows.Forms.MenuItem( ); this.centerViewItem = new System.Windows.Forms.MenuItem( ); this.optionsItem = new System.Windows.Forms.MenuItem( ); this.openInNewOptionsItem = new System.Windows.Forms.MenuItem( ); this.rememberOptionsItem = new System.Windows.Forms.MenuItem( ); this.windowItem = new System.Windows.Forms.MenuItem( ); this.helpItem = new System.Windows.Forms.MenuItem( ); this.aboutHelpItem = new System.Windows.Forms.MenuItem( ); this.statusBar = new System.Windows.Forms.StatusBar( ); this.zoomPanel = new System.Windows.Forms.StatusBarPanel( ); this.sizePanel = new System.Windows.Forms.StatusBarPanel( ); this.selectionPanel = new System.Windows.Forms.StatusBarPanel( ); this.colorPanel = new System.Windows.Forms.StatusBarPanel( ); this.hslPanel = new System.Windows.Forms.StatusBarPanel( ); this.ycbcrPanel = new System.Windows.Forms.StatusBarPanel( ); this.infoPanel = new System.Windows.Forms.StatusBarPanel( ); this.panel1 = new System.Windows.Forms.Panel( ); this.dockManager = new WeifenLuo.WinFormsUI.DockManager( ); this.mainToolBar = new System.Windows.Forms.ToolBar( ); this.openButton = new System.Windows.Forms.ToolBarButton( ); this.saveButton = new System.Windows.Forms.ToolBarButton( ); this.sep1 = new System.Windows.Forms.ToolBarButton( ); this.copyButton = new System.Windows.Forms.ToolBarButton( ); this.pasteButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton( ); this.histogramButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton( ); this.aboutButton = new System.Windows.Forms.ToolBarButton( ); this.imageList = new System.Windows.Forms.ImageList( this.components ); this.imageToolBar = new System.Windows.Forms.ToolBar( ); this.cloneButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton( ); this.cropButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton( ); this.zoomInButton = new System.Windows.Forms.ToolBarButton( ); this.zoomOutButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton( ); this.fitToScreenButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton( ); this.resizeButton = new System.Windows.Forms.ToolBarButton( ); this.rotateButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton( ); this.levelsButton = new System.Windows.Forms.ToolBarButton( ); this.grayscaleButton = new System.Windows.Forms.ToolBarButton( ); this.thresholdButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton( ); this.morphologyButton = new System.Windows.Forms.ToolBarButton( ); this.convolutionButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton( ); this.saturationButton = new System.Windows.Forms.ToolBarButton( ); this.fourierButton = new System.Windows.Forms.ToolBarButton( ); this.imageList2 = new System.Windows.Forms.ImageList( this.components ); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.printDocument = new System.Drawing.Printing.PrintDocument( ); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog( ); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog( ); this.printDialog = new System.Windows.Forms.PrintDialog( ); ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).BeginInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).BeginInit( ); this.panel1.SuspendLayout( ); this.dockManager.SuspendLayout( ); this.SuspendLayout( ); // // mainMenu // this.mainMenu.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.fileItem, this.viewItem, this.optionsItem, this.windowItem, this.helpItem} ); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.OpenItem, this.reloadFileItem, this.saveFileItem, this.menuItem1, this.copyFileItem, this.pasteFileItem, this.menuItem5, this.closeFileItem, this.closeAllFileItem, this.menuItem8, this.pageSetupFileItem, this.printFileItem, this.printPreviewFileItem, this.menuItem2, this.exitFileItem} ); this.fileItem.Text = "&File"; this.fileItem.Popup += new System.EventHandler( this.fileItem_Popup ); // // OpenItem // this.OpenItem.Index = 0; this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.OpenItem.Text = "&Open"; this.OpenItem.Click += new System.EventHandler( this.OpenItem_Click ); // // reloadFileItem // this.reloadFileItem.Index = 1; this.reloadFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR; this.reloadFileItem.Text = "&Reload"; this.reloadFileItem.Click += new System.EventHandler( this.reloadFileItem_Click ); // // saveFileItem // this.saveFileItem.Index = 2; this.saveFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.saveFileItem.Text = "&Save"; this.saveFileItem.Click += new System.EventHandler( this.saveFileItem_Click ); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // copyFileItem // this.copyFileItem.Index = 4; this.copyFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.copyFileItem.Text = "&Copy"; this.copyFileItem.Click += new System.EventHandler( this.copyFileItem_Click ); // // pasteFileItem // this.pasteFileItem.Index = 5; this.pasteFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.pasteFileItem.Text = "&Paste"; this.pasteFileItem.Click += new System.EventHandler( this.pasteFileItem_Click ); // // menuItem5 // this.menuItem5.Index = 6; this.menuItem5.Text = "-"; // // closeFileItem // this.closeFileItem.Index = 7; this.closeFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlF4; this.closeFileItem.Text = "C&lose"; this.closeFileItem.Click += new System.EventHandler( this.closeFileItem_Click ); // // closeAllFileItem // this.closeAllFileItem.Index = 8; this.closeAllFileItem.Text = "Close All"; this.closeAllFileItem.Click += new System.EventHandler( this.closeAllFileItem_Click ); // // menuItem8 // this.menuItem8.Index = 9; this.menuItem8.Text = "-"; // // pageSetupFileItem // this.pageSetupFileItem.Index = 10; this.pageSetupFileItem.Text = "Page Setup"; this.pageSetupFileItem.Click += new System.EventHandler( this.pageSetupFileItem_Click ); // // printFileItem // this.printFileItem.Index = 11; this.printFileItem.Text = "&Print"; this.printFileItem.Click += new System.EventHandler( this.printFileItem_Click ); // // printPreviewFileItem // this.printPreviewFileItem.Index = 12; this.printPreviewFileItem.Text = "Print Preview"; this.printPreviewFileItem.Click += new System.EventHandler( this.printPreviewFileItem_Click ); // // menuItem2 // this.menuItem2.Index = 13; this.menuItem2.Text = "-"; // // exitFileItem // this.exitFileItem.Index = 14; this.exitFileItem.Text = "E&xit"; this.exitFileItem.Click += new System.EventHandler( this.exitFileItem_Click ); // // viewItem // this.viewItem.Index = 1; this.viewItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.mainBarViewItem, this.imageBarViewItem, this.menuItem7, this.histogramViewItem, this.statisticsViewItem, this.redHistogramViewItem, this.greenHistogramViewItem, this.blueHistogramViewItem, this.menuItem3, this.centerViewItem} ); this.viewItem.MergeOrder = 1; this.viewItem.Text = "&View"; this.viewItem.Popup += new System.EventHandler( this.viewItem_Popup ); // // mainBarViewItem // this.mainBarViewItem.Index = 0; this.mainBarViewItem.Text = "Main tool bar"; this.mainBarViewItem.Click += new System.EventHandler( this.mainBarViewItem_Click ); // // imageBarViewItem // this.imageBarViewItem.Index = 1; this.imageBarViewItem.Text = "Image tool bar"; this.imageBarViewItem.Click += new System.EventHandler( this.imageBarViewItem_Click ); // // menuItem7 // this.menuItem7.Index = 2; this.menuItem7.Text = "-"; // // histogramViewItem // this.histogramViewItem.Index = 3; this.histogramViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlH; this.histogramViewItem.Text = "&Histogram"; this.histogramViewItem.Click += new System.EventHandler( this.histogramViewItem_Click ); // // statisticsViewItem // this.statisticsViewItem.Index = 4; this.statisticsViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT; this.statisticsViewItem.Text = "&Statistics"; this.statisticsViewItem.Click += new System.EventHandler( this.statisticsViewItem_Click ); // // redHistogramViewItem // this.redHistogramViewItem.Index = 5; this.redHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl1; this.redHistogramViewItem.Text = "R"; this.redHistogramViewItem.Visible = false; this.redHistogramViewItem.Click += new System.EventHandler( this.redHistogramViewItem_Click ); // // greenHistogramViewItem // this.greenHistogramViewItem.Index = 6; this.greenHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl2; this.greenHistogramViewItem.Text = "G"; this.greenHistogramViewItem.Visible = false; this.greenHistogramViewItem.Click += new System.EventHandler( this.greenHistogramViewItem_Click ); // // blueHistogramViewItem // this.blueHistogramViewItem.Index = 7; this.blueHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl3; this.blueHistogramViewItem.Text = "B"; this.blueHistogramViewItem.Visible = false; this.blueHistogramViewItem.Click += new System.EventHandler( this.blueHistogramViewItem_Click ); // // menuItem3 // this.menuItem3.Index = 8; this.menuItem3.Text = "-"; // // centerViewItem // this.centerViewItem.Index = 9; this.centerViewItem.Shortcut = System.Windows.Forms.Shortcut.F9; this.centerViewItem.Text = "&Center"; this.centerViewItem.Click += new System.EventHandler( this.centerViewItem_Click ); // // optionsItem // this.optionsItem.Index = 2; this.optionsItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.openInNewOptionsItem, this.rememberOptionsItem} ); this.optionsItem.MergeOrder = 2; this.optionsItem.Text = "&Options"; this.optionsItem.Popup += new System.EventHandler( this.optionsItem_Popup ); // // openInNewOptionsItem // this.openInNewOptionsItem.Index = 0; this.openInNewOptionsItem.Text = "Open in &new document on change"; this.openInNewOptionsItem.Click += new System.EventHandler( this.openInNewOptionsItem_Click ); // // rememberOptionsItem // this.rememberOptionsItem.Index = 1; this.rememberOptionsItem.Text = "&Remember on change"; this.rememberOptionsItem.Click += new System.EventHandler( this.rememberOptionsItem_Click ); // // windowItem // this.windowItem.Index = 3; this.windowItem.MdiList = true; this.windowItem.MergeOrder = 3; this.windowItem.Text = "&Window"; // // helpItem // this.helpItem.Index = 4; this.helpItem.MenuItems.AddRange( new System.Windows.Forms.MenuItem[] { this.aboutHelpItem} ); this.helpItem.MergeOrder = 4; this.helpItem.Text = "&Help"; // // aboutHelpItem // this.aboutHelpItem.Index = 0; this.aboutHelpItem.Text = "&About"; this.aboutHelpItem.Click += new System.EventHandler( this.aboutHelpItem_Click ); // // statusBar // this.statusBar.Location = new System.Drawing.Point( 0, 511 ); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange( new System.Windows.Forms.StatusBarPanel[] { this.zoomPanel, this.sizePanel, this.selectionPanel, this.colorPanel, this.hslPanel, this.ycbcrPanel, this.infoPanel} ); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size( 792, 22 ); this.statusBar.TabIndex = 1; // // zoomPanel // this.zoomPanel.Name = "zoomPanel"; this.zoomPanel.ToolTipText = "Zoom coefficient"; this.zoomPanel.Width = 50; // // sizePanel // this.sizePanel.Name = "sizePanel"; this.sizePanel.ToolTipText = "Image size"; // // selectionPanel // this.selectionPanel.Name = "selectionPanel"; this.selectionPanel.ToolTipText = "Current point and selection size"; this.selectionPanel.Width = 120; // // colorPanel // this.colorPanel.Name = "colorPanel"; this.colorPanel.ToolTipText = "Current color"; this.colorPanel.Width = 110; // // hslPanel // this.hslPanel.Name = "hslPanel"; this.hslPanel.Width = 130; // // ycbcrPanel // this.ycbcrPanel.Name = "ycbcrPanel"; this.ycbcrPanel.Width = 145; // // infoPanel // this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.infoPanel.Name = "infoPanel"; this.infoPanel.Width = 120; // // panel1 // this.panel1.Controls.Add( this.dockManager ); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point( 0, 0 ); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size( 792, 511 ); this.panel1.TabIndex = 2; // // dockManager // this.dockManager.ActiveAutoHideContent = null; this.dockManager.Controls.Add( this.mainToolBar ); this.dockManager.Controls.Add( this.imageToolBar ); this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill; this.dockManager.Location = new System.Drawing.Point( 0, 0 ); this.dockManager.Name = "dockManager"; this.dockManager.Size = new System.Drawing.Size( 792, 511 ); this.dockManager.TabIndex = 2; this.dockManager.ActiveDocumentChanged += new System.EventHandler( this.dockManager_ActiveDocumentChanged ); // // mainToolBar // this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.mainToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] { this.openButton, this.saveButton, this.sep1, this.copyButton, this.pasteButton, this.toolBarButton9, this.histogramButton, this.toolBarButton4, this.aboutButton} ); this.mainToolBar.Divider = false; this.mainToolBar.Dock = System.Windows.Forms.DockStyle.None; this.mainToolBar.DropDownArrows = true; this.mainToolBar.ImageList = this.imageList; this.mainToolBar.Location = new System.Drawing.Point( 256, 32 ); this.mainToolBar.Name = "mainToolBar"; this.mainToolBar.ShowToolTips = true; this.mainToolBar.Size = new System.Drawing.Size( 24, 202 ); this.mainToolBar.TabIndex = 2; this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.mainToolBar_ButtonClick ); // // openButton // this.openButton.ImageIndex = 0; this.openButton.Name = "openButton"; this.openButton.ToolTipText = "Open an image "; // // saveButton // this.saveButton.ImageIndex = 1; this.saveButton.Name = "saveButton"; this.saveButton.ToolTipText = "Save"; // // sep1 // this.sep1.Name = "sep1"; this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // copyButton // this.copyButton.ImageIndex = 2; this.copyButton.Name = "copyButton"; this.copyButton.ToolTipText = "Copy to clipboard"; // // pasteButton // this.pasteButton.ImageIndex = 3; this.pasteButton.Name = "pasteButton"; this.pasteButton.ToolTipText = "Paste from clipboard"; // // toolBarButton9 // this.toolBarButton9.Name = "toolBarButton9"; this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // histogramButton // this.histogramButton.ImageIndex = 4; this.histogramButton.Name = "histogramButton"; this.histogramButton.ToolTipText = "Show histogram"; // // toolBarButton4 // this.toolBarButton4.Name = "toolBarButton4"; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // aboutButton // this.aboutButton.ImageIndex = 5; this.aboutButton.Name = "aboutButton"; this.aboutButton.ToolTipText = "About"; // // imageList // this.imageList.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList.ImageStream" ) ) ); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName( 0, "" ); this.imageList.Images.SetKeyName( 1, "" ); this.imageList.Images.SetKeyName( 2, "" ); this.imageList.Images.SetKeyName( 3, "" ); this.imageList.Images.SetKeyName( 4, "" ); this.imageList.Images.SetKeyName( 5, "" ); // // imageToolBar // this.imageToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.imageToolBar.Buttons.AddRange( new System.Windows.Forms.ToolBarButton[] { this.cloneButton, this.toolBarButton1, this.cropButton, this.toolBarButton2, this.zoomInButton, this.zoomOutButton, this.toolBarButton3, this.fitToScreenButton, this.toolBarButton5, this.resizeButton, this.rotateButton, this.toolBarButton7, this.levelsButton, this.grayscaleButton, this.thresholdButton, this.toolBarButton6, this.morphologyButton, this.convolutionButton, this.toolBarButton8, this.saturationButton, this.fourierButton} ); this.imageToolBar.Divider = false; this.imageToolBar.Dock = System.Windows.Forms.DockStyle.None; this.imageToolBar.DropDownArrows = true; this.imageToolBar.ImageList = this.imageList2; this.imageToolBar.Location = new System.Drawing.Point( 144, 312 ); this.imageToolBar.Name = "imageToolBar"; this.imageToolBar.ShowToolTips = true; this.imageToolBar.Size = new System.Drawing.Size( 472, 26 ); this.imageToolBar.TabIndex = 3; this.imageToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler( this.imageToolBar_ButtonClick ); // // cloneButton // this.cloneButton.ImageIndex = 0; this.cloneButton.Name = "cloneButton"; this.cloneButton.ToolTipText = "Clone the image"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // cropButton // this.cropButton.ImageIndex = 1; this.cropButton.Name = "cropButton"; this.cropButton.ToolTipText = "Crop image"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // zoomInButton // this.zoomInButton.ImageIndex = 2; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.ImageIndex = 3; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.ToolTipText = "Zoom out"; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 4; this.toolBarButton3.Name = "toolBarButton3"; this.toolBarButton3.ToolTipText = "Original size"; // // fitToScreenButton // this.fitToScreenButton.ImageIndex = 5; this.fitToScreenButton.Name = "fitToScreenButton"; this.fitToScreenButton.ToolTipText = "Fit to window size"; // // toolBarButton5 // this.toolBarButton5.Name = "toolBarButton5"; this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // resizeButton // this.resizeButton.ImageIndex = 11; this.resizeButton.Name = "resizeButton"; this.resizeButton.ToolTipText = "Resize the image"; // // rotateButton // this.rotateButton.ImageIndex = 12; this.rotateButton.Name = "rotateButton"; this.rotateButton.ToolTipText = "Rotate the image"; // // toolBarButton7 // this.toolBarButton7.Name = "toolBarButton7"; this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // levelsButton // this.levelsButton.ImageIndex = 6; this.levelsButton.Name = "levelsButton"; this.levelsButton.ToolTipText = "Levels correction"; // // grayscaleButton // this.grayscaleButton.ImageIndex = 7; this.grayscaleButton.Name = "grayscaleButton"; this.grayscaleButton.ToolTipText = "Grayscale"; // // thresholdButton // this.thresholdButton.ImageIndex = 8; this.thresholdButton.Name = "thresholdButton"; this.thresholdButton.ToolTipText = "Threshold"; // // toolBarButton6 // this.toolBarButton6.Name = "toolBarButton6"; this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // morphologyButton // this.morphologyButton.ImageIndex = 9; this.morphologyButton.Name = "morphologyButton"; this.morphologyButton.ToolTipText = "Custom morphology operator"; // // convolutionButton // this.convolutionButton.ImageIndex = 10; this.convolutionButton.Name = "convolutionButton"; this.convolutionButton.ToolTipText = "Custom convolution operator"; // // toolBarButton8 // this.toolBarButton8.Name = "toolBarButton8"; this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // saturationButton // this.saturationButton.ImageIndex = 13; this.saturationButton.Name = "saturationButton"; this.saturationButton.ToolTipText = "Saturation (HSL)"; // // fourierButton // this.fourierButton.ImageIndex = 14; this.fourierButton.Name = "fourierButton"; this.fourierButton.ToolTipText = "Fourier Transformation"; // // imageList2 // this.imageList2.ImageStream = ( (System.Windows.Forms.ImageListStreamer) ( resources.GetObject( "imageList2.ImageStream" ) ) ); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName( 0, "" ); this.imageList2.Images.SetKeyName( 1, "" ); this.imageList2.Images.SetKeyName( 2, "" ); this.imageList2.Images.SetKeyName( 3, "" ); this.imageList2.Images.SetKeyName( 4, "" ); this.imageList2.Images.SetKeyName( 5, "" ); this.imageList2.Images.SetKeyName( 6, "" ); this.imageList2.Images.SetKeyName( 7, "" ); this.imageList2.Images.SetKeyName( 8, "" ); this.imageList2.Images.SetKeyName( 9, "" ); this.imageList2.Images.SetKeyName( 10, "" ); this.imageList2.Images.SetKeyName( 11, "" ); this.imageList2.Images.SetKeyName( 12, "" ); this.imageList2.Images.SetKeyName( 13, "" ); this.imageList2.Images.SetKeyName( 14, "" ); // // ofd // this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" + "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" + "p)|*.bmp|GIF files (*.gif)|*.gif"; this.ofd.Title = "Open image"; // // sfd // this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp"; this.sfd.Title = "Save image"; // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler( this.printDocument_PrintPage ); // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size( 0, 0 ); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size( 0, 0 ); this.printPreviewDialog.ClientSize = new System.Drawing.Size( 400, 300 ); this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "printPreviewDialog.Icon" ) ) ); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Visible = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size( 5, 13 ); this.ClientSize = new System.Drawing.Size( 792, 533 ); this.Controls.Add( this.panel1 ); this.Controls.Add( this.statusBar ); this.Icon = ( (System.Drawing.Icon) ( resources.GetObject( "$this.Icon" ) ) ); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Image Processing Lab"; this.Load += new System.EventHandler( this.MainForm_Load ); this.Closing += new System.ComponentModel.CancelEventHandler( this.MainForm_Closing ); ( (System.ComponentModel.ISupportInitialize) ( this.zoomPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.sizePanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.selectionPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.colorPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.hslPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.ycbcrPanel ) ).EndInit( ); ( (System.ComponentModel.ISupportInitialize) ( this.infoPanel ) ).EndInit( ); this.panel1.ResumeLayout( false ); this.dockManager.ResumeLayout( false ); this.dockManager.PerformLayout( ); this.ResumeLayout( false ); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmptyWeightPrint)); this.panel1 = new System.Windows.Forms.Panel(); this.btnPrint = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.printD = new System.Windows.Forms.PrintDialog(); this.printDocument = new System.Drawing.Printing.PrintDocument(); this.pageSetupD = new System.Windows.Forms.PageSetupDialog(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.btnPrint); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(872, 43); this.panel1.TabIndex = 1; // // btnPrint // this.btnPrint.BackgroundImage = global::CoalTraffic.Properties.Resources.printIcon; this.btnPrint.Location = new System.Drawing.Point(0, 0); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(52, 43); this.btnPrint.TabIndex = 0; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 43); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(872, 403); this.panel2.TabIndex = 2; this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // EmptyWeightPrint // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(872, 446); this.ControlBox = false; this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "EmptyWeightPrint"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "空车过磅打印预览"; this.Load += new System.EventHandler(this.EmptyWeightPrint_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <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( ); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mainMenu = new System.Windows.Forms.MainMenu(this.components); this.fileItem = new System.Windows.Forms.MenuItem( ); this.OpenItem = new System.Windows.Forms.MenuItem( ); this.reloadFileItem = new System.Windows.Forms.MenuItem( ); this.saveFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem1 = new System.Windows.Forms.MenuItem( ); this.copyFileItem = new System.Windows.Forms.MenuItem( ); this.pasteFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem5 = new System.Windows.Forms.MenuItem( ); this.closeFileItem = new System.Windows.Forms.MenuItem( ); this.closeAllFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem8 = new System.Windows.Forms.MenuItem( ); this.pageSetupFileItem = new System.Windows.Forms.MenuItem( ); this.printFileItem = new System.Windows.Forms.MenuItem( ); this.printPreviewFileItem = new System.Windows.Forms.MenuItem( ); this.menuItem2 = new System.Windows.Forms.MenuItem( ); this.exitFileItem = new System.Windows.Forms.MenuItem( ); this.viewItem = new System.Windows.Forms.MenuItem( ); this.mainBarViewItem = new System.Windows.Forms.MenuItem( ); this.imageBarViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem7 = new System.Windows.Forms.MenuItem( ); this.histogramViewItem = new System.Windows.Forms.MenuItem( ); this.statisticsViewItem = new System.Windows.Forms.MenuItem( ); this.redHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.greenHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.blueHistogramViewItem = new System.Windows.Forms.MenuItem( ); this.menuItem3 = new System.Windows.Forms.MenuItem( ); this.centerViewItem = new System.Windows.Forms.MenuItem( ); this.optionsItem = new System.Windows.Forms.MenuItem( ); this.openInNewOptionsItem = new System.Windows.Forms.MenuItem( ); this.rememberOptionsItem = new System.Windows.Forms.MenuItem( ); this.windowItem = new System.Windows.Forms.MenuItem( ); this.helpItem = new System.Windows.Forms.MenuItem( ); this.aboutHelpItem = new System.Windows.Forms.MenuItem( ); this.statusBar = new System.Windows.Forms.StatusBar( ); this.zoomPanel = new System.Windows.Forms.StatusBarPanel( ); this.sizePanel = new System.Windows.Forms.StatusBarPanel( ); this.selectionPanel = new System.Windows.Forms.StatusBarPanel( ); this.colorPanel = new System.Windows.Forms.StatusBarPanel( ); this.hslPanel = new System.Windows.Forms.StatusBarPanel( ); this.ycbcrPanel = new System.Windows.Forms.StatusBarPanel( ); this.infoPanel = new System.Windows.Forms.StatusBarPanel( ); this.panel1 = new System.Windows.Forms.Panel( ); this.dockManager = new WeifenLuo.WinFormsUI.DockManager( ); this.mainToolBar = new System.Windows.Forms.ToolBar( ); this.openButton = new System.Windows.Forms.ToolBarButton( ); this.saveButton = new System.Windows.Forms.ToolBarButton( ); this.sep1 = new System.Windows.Forms.ToolBarButton( ); this.copyButton = new System.Windows.Forms.ToolBarButton( ); this.pasteButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton9 = new System.Windows.Forms.ToolBarButton( ); this.histogramButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton4 = new System.Windows.Forms.ToolBarButton( ); this.aboutButton = new System.Windows.Forms.ToolBarButton( ); this.imageList = new System.Windows.Forms.ImageList(this.components); this.imageToolBar = new System.Windows.Forms.ToolBar( ); this.cloneButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton( ); this.cropButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton( ); this.zoomInButton = new System.Windows.Forms.ToolBarButton( ); this.zoomOutButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton3 = new System.Windows.Forms.ToolBarButton( ); this.fitToScreenButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton5 = new System.Windows.Forms.ToolBarButton( ); this.resizeButton = new System.Windows.Forms.ToolBarButton( ); this.rotateButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton7 = new System.Windows.Forms.ToolBarButton( ); this.levelsButton = new System.Windows.Forms.ToolBarButton( ); this.grayscaleButton = new System.Windows.Forms.ToolBarButton( ); this.thresholdButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton6 = new System.Windows.Forms.ToolBarButton( ); this.morphologyButton = new System.Windows.Forms.ToolBarButton( ); this.convolutionButton = new System.Windows.Forms.ToolBarButton( ); this.toolBarButton8 = new System.Windows.Forms.ToolBarButton( ); this.saturationButton = new System.Windows.Forms.ToolBarButton( ); this.fourierButton = new System.Windows.Forms.ToolBarButton( ); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.ofd = new System.Windows.Forms.OpenFileDialog( ); this.sfd = new System.Windows.Forms.SaveFileDialog( ); this.printDocument = new System.Drawing.Printing.PrintDocument( ); this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog( ); this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog( ); this.printDialog = new System.Windows.Forms.PrintDialog( ); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.hslPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.ycbcrPanel)).BeginInit( ); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).BeginInit( ); this.panel1.SuspendLayout( ); this.dockManager.SuspendLayout( ); this.SuspendLayout( ); // // mainMenu // this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileItem, this.viewItem, this.optionsItem, this.windowItem, this.helpItem }); // // fileItem // this.fileItem.Index = 0; this.fileItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OpenItem, this.reloadFileItem, this.saveFileItem, this.menuItem1, this.copyFileItem, this.pasteFileItem, this.menuItem5, this.closeFileItem, this.closeAllFileItem, this.menuItem8, this.pageSetupFileItem, this.printFileItem, this.printPreviewFileItem, this.menuItem2, this.exitFileItem }); this.fileItem.Text = "&File"; this.fileItem.Popup += new System.EventHandler(this.fileItem_Popup); // // OpenItem // this.OpenItem.Index = 0; this.OpenItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.OpenItem.Text = "&Open"; this.OpenItem.Click += new System.EventHandler(this.OpenItem_Click); // // reloadFileItem // this.reloadFileItem.Index = 1; this.reloadFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlR; this.reloadFileItem.Text = "&Reload"; this.reloadFileItem.Click += new System.EventHandler(this.reloadFileItem_Click); // // saveFileItem // this.saveFileItem.Index = 2; this.saveFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.saveFileItem.Text = "&Save"; this.saveFileItem.Click += new System.EventHandler(this.saveFileItem_Click); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // copyFileItem // this.copyFileItem.Index = 4; this.copyFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.copyFileItem.Text = "&Copy"; this.copyFileItem.Click += new System.EventHandler(this.copyFileItem_Click); // // pasteFileItem // this.pasteFileItem.Index = 5; this.pasteFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.pasteFileItem.Text = "&Paste"; this.pasteFileItem.Click += new System.EventHandler(this.pasteFileItem_Click); // // menuItem5 // this.menuItem5.Index = 6; this.menuItem5.Text = "-"; // // closeFileItem // this.closeFileItem.Index = 7; this.closeFileItem.Shortcut = System.Windows.Forms.Shortcut.CtrlF4; this.closeFileItem.Text = "C&lose"; this.closeFileItem.Click += new System.EventHandler(this.closeFileItem_Click); // // closeAllFileItem // this.closeAllFileItem.Index = 8; this.closeAllFileItem.Text = "Close All"; this.closeAllFileItem.Click += new System.EventHandler(this.closeAllFileItem_Click); // // menuItem8 // this.menuItem8.Index = 9; this.menuItem8.Text = "-"; // // pageSetupFileItem // this.pageSetupFileItem.Index = 10; this.pageSetupFileItem.Text = "Page Setup"; this.pageSetupFileItem.Click += new System.EventHandler(this.pageSetupFileItem_Click); // // printFileItem // this.printFileItem.Index = 11; this.printFileItem.Text = "&Print"; this.printFileItem.Click += new System.EventHandler(this.printFileItem_Click); // // printPreviewFileItem // this.printPreviewFileItem.Index = 12; this.printPreviewFileItem.Text = "Print Preview"; this.printPreviewFileItem.Click += new System.EventHandler(this.printPreviewFileItem_Click); // // menuItem2 // this.menuItem2.Index = 13; this.menuItem2.Text = "-"; // // exitFileItem // this.exitFileItem.Index = 14; this.exitFileItem.Text = "E&xit"; this.exitFileItem.Click += new System.EventHandler(this.exitFileItem_Click); // // viewItem // this.viewItem.Index = 1; this.viewItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mainBarViewItem, this.imageBarViewItem, this.menuItem7, this.histogramViewItem, this.statisticsViewItem, this.redHistogramViewItem, this.greenHistogramViewItem, this.blueHistogramViewItem, this.menuItem3, this.centerViewItem }); this.viewItem.MergeOrder = 1; this.viewItem.Text = "&View"; this.viewItem.Popup += new System.EventHandler(this.viewItem_Popup); // // mainBarViewItem // this.mainBarViewItem.Index = 0; this.mainBarViewItem.Text = "Main tool bar"; this.mainBarViewItem.Click += new System.EventHandler(this.mainBarViewItem_Click); // // imageBarViewItem // this.imageBarViewItem.Index = 1; this.imageBarViewItem.Text = "Image tool bar"; this.imageBarViewItem.Click += new System.EventHandler(this.imageBarViewItem_Click); // // menuItem7 // this.menuItem7.Index = 2; this.menuItem7.Text = "-"; // // histogramViewItem // this.histogramViewItem.Index = 3; this.histogramViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlH; this.histogramViewItem.Text = "&Histogram"; this.histogramViewItem.Click += new System.EventHandler(this.histogramViewItem_Click); // // statisticsViewItem // this.statisticsViewItem.Index = 4; this.statisticsViewItem.Shortcut = System.Windows.Forms.Shortcut.CtrlT; this.statisticsViewItem.Text = "&Statistics"; this.statisticsViewItem.Click += new System.EventHandler(this.statisticsViewItem_Click); // // redHistogramViewItem // this.redHistogramViewItem.Index = 5; this.redHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl1; this.redHistogramViewItem.Text = "R"; this.redHistogramViewItem.Visible = false; this.redHistogramViewItem.Click += new System.EventHandler(this.redHistogramViewItem_Click); // // greenHistogramViewItem // this.greenHistogramViewItem.Index = 6; this.greenHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl2; this.greenHistogramViewItem.Text = "G"; this.greenHistogramViewItem.Visible = false; this.greenHistogramViewItem.Click += new System.EventHandler(this.greenHistogramViewItem_Click); // // blueHistogramViewItem // this.blueHistogramViewItem.Index = 7; this.blueHistogramViewItem.Shortcut = System.Windows.Forms.Shortcut.Ctrl3; this.blueHistogramViewItem.Text = "B"; this.blueHistogramViewItem.Visible = false; this.blueHistogramViewItem.Click += new System.EventHandler(this.blueHistogramViewItem_Click); // // menuItem3 // this.menuItem3.Index = 8; this.menuItem3.Text = "-"; // // centerViewItem // this.centerViewItem.Index = 9; this.centerViewItem.Shortcut = System.Windows.Forms.Shortcut.F9; this.centerViewItem.Text = "&Center"; this.centerViewItem.Click += new System.EventHandler(this.centerViewItem_Click); // // optionsItem // this.optionsItem.Index = 2; this.optionsItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openInNewOptionsItem, this.rememberOptionsItem }); this.optionsItem.MergeOrder = 2; this.optionsItem.Text = "&Options"; this.optionsItem.Popup += new System.EventHandler(this.optionsItem_Popup); // // openInNewOptionsItem // this.openInNewOptionsItem.Index = 0; this.openInNewOptionsItem.Text = "Open in &new document on change"; this.openInNewOptionsItem.Click += new System.EventHandler(this.openInNewOptionsItem_Click); // // rememberOptionsItem // this.rememberOptionsItem.Index = 1; this.rememberOptionsItem.Text = "&Remember on change"; this.rememberOptionsItem.Click += new System.EventHandler(this.rememberOptionsItem_Click); // // windowItem // this.windowItem.Index = 3; this.windowItem.MdiList = true; this.windowItem.MergeOrder = 3; this.windowItem.Text = "&Window"; // // helpItem // this.helpItem.Index = 4; this.helpItem.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutHelpItem }); this.helpItem.MergeOrder = 4; this.helpItem.Text = "&Help"; // // aboutHelpItem // this.aboutHelpItem.Index = 0; this.aboutHelpItem.Text = "&About"; this.aboutHelpItem.Click += new System.EventHandler(this.aboutHelpItem_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 511); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.zoomPanel, this.sizePanel, this.selectionPanel, this.colorPanel, this.hslPanel, this.ycbcrPanel, this.infoPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(792, 22); this.statusBar.TabIndex = 1; // // zoomPanel // this.zoomPanel.Name = "zoomPanel"; this.zoomPanel.ToolTipText = "Zoom coefficient"; this.zoomPanel.Width = 50; // // sizePanel // this.sizePanel.Name = "sizePanel"; this.sizePanel.ToolTipText = "Image size"; // // selectionPanel // this.selectionPanel.Name = "selectionPanel"; this.selectionPanel.ToolTipText = "Current point and selection size"; this.selectionPanel.Width = 120; // // colorPanel // this.colorPanel.Name = "colorPanel"; this.colorPanel.ToolTipText = "Current color"; this.colorPanel.Width = 110; // // hslPanel // this.hslPanel.Name = "hslPanel"; this.hslPanel.Width = 130; // // ycbcrPanel // this.ycbcrPanel.Name = "ycbcrPanel"; this.ycbcrPanel.Width = 145; // // infoPanel // this.infoPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.infoPanel.Name = "infoPanel"; this.infoPanel.Width = 120; // // panel1 // this.panel1.Controls.Add(this.dockManager); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(792, 511); this.panel1.TabIndex = 2; // // dockManager // this.dockManager.ActiveAutoHideContent = null; this.dockManager.Controls.Add(this.mainToolBar); this.dockManager.Controls.Add(this.imageToolBar); this.dockManager.Dock = System.Windows.Forms.DockStyle.Fill; this.dockManager.Location = new System.Drawing.Point(0, 0); this.dockManager.Name = "dockManager"; this.dockManager.Size = new System.Drawing.Size(792, 511); this.dockManager.TabIndex = 2; this.dockManager.ActiveDocumentChanged += new System.EventHandler(this.dockManager_ActiveDocumentChanged); // // mainToolBar // this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.mainToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.openButton, this.saveButton, this.sep1, this.copyButton, this.pasteButton, this.toolBarButton9, this.histogramButton, this.toolBarButton4, this.aboutButton }); this.mainToolBar.Divider = false; this.mainToolBar.Dock = System.Windows.Forms.DockStyle.None; this.mainToolBar.DropDownArrows = true; this.mainToolBar.ImageList = this.imageList; this.mainToolBar.Location = new System.Drawing.Point(256, 32); this.mainToolBar.Name = "mainToolBar"; this.mainToolBar.ShowToolTips = true; this.mainToolBar.Size = new System.Drawing.Size(24, 202); this.mainToolBar.TabIndex = 2; this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mainToolBar_ButtonClick); // // openButton // this.openButton.ImageIndex = 0; this.openButton.Name = "openButton"; this.openButton.ToolTipText = "Open an image "; // // saveButton // this.saveButton.ImageIndex = 1; this.saveButton.Name = "saveButton"; this.saveButton.ToolTipText = "Save"; // // sep1 // this.sep1.Name = "sep1"; this.sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // copyButton // this.copyButton.ImageIndex = 2; this.copyButton.Name = "copyButton"; this.copyButton.ToolTipText = "Copy to clipboard"; // // pasteButton // this.pasteButton.ImageIndex = 3; this.pasteButton.Name = "pasteButton"; this.pasteButton.ToolTipText = "Paste from clipboard"; // // toolBarButton9 // this.toolBarButton9.Name = "toolBarButton9"; this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // histogramButton // this.histogramButton.ImageIndex = 4; this.histogramButton.Name = "histogramButton"; this.histogramButton.ToolTipText = "Show histogram"; // // toolBarButton4 // this.toolBarButton4.Name = "toolBarButton4"; this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // aboutButton // this.aboutButton.ImageIndex = 5; this.aboutButton.Name = "aboutButton"; this.aboutButton.ToolTipText = "About"; // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); // // imageToolBar // this.imageToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.imageToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.cloneButton, this.toolBarButton1, this.cropButton, this.toolBarButton2, this.zoomInButton, this.zoomOutButton, this.toolBarButton3, this.fitToScreenButton, this.toolBarButton5, this.resizeButton, this.rotateButton, this.toolBarButton7, this.levelsButton, this.grayscaleButton, this.thresholdButton, this.toolBarButton6, this.morphologyButton, this.convolutionButton, this.toolBarButton8, this.saturationButton, this.fourierButton }); this.imageToolBar.Divider = false; this.imageToolBar.Dock = System.Windows.Forms.DockStyle.None; this.imageToolBar.DropDownArrows = true; this.imageToolBar.ImageList = this.imageList2; this.imageToolBar.Location = new System.Drawing.Point(144, 312); this.imageToolBar.Name = "imageToolBar"; this.imageToolBar.ShowToolTips = true; this.imageToolBar.Size = new System.Drawing.Size(472, 26); this.imageToolBar.TabIndex = 3; this.imageToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.imageToolBar_ButtonClick); // // cloneButton // this.cloneButton.ImageIndex = 0; this.cloneButton.Name = "cloneButton"; this.cloneButton.ToolTipText = "Clone the image"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // cropButton // this.cropButton.ImageIndex = 1; this.cropButton.Name = "cropButton"; this.cropButton.ToolTipText = "Crop image"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // zoomInButton // this.zoomInButton.ImageIndex = 2; this.zoomInButton.Name = "zoomInButton"; this.zoomInButton.ToolTipText = "Zoom In"; // // zoomOutButton // this.zoomOutButton.ImageIndex = 3; this.zoomOutButton.Name = "zoomOutButton"; this.zoomOutButton.ToolTipText = "Zoom out"; // // toolBarButton3 // this.toolBarButton3.ImageIndex = 4; this.toolBarButton3.Name = "toolBarButton3"; this.toolBarButton3.ToolTipText = "Original size"; // // fitToScreenButton // this.fitToScreenButton.ImageIndex = 5; this.fitToScreenButton.Name = "fitToScreenButton"; this.fitToScreenButton.ToolTipText = "Fit to window size"; // // toolBarButton5 // this.toolBarButton5.Name = "toolBarButton5"; this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // resizeButton // this.resizeButton.ImageIndex = 11; this.resizeButton.Name = "resizeButton"; this.resizeButton.ToolTipText = "Resize the image"; // // rotateButton // this.rotateButton.ImageIndex = 12; this.rotateButton.Name = "rotateButton"; this.rotateButton.ToolTipText = "Rotate the image"; // // toolBarButton7 // this.toolBarButton7.Name = "toolBarButton7"; this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // levelsButton // this.levelsButton.ImageIndex = 6; this.levelsButton.Name = "levelsButton"; this.levelsButton.ToolTipText = "Levels correction"; // // grayscaleButton // this.grayscaleButton.ImageIndex = 7; this.grayscaleButton.Name = "grayscaleButton"; this.grayscaleButton.ToolTipText = "Grayscale"; // // thresholdButton // this.thresholdButton.ImageIndex = 8; this.thresholdButton.Name = "thresholdButton"; this.thresholdButton.ToolTipText = "Threshold"; // // toolBarButton6 // this.toolBarButton6.Name = "toolBarButton6"; this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // morphologyButton // this.morphologyButton.ImageIndex = 9; this.morphologyButton.Name = "morphologyButton"; this.morphologyButton.ToolTipText = "Custom morphology operator"; // // convolutionButton // this.convolutionButton.ImageIndex = 10; this.convolutionButton.Name = "convolutionButton"; this.convolutionButton.ToolTipText = "Custom convolution operator"; // // toolBarButton8 // this.toolBarButton8.Name = "toolBarButton8"; this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // saturationButton // this.saturationButton.ImageIndex = 13; this.saturationButton.Name = "saturationButton"; this.saturationButton.ToolTipText = "Saturation (HSL)"; // // fourierButton // this.fourierButton.ImageIndex = 14; this.fourierButton.Name = "fourierButton"; this.fourierButton.ToolTipText = "Fourier Transformation"; // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); this.imageList2.Images.SetKeyName(8, ""); this.imageList2.Images.SetKeyName(9, ""); this.imageList2.Images.SetKeyName(10, ""); this.imageList2.Images.SetKeyName(11, ""); this.imageList2.Images.SetKeyName(12, ""); this.imageList2.Images.SetKeyName(13, ""); this.imageList2.Images.SetKeyName(14, ""); // // ofd // this.ofd.Filter = "Image files (*.jpg,*.png,*.tif,*.bmp,*.gif)|*.jpg;*.png;*.tif;*.bmp;*.gif|JPG fil" + "es (*.jpg)|*.jpg|PNG files (*.png)|*.png|TIF files (*.tif)|*.tif|BMP files (*.bm" + "p)|*.bmp|GIF files (*.gif)|*.gif"; this.ofd.Title = "Open image"; // // sfd // this.sfd.Filter = "PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg|BMP files (*.bmp)|*.bmp"; this.sfd.Title = "Save image"; // // printDocument // this.printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument_PrintPage); // // printPreviewDialog // this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog.Enabled = true; this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon"))); this.printPreviewDialog.Name = "printPreviewDialog"; this.printPreviewDialog.Visible = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(792, 533); this.Controls.Add(this.panel1); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Menu = this.mainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Image Processing Lab"; this.Load += new System.EventHandler(this.MainForm_Load); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); ((System.ComponentModel.ISupportInitialize)(this.zoomPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.sizePanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.selectionPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.colorPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.hslPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.ycbcrPanel)).EndInit( ); ((System.ComponentModel.ISupportInitialize)(this.infoPanel)).EndInit( ); this.panel1.ResumeLayout(false); this.dockManager.ResumeLayout(false); this.dockManager.PerformLayout( ); this.ResumeLayout(false); }