예제 #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent( )
        {
            this.components = new System.ComponentModel.Container( );
            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 );

        }
예제 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent( )
 {
     this.components = new System.ComponentModel.Container();
     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);
 }
예제 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent( )
 {
     this.components = new System.ComponentModel.Container( );
     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);
 }