private void OKButton_Click(object sender, EventArgs e) { DialogResult result = MessageBox.Show(Constants.saveScannedImageString, Constants.saveImageString, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation); if (result == DialogResult.Yes) { try { //helperInstance.DisposeOfImageX(); helperInstance.Image = imageXView1.Image; //if we scanned multiple images we need to make sure it's available to save Multi-Page in the Save Options helperInstance.ScannedImagePageCount = imagesScannedCount; helperInstance.SaveFileInitialDirectory = saveFileInitialDirectory; if (helperInstance.SaveWithOptions() == DialogResult.OK) { //if image is multi-page and user selected the multi-page save option if (imagesScannedCount > 1 && IsMultiPageEnabledForSaveOptions(helperInstance.SaveOptionsChosen)) { foreach (ImageX img in imagesScanned) { using (ImageXView imageView = new ImageXView(imagXpress1)) { imageView.Image = img; if (helperInstance.IsWatemarkNeeded()) { Helper.WatermarkImage(imageView, img.BitsPerPixel); } } img.Save(helperInstance.SavedFileName, helperInstance.SaveOptionsChosen); } } else { //single-page or user didn't choose the multi-page save option so use current image, //brand image with watermark and save if (helperInstance.IsWatemarkNeeded()) { Helper.WatermarkImage(imageXView1, imageXView1.Image.BitsPerPixel); } imageXView1.Image.Save(helperInstance.SavedFileName, helperInstance.SaveOptionsChosen); } savedFileName = helperInstance.SavedFileName; this.DialogResult = DialogResult.OK; } } catch (ImageXException ex) { MessageBox.Show(ex.Message, Constants.saveErrorString, MessageBoxButtons.OK, MessageBoxIcon.Error); } } else if (result == DialogResult.No) { this.DialogResult = DialogResult.No; } }
private void AddToolMenu(ImageXView imageXView) { imageXView.ContextMenu.MenuItems.Add(Constants.toolString); imageXView.ContextMenu.MenuItems[imageXView.ContextMenu.MenuItems.Count - 1].MenuItems.Add(Constants.pointerString); imageXView.ContextMenu.MenuItems[imageXView.ContextMenu.MenuItems.Count - 1].MenuItems.Add(Constants.zoomRectangleString); //check pointer tool menu item by default imageXView.ContextMenu.MenuItems[imageXView.ContextMenu.MenuItems.Count - 1].MenuItems[0].Checked = true; imageXView.ContextMenu.MenuItems[imageXView.ContextMenu.MenuItems.Count - 1].MenuItems[0].Click += new EventHandler(ContextMenuPointerClickEventHandler); imageXView.ContextMenu.MenuItems[imageXView.ContextMenu.MenuItems.Count - 1].MenuItems[1].Click += new EventHandler(ContextMenuZoomRectClickEventHandler); }
public void Process(ref ImageXView InputImage) { // Go on with the processing: //_icrProcessor._icrProcessor.SelectForm(MatchedForm); //_icrProcessor._icrProcessor.StartFormProcessing(); foreach (ICRField Field in this) { Field.InputImage = InputImage; //Field.FieldPictureChanged += new EventHandler(Field_FieldPictureChanged); Field.Result = Field.GetResult(); //this.img.hDIB = Field.img.CopyDIB(); //Field.OnFieldPictureChanged(ICRType.FieldProcessed); Application.DoEvents(); //Field.FieldPictureChanged -= new EventHandler(Field_FieldPictureChanged); // MessageBox.Show("Ok"); } //_icrProcessor.DeletePreprocessImage(); }
/// <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.cboImageList = new System.Windows.Forms.ComboBox(); this.cmdRotate = new System.Windows.Forms.Button(); this.cmdColorDepth = new System.Windows.Forms.Button(); this.cmdEmboss = new System.Windows.Forms.Button(); this.cmdReloadImage = new System.Windows.Forms.Button(); this.lblBufferSel = new System.Windows.Forms.Label(); this.lblViewBuf2 = new System.Windows.Forms.Label(); this.lblViewBuf1 = new System.Windows.Forms.Label(); this.lblViewBuf3 = new System.Windows.Forms.Label(); this.lblViewBuf4 = new System.Windows.Forms.Label(); this.lstStatus = new System.Windows.Forms.ListBox(); this.lblStatus = new System.Windows.Forms.Label(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.mnuToolbar = new System.Windows.Forms.MenuItem(); this.mnuToolbarShow = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.lblInfo = new System.Windows.Forms.RichTextBox(); this.lblLastError = new System.Windows.Forms.Label(); this.lblError = new System.Windows.Forms.Label(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.imageXView2 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.imageXView3 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.imageXView4 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.imageXViewMain = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.SuspendLayout(); // // cboImageList // this.cboImageList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboImageList.Location = new System.Drawing.Point(16, 192); this.cboImageList.MaxDropDownItems = 12; this.cboImageList.Name = "cboImageList"; this.cboImageList.Size = new System.Drawing.Size(144, 21); this.cboImageList.TabIndex = 0; this.cboImageList.SelectedIndexChanged += new System.EventHandler(this.cboImageList_SelectedIndexChanged); // // cmdRotate // this.cmdRotate.Location = new System.Drawing.Point(16, 224); this.cmdRotate.Name = "cmdRotate"; this.cmdRotate.Size = new System.Drawing.Size(144, 24); this.cmdRotate.TabIndex = 6; this.cmdRotate.Text = "Rotate 90"; this.cmdRotate.Click += new System.EventHandler(this.cmdRotate_Click); // // cmdColorDepth // this.cmdColorDepth.Location = new System.Drawing.Point(16, 256); this.cmdColorDepth.Name = "cmdColorDepth"; this.cmdColorDepth.Size = new System.Drawing.Size(144, 24); this.cmdColorDepth.TabIndex = 7; this.cmdColorDepth.Text = "Make 1-bit"; this.cmdColorDepth.Click += new System.EventHandler(this.cmdColorDepth_Click); // // cmdEmboss // this.cmdEmboss.Location = new System.Drawing.Point(16, 288); this.cmdEmboss.Name = "cmdEmboss"; this.cmdEmboss.Size = new System.Drawing.Size(144, 24); this.cmdEmboss.TabIndex = 8; this.cmdEmboss.Text = "Emboss"; this.cmdEmboss.Click += new System.EventHandler(this.cmdEmboss_Click); // // cmdReloadImage // this.cmdReloadImage.Location = new System.Drawing.Point(16, 120); this.cmdReloadImage.Name = "cmdReloadImage"; this.cmdReloadImage.Size = new System.Drawing.Size(144, 32); this.cmdReloadImage.TabIndex = 9; this.cmdReloadImage.Text = "Reload Current Image"; this.cmdReloadImage.Click += new System.EventHandler(this.cmdReloadImage_Click); // // lblBufferSel // this.lblBufferSel.Location = new System.Drawing.Point(16, 160); this.lblBufferSel.Name = "lblBufferSel"; this.lblBufferSel.Size = new System.Drawing.Size(144, 24); this.lblBufferSel.TabIndex = 11; this.lblBufferSel.Text = "Select image buffer to view/process:"; this.lblBufferSel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblViewBuf2 // this.lblViewBuf2.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblViewBuf2.Location = new System.Drawing.Point(168, 475); this.lblViewBuf2.Name = "lblViewBuf2"; this.lblViewBuf2.Size = new System.Drawing.Size(120, 16); this.lblViewBuf2.TabIndex = 12; this.lblViewBuf2.Text = "View Buffer 2"; this.lblViewBuf2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblViewBuf1 // this.lblViewBuf1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblViewBuf1.Location = new System.Drawing.Point(16, 475); this.lblViewBuf1.Name = "lblViewBuf1"; this.lblViewBuf1.Size = new System.Drawing.Size(120, 16); this.lblViewBuf1.TabIndex = 13; this.lblViewBuf1.Text = "View Buffer 1"; this.lblViewBuf1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblViewBuf3 // this.lblViewBuf3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblViewBuf3.Location = new System.Drawing.Point(320, 475); this.lblViewBuf3.Name = "lblViewBuf3"; this.lblViewBuf3.Size = new System.Drawing.Size(120, 16); this.lblViewBuf3.TabIndex = 14; this.lblViewBuf3.Text = "View Buffer 3"; this.lblViewBuf3.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblViewBuf4 // this.lblViewBuf4.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblViewBuf4.Location = new System.Drawing.Point(464, 475); this.lblViewBuf4.Name = "lblViewBuf4"; this.lblViewBuf4.Size = new System.Drawing.Size(120, 16); this.lblViewBuf4.TabIndex = 15; this.lblViewBuf4.Text = "View Buffer 4"; this.lblViewBuf4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lstStatus // this.lstStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lstStatus.Location = new System.Drawing.Point(16, 379); this.lstStatus.Name = "lstStatus"; this.lstStatus.Size = new System.Drawing.Size(576, 82); this.lstStatus.TabIndex = 16; // // lblStatus // this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblStatus.Location = new System.Drawing.Point(24, 363); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(568, 16); this.lblStatus.TabIndex = 17; this.lblStatus.Text = "Image Process Status"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.mnuToolbar, this.mnuAbout }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.menuItem4 }); this.menuItem1.Text = "&File"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "&Open"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "-"; // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "&Quit"; this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click); // // mnuToolbar // this.mnuToolbar.Index = 1; this.mnuToolbar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuToolbarShow }); this.mnuToolbar.Text = "&Toolbar"; // // mnuToolbarShow // this.mnuToolbarShow.Index = 0; this.mnuToolbarShow.Text = "&Show"; this.mnuToolbarShow.Click += new System.EventHandler(this.mnuToolbarShow_Click); // // mnuAbout // this.mnuAbout.Index = 2; this.mnuAbout.Text = "&About"; this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click); // // lblInfo // this.lblInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblInfo.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblInfo.Location = new System.Drawing.Point(16, 8); this.lblInfo.Name = "lblInfo"; this.lblInfo.ReadOnly = true; this.lblInfo.Size = new System.Drawing.Size(576, 104); this.lblInfo.TabIndex = 18; this.lblInfo.Text = resources.GetString("lblInfo.Text"); // // lblLastError // this.lblLastError.Location = new System.Drawing.Point(16, 312); this.lblLastError.Name = "lblLastError"; this.lblLastError.Size = new System.Drawing.Size(100, 16); this.lblLastError.TabIndex = 19; this.lblLastError.Text = "Last Error:"; // // lblError // this.lblError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.lblError.Location = new System.Drawing.Point(16, 328); this.lblError.Name = "lblError"; this.lblError.Size = new System.Drawing.Size(144, 35); this.lblError.TabIndex = 20; // // imageXView1 // this.imageXView1.Location = new System.Drawing.Point(19, 515); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(141, 100); this.imageXView1.TabIndex = 21; // // imageXView2 // this.imageXView2.Location = new System.Drawing.Point(166, 515); this.imageXView2.Name = "imageXView2"; this.imageXView2.Size = new System.Drawing.Size(141, 100); this.imageXView2.TabIndex = 22; // // imageXView3 // this.imageXView3.Location = new System.Drawing.Point(313, 515); this.imageXView3.Name = "imageXView3"; this.imageXView3.Size = new System.Drawing.Size(141, 100); this.imageXView3.TabIndex = 23; // // imageXView4 // this.imageXView4.Location = new System.Drawing.Point(460, 515); this.imageXView4.Name = "imageXView4"; this.imageXView4.Size = new System.Drawing.Size(141, 100); this.imageXView4.TabIndex = 24; // // imageXViewMain // this.imageXViewMain.Location = new System.Drawing.Point(171, 120); this.imageXViewMain.Name = "imageXViewMain"; this.imageXViewMain.Size = new System.Drawing.Size(425, 261); this.imageXViewMain.TabIndex = 25; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(608, 625); this.Controls.Add(this.imageXViewMain); this.Controls.Add(this.imageXView4); this.Controls.Add(this.imageXView3); this.Controls.Add(this.imageXView2); this.Controls.Add(this.imageXView1); this.Controls.Add(this.lblError); this.Controls.Add(this.lblLastError); this.Controls.Add(this.lblInfo); this.Controls.Add(this.lblStatus); this.Controls.Add(this.lstStatus); this.Controls.Add(this.lblViewBuf4); this.Controls.Add(this.lblViewBuf3); this.Controls.Add(this.lblViewBuf1); this.Controls.Add(this.lblViewBuf2); this.Controls.Add(this.lblBufferSel); this.Controls.Add(this.cmdReloadImage); this.Controls.Add(this.cmdEmboss); this.Controls.Add(this.cmdColorDepth); this.Controls.Add(this.cmdRotate); this.Controls.Add(this.cboImageList); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Buffer / Stream Sample"; this.Load += new System.EventHandler(this.FormMain_Load); 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.DescriptionListBox = new System.Windows.Forms.ListBox(); this.ErrorLabel2 = new System.Windows.Forms.Label(); this.ErrorLabel = new System.Windows.Forms.Label(); this.MainMenu = new System.Windows.Forms.MainMenu(this.components); this.FileMenu = new System.Windows.Forms.MenuItem(); this.OpenMenuItem = new System.Windows.Forms.MenuItem(); this.ExitMenuItem = new System.Windows.Forms.MenuItem(); this.ToolbarMenu = new System.Windows.Forms.MenuItem(); this.ShowMenuItem = new System.Windows.Forms.MenuItem(); this.AboutMenu = new System.Windows.Forms.MenuItem(); this.ImagXpressMenuItem = new System.Windows.Forms.MenuItem(); this.PrintButton1 = new System.Windows.Forms.Button(); this.PrintButton2 = new System.Windows.Forms.Button(); this.PrintButton3 = new System.Windows.Forms.Button(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.SuspendLayout(); // // DescriptionListBox // this.DescriptionListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.DescriptionListBox.Items.AddRange(new object[] { "This sample demonstrates the following functionality:", "1) Printing an image with ImagXpress." }); this.DescriptionListBox.Location = new System.Drawing.Point(8, 8); this.DescriptionListBox.Name = "DescriptionListBox"; this.DescriptionListBox.Size = new System.Drawing.Size(680, 43); this.DescriptionListBox.TabIndex = 1; // // ErrorLabel2 // this.ErrorLabel2.Location = new System.Drawing.Point(357, 465); this.ErrorLabel2.Name = "ErrorLabel2"; this.ErrorLabel2.Size = new System.Drawing.Size(80, 16); this.ErrorLabel2.TabIndex = 4; this.ErrorLabel2.Text = "Last Error:"; // // ErrorLabel // this.ErrorLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ErrorLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ErrorLabel.Location = new System.Drawing.Point(357, 502); this.ErrorLabel.Name = "ErrorLabel"; this.ErrorLabel.Size = new System.Drawing.Size(328, 49); this.ErrorLabel.TabIndex = 5; // // MainMenu // this.MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.FileMenu, this.ToolbarMenu, this.AboutMenu }); // // FileMenu // this.FileMenu.Index = 0; this.FileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OpenMenuItem, this.ExitMenuItem }); this.FileMenu.Text = "&File"; // // OpenMenuItem // this.OpenMenuItem.Index = 0; this.OpenMenuItem.Text = "&Open"; this.OpenMenuItem.Click += new System.EventHandler(this.OpenMenuItem_Click); // // ExitMenuItem // this.ExitMenuItem.Index = 1; this.ExitMenuItem.Text = "E&xit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // ToolbarMenu // this.ToolbarMenu.Index = 1; this.ToolbarMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ShowMenuItem }); this.ToolbarMenu.Text = "&Toolbar"; // // ShowMenuItem // this.ShowMenuItem.Index = 0; this.ShowMenuItem.Text = "&Show"; this.ShowMenuItem.Click += new System.EventHandler(this.ShowMenuItem_Click); // // AboutMenu // this.AboutMenu.Index = 2; this.AboutMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ImagXpressMenuItem }); this.AboutMenu.Text = "&About"; // // ImagXpressMenuItem // this.ImagXpressMenuItem.Index = 0; this.ImagXpressMenuItem.Text = "Imag&Xpress"; this.ImagXpressMenuItem.Click += new System.EventHandler(this.ImagXpressMenuItem_Click); // // PrintButton1 // this.PrintButton1.Location = new System.Drawing.Point(80, 432); this.PrintButton1.Name = "PrintButton1"; this.PrintButton1.Size = new System.Drawing.Size(200, 32); this.PrintButton1.TabIndex = 6; this.PrintButton1.Text = "Print Image Centered on Page"; this.PrintButton1.Click += new System.EventHandler(this.PrintButton1_Click); // // PrintButton2 // this.PrintButton2.Location = new System.Drawing.Point(80, 480); this.PrintButton2.Name = "PrintButton2"; this.PrintButton2.Size = new System.Drawing.Size(200, 32); this.PrintButton2.TabIndex = 7; this.PrintButton2.Text = "Print 2 Images Centered on Page"; this.PrintButton2.Click += new System.EventHandler(this.PrintButton2_Click); // // PrintButton3 // this.PrintButton3.Location = new System.Drawing.Point(80, 528); this.PrintButton3.Name = "PrintButton3"; this.PrintButton3.Size = new System.Drawing.Size(200, 32); this.PrintButton3.TabIndex = 8; this.PrintButton3.Text = "Print Image Fit to Page"; this.PrintButton3.Click += new System.EventHandler(this.PrintButton3_Click); // // imageXView1 // this.imageXView1.Location = new System.Drawing.Point(8, 58); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(676, 368); this.imageXView1.TabIndex = 9; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(696, 579); this.Controls.Add(this.imageXView1); this.Controls.Add(this.PrintButton3); this.Controls.Add(this.PrintButton2); this.Controls.Add(this.PrintButton1); this.Controls.Add(this.ErrorLabel); this.Controls.Add(this.ErrorLabel2); this.Controls.Add(this.DescriptionListBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.MainMenu; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Print"; this.Load += new System.EventHandler(this.MainForm_Load); 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(ColorProfilesForm)); this.checkICM = new System.Windows.Forms.CheckBox(); this.checkICMProofing = new System.Windows.Forms.CheckBox(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuFileOpenMonitor = new System.Windows.Forms.MenuItem(); this.menuFileOpenPrinter = new System.Windows.Forms.MenuItem(); this.menuFileOpenTarget = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuFileOpenImage = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuFileQuit = new System.Windows.Forms.MenuItem(); this.menuToolbar = new System.Windows.Forms.MenuItem(); this.menuToolbarShow = new System.Windows.Forms.MenuItem(); this.menuAbout = new System.Windows.Forms.MenuItem(); this.comboRenderIntent = new System.Windows.Forms.ComboBox(); this.lblRenderIntent = new System.Windows.Forms.Label(); this.labelLastError = new System.Windows.Forms.Label(); this.labelError = new System.Windows.Forms.Label(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.SuspendLayout(); // // checkICM // this.checkICM.Checked = true; this.checkICM.CheckState = System.Windows.Forms.CheckState.Checked; this.checkICM.Location = new System.Drawing.Point(12, 495); this.checkICM.Name = "checkICM"; this.checkICM.Size = new System.Drawing.Size(94, 21); this.checkICM.TabIndex = 1; this.checkICM.Text = "ICM Enabled"; this.checkICM.CheckedChanged += new System.EventHandler(this.checkICM_CheckedChanged); // // checkICMProofing // this.checkICMProofing.Checked = true; this.checkICMProofing.CheckState = System.Windows.Forms.CheckState.Checked; this.checkICMProofing.Location = new System.Drawing.Point(112, 495); this.checkICMProofing.Name = "checkICMProofing"; this.checkICMProofing.Size = new System.Drawing.Size(136, 21); this.checkICMProofing.TabIndex = 2; this.checkICMProofing.Text = "ICM Proofing Enabled"; this.checkICMProofing.CheckedChanged += new System.EventHandler(this.checkICMProofing_CheckedChanged); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuToolbar, this.menuAbout }); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileOpenMonitor, this.menuFileOpenPrinter, this.menuFileOpenTarget, this.menuItem5, this.menuFileOpenImage, this.menuItem7, this.menuFileQuit }); this.menuFile.Text = "&File"; // // menuFileOpenMonitor // this.menuFileOpenMonitor.Index = 0; this.menuFileOpenMonitor.Text = "Open &Monitor Profile"; this.menuFileOpenMonitor.Click += new System.EventHandler(this.menuFileOpenMonitor_Click); // // menuFileOpenPrinter // this.menuFileOpenPrinter.Index = 1; this.menuFileOpenPrinter.Text = "Open &Printer Profile"; this.menuFileOpenPrinter.Click += new System.EventHandler(this.menuFileOpenPrinter_Click); // // menuFileOpenTarget // this.menuFileOpenTarget.Index = 2; this.menuFileOpenTarget.Text = "Open &Target Profile"; this.menuFileOpenTarget.Click += new System.EventHandler(this.menuFileOpenTarget_Click); // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.Text = "-"; // // menuFileOpenImage // this.menuFileOpenImage.Index = 4; this.menuFileOpenImage.Text = "&Open Image"; this.menuFileOpenImage.Click += new System.EventHandler(this.menuFileOpenImage_Click); // // menuItem7 // this.menuItem7.Index = 5; this.menuItem7.Text = "-"; // // menuFileQuit // this.menuFileQuit.Index = 6; this.menuFileQuit.Text = "&Quit"; this.menuFileQuit.Click += new System.EventHandler(this.menuItem8_Click); // // menuToolbar // this.menuToolbar.Index = 1; this.menuToolbar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuToolbarShow }); this.menuToolbar.Text = "&Toolbar"; // // menuToolbarShow // this.menuToolbarShow.Index = 0; this.menuToolbarShow.Text = "&Show"; this.menuToolbarShow.Click += new System.EventHandler(this.menuToolbarShow_Click); // // menuAbout // this.menuAbout.Index = 2; this.menuAbout.Text = "&About"; this.menuAbout.Click += new System.EventHandler(this.menuItem10_Click); // // comboRenderIntent // this.comboRenderIntent.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboRenderIntent.Items.AddRange(new object[] { "Images", "Business", "Graphics", "Absolute Color Metric" }); this.comboRenderIntent.Location = new System.Drawing.Point(536, 492); this.comboRenderIntent.Name = "comboRenderIntent"; this.comboRenderIntent.Size = new System.Drawing.Size(169, 21); this.comboRenderIntent.TabIndex = 3; this.comboRenderIntent.SelectedIndexChanged += new System.EventHandler(this.comboRenderIntent_SelectedIndexChanged); // // lblRenderIntent // this.lblRenderIntent.Location = new System.Drawing.Point(425, 493); this.lblRenderIntent.Name = "lblRenderIntent"; this.lblRenderIntent.Size = new System.Drawing.Size(87, 16); this.lblRenderIntent.TabIndex = 4; this.lblRenderIntent.Text = "Render Intent:"; this.lblRenderIntent.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // labelLastError // this.labelLastError.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelLastError.Location = new System.Drawing.Point(368, 136); this.labelLastError.Name = "labelLastError"; this.labelLastError.Size = new System.Drawing.Size(63, 16); this.labelLastError.TabIndex = 5; this.labelLastError.Text = "Last Error:"; // // labelError // this.labelError.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelError.Location = new System.Drawing.Point(425, 136); this.labelError.Name = "labelError"; this.labelError.Size = new System.Drawing.Size(271, 40); this.labelError.TabIndex = 6; // // richTextBox1 // this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.richTextBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.richTextBox1.Location = new System.Drawing.Point(8, 0); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(697, 120); this.richTextBox1.TabIndex = 7; this.richTextBox1.Text = resources.GetString("richTextBox1.Text"); // // imageXView1 // this.imageXView1.AutoResize = Accusoft.ImagXpressSdk.AutoResizeType.BestFit; this.imageXView1.Location = new System.Drawing.Point(8, 127); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(341, 344); this.imageXView1.TabIndex = 8; // // ColorProfilesForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(712, 528); this.Controls.Add(this.imageXView1); this.Controls.Add(this.richTextBox1); this.Controls.Add(this.labelError); this.Controls.Add(this.labelLastError); this.Controls.Add(this.lblRenderIntent); this.Controls.Add(this.comboRenderIntent); this.Controls.Add(this.checkICMProofing); this.Controls.Add(this.checkICM); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "ColorProfilesForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Color Profiles"; this.Load += new System.EventHandler(this.formMain_Load); 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(AutoRemoveRedEyeForm)); this.liststatus = new System.Windows.Forms.ListBox(); this.lstDesc = new System.Windows.Forms.ListBox(); this.cmdRemove = new System.Windows.Forms.Button(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuOpen = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.mnuQuit = new System.Windows.Forms.MenuItem(); this.mnuToolBar = new System.Windows.Forms.MenuItem(); this.mnuShow = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.menuItemAbout = new System.Windows.Forms.MenuItem(); this.lblStatus = new System.Windows.Forms.Label(); this.lblerror = new System.Windows.Forms.Label(); this.lsterror = new System.Windows.Forms.Label(); this.cmbGlare = new System.Windows.Forms.ComboBox(); this.cmbShade = new System.Windows.Forms.ComboBox(); this.lblGlare = new System.Windows.Forms.Label(); this.lblShade = new System.Windows.Forms.Label(); this.grpRedResult = new System.Windows.Forms.GroupBox(); this.lblRedDesc = new System.Windows.Forms.Label(); this.resultsList = new System.Windows.Forms.ListView(); this.RedEyeIndex = new System.Windows.Forms.ColumnHeader(); this.YPos = new System.Windows.Forms.ColumnHeader(); this.XPos = new System.Windows.Forms.ColumnHeader(); this.AreaWidth = new System.Windows.Forms.ColumnHeader(); this.AreaHeight = new System.Windows.Forms.ColumnHeader(); this.lblCount = new System.Windows.Forms.Label(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.grpRedResult.SuspendLayout(); this.SuspendLayout(); // // liststatus // this.liststatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.liststatus.Location = new System.Drawing.Point(584, 96); this.liststatus.Name = "liststatus"; this.liststatus.Size = new System.Drawing.Size(168, 134); this.liststatus.TabIndex = 1; // // lstDesc // this.lstDesc.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lstDesc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lstDesc.Items.AddRange(new object[] { "This sample demonstrates using the AutoRemoveRedEye method in the ImagXpress cont" + "rol. The sample", "demonstrates using the RedeyeCollection Class to retrieve information about the r" + "ed eyes found in the image." }); this.lstDesc.Location = new System.Drawing.Point(24, 8); this.lstDesc.Name = "lstDesc"; this.lstDesc.Size = new System.Drawing.Size(728, 56); this.lstDesc.TabIndex = 2; // // cmdRemove // this.cmdRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmdRemove.Location = new System.Drawing.Point(376, 203); this.cmdRemove.Name = "cmdRemove"; this.cmdRemove.Size = new System.Drawing.Size(136, 32); this.cmdRemove.TabIndex = 3; this.cmdRemove.Text = "AutoRemoveRedEye"; this.cmdRemove.Click += new System.EventHandler(this.cmdRemove_Click); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.mnuToolBar, this.mnuAbout }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuOpen, this.menuItem2, this.mnuQuit }); this.menuItem1.Text = "&File"; // // mnuOpen // this.mnuOpen.Index = 0; this.mnuOpen.Text = "&Open"; this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "-"; // // mnuQuit // this.mnuQuit.Index = 2; this.mnuQuit.Text = "&Quit"; this.mnuQuit.Click += new System.EventHandler(this.mnuQuit_Click); // // mnuToolBar // this.mnuToolBar.Index = 1; this.mnuToolBar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuShow }); this.mnuToolBar.Text = "&Toolbar"; // // mnuShow // this.mnuShow.Index = 0; this.mnuShow.Text = "&Show"; this.mnuShow.Click += new System.EventHandler(this.mnuShow_Click); // // mnuAbout // this.mnuAbout.Index = 2; this.mnuAbout.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemAbout }); this.mnuAbout.Text = "&About"; // // menuItemAbout // this.menuItemAbout.Index = 0; this.menuItemAbout.Text = "Imag&Xpress"; this.menuItemAbout.Click += new System.EventHandler(this.menuItemAbout_Click); // // lblStatus // this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblStatus.Location = new System.Drawing.Point(584, 72); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(168, 16); this.lblStatus.TabIndex = 4; this.lblStatus.Text = "Load Status:"; this.lblStatus.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblerror // this.lblerror.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.lblerror.Location = new System.Drawing.Point(320, 96); this.lblerror.Name = "lblerror"; this.lblerror.Size = new System.Drawing.Size(248, 35); this.lblerror.TabIndex = 5; // // lsterror // this.lsterror.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lsterror.Location = new System.Drawing.Point(320, 72); this.lsterror.Name = "lsterror"; this.lsterror.Size = new System.Drawing.Size(112, 16); this.lsterror.TabIndex = 6; this.lsterror.Text = "Last Error Reported:"; // // cmbGlare // this.cmbGlare.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmbGlare.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbGlare.Items.AddRange(new object[] { "None", "Slight", "Full" }); this.cmbGlare.Location = new System.Drawing.Point(320, 171); this.cmbGlare.Name = "cmbGlare"; this.cmbGlare.Size = new System.Drawing.Size(112, 21); this.cmbGlare.TabIndex = 7; // // cmbShade // this.cmbShade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cmbShade.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbShade.Items.AddRange(new object[] { "Normal", "Light", "Dark" }); this.cmbShade.Location = new System.Drawing.Point(456, 171); this.cmbShade.Name = "cmbShade"; this.cmbShade.Size = new System.Drawing.Size(112, 21); this.cmbShade.TabIndex = 8; // // lblGlare // this.lblGlare.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblGlare.Location = new System.Drawing.Point(320, 147); this.lblGlare.Name = "lblGlare"; this.lblGlare.Size = new System.Drawing.Size(112, 16); this.lblGlare.TabIndex = 9; this.lblGlare.Text = "Glare Settings"; this.lblGlare.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // lblShade // this.lblShade.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblShade.Location = new System.Drawing.Point(456, 147); this.lblShade.Name = "lblShade"; this.lblShade.Size = new System.Drawing.Size(112, 16); this.lblShade.TabIndex = 10; this.lblShade.Text = "Eye Shade"; this.lblShade.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // grpRedResult // this.grpRedResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.grpRedResult.Controls.Add(this.lblRedDesc); this.grpRedResult.Controls.Add(this.resultsList); this.grpRedResult.Controls.Add(this.lblCount); this.grpRedResult.Location = new System.Drawing.Point(312, 243); this.grpRedResult.Name = "grpRedResult"; this.grpRedResult.Size = new System.Drawing.Size(440, 200); this.grpRedResult.TabIndex = 11; this.grpRedResult.TabStop = false; this.grpRedResult.Text = "RedEye Results"; // // lblRedDesc // this.lblRedDesc.Location = new System.Drawing.Point(24, 32); this.lblRedDesc.Name = "lblRedDesc"; this.lblRedDesc.Size = new System.Drawing.Size(160, 16); this.lblRedDesc.TabIndex = 2; this.lblRedDesc.Text = "Number of Red Eyes Found:"; // // resultsList // this.resultsList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.RedEyeIndex, this.YPos, this.XPos, this.AreaWidth, this.AreaHeight }); this.resultsList.Location = new System.Drawing.Point(16, 56); this.resultsList.Name = "resultsList"; this.resultsList.Size = new System.Drawing.Size(408, 128); this.resultsList.TabIndex = 1; this.resultsList.UseCompatibleStateImageBehavior = false; this.resultsList.View = System.Windows.Forms.View.Details; // // RedEyeIndex // this.RedEyeIndex.Text = "RedEyeIndex"; this.RedEyeIndex.Width = 85; // // YPos // this.YPos.Text = "YPos"; // // XPos // this.XPos.Text = "XPos"; // // AreaWidth // this.AreaWidth.Text = "AreaWidth"; this.AreaWidth.Width = 100; // // AreaHeight // this.AreaHeight.Text = "AreaHeight"; this.AreaHeight.Width = 100; // // lblCount // this.lblCount.Location = new System.Drawing.Point(192, 32); this.lblCount.Name = "lblCount"; this.lblCount.Size = new System.Drawing.Size(152, 16); this.lblCount.TabIndex = 0; // // imageXView1 // this.imageXView1.AutoResize = Accusoft.ImagXpressSdk.AutoResizeType.BestFit; this.imageXView1.Location = new System.Drawing.Point(24, 72); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(267, 376); this.imageXView1.TabIndex = 12; // // AutoRemoveRedEyeForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(768, 460); this.Controls.Add(this.imageXView1); this.Controls.Add(this.grpRedResult); this.Controls.Add(this.lblShade); this.Controls.Add(this.lblGlare); this.Controls.Add(this.cmbShade); this.Controls.Add(this.cmbGlare); this.Controls.Add(this.lsterror); this.Controls.Add(this.lblerror); this.Controls.Add(this.lblStatus); this.Controls.Add(this.cmdRemove); this.Controls.Add(this.lstDesc); this.Controls.Add(this.liststatus); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "AutoRemoveRedEyeForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Auto Remove RedEye"; this.Load += new System.EventHandler(this.AutoRemoveRedEye_Load); this.grpRedResult.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.AlphaLabel1 = new System.Windows.Forms.Label(); this.SourceLabel = new System.Windows.Forms.Label(); this.DescriptionListBox = new System.Windows.Forms.ListBox(); this.BlendButton = new System.Windows.Forms.Button(); this.AlphaComboBox = new System.Windows.Forms.ComboBox(); this.MainMenu = new System.Windows.Forms.MainMenu(this.components); this.FileMenu = new System.Windows.Forms.MenuItem(); this.OpenSourceMenuItem = new System.Windows.Forms.MenuItem(); this.OpenAlphaMenuItem = new System.Windows.Forms.MenuItem(); this.FileMenuSeparator = new System.Windows.Forms.MenuItem(); this.ExitMenuItem = new System.Windows.Forms.MenuItem(); this.ToolbarMenu = new System.Windows.Forms.MenuItem(); this.ShowMenuItem = new System.Windows.Forms.MenuItem(); this.AboutMenu = new System.Windows.Forms.MenuItem(); this.ImagXpressMenuItem = new System.Windows.Forms.MenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.imagXpress2 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView2 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // AlphaLabel1 // this.AlphaLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AlphaLabel1.Location = new System.Drawing.Point(20, 154); this.AlphaLabel1.Name = "AlphaLabel1"; this.AlphaLabel1.Size = new System.Drawing.Size(157, 16); this.AlphaLabel1.TabIndex = 0; this.AlphaLabel1.Text = "Alpha Channel Image"; this.AlphaLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // SourceLabel // this.SourceLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SourceLabel.Location = new System.Drawing.Point(213, 152); this.SourceLabel.Name = "SourceLabel"; this.SourceLabel.Size = new System.Drawing.Size(423, 18); this.SourceLabel.TabIndex = 4; this.SourceLabel.Text = "Source Image"; this.SourceLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // DescriptionListBox // this.DescriptionListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.DescriptionListBox.Items.AddRange(new object[] { "This sample demonstrates the following functionality:", "Merging an image with an alpha channel to a source image and displaying the combi" + "ned image. ", "", "You can select an Alpha Channel image in the dropdown list or load your own sourc" + "e image and/or ", "your own Alpha Channel image in the sample." }); this.DescriptionListBox.Location = new System.Drawing.Point(8, 8); this.DescriptionListBox.Name = "DescriptionListBox"; this.DescriptionListBox.Size = new System.Drawing.Size(692, 69); this.DescriptionListBox.TabIndex = 5; // // BlendButton // this.BlendButton.Location = new System.Drawing.Point(213, 104); this.BlendButton.Name = "BlendButton"; this.BlendButton.Size = new System.Drawing.Size(255, 32); this.BlendButton.TabIndex = 6; this.BlendButton.Text = "Blend Alpha Channel Image with Source Image"; this.BlendButton.Click += new System.EventHandler(this.BlendButton_Click); // // AlphaComboBox // this.AlphaComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.AlphaComboBox.Items.AddRange(new object[] { "AlphaImage1", "AlphaImage2", "AlphaImage3" }); this.AlphaComboBox.Location = new System.Drawing.Point(23, 104); this.AlphaComboBox.Name = "AlphaComboBox"; this.AlphaComboBox.Size = new System.Drawing.Size(144, 21); this.AlphaComboBox.TabIndex = 8; this.AlphaComboBox.SelectedIndexChanged += new System.EventHandler(this.AlphaComboBox_SelectedIndexChanged); // // MainMenu // this.MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.FileMenu, this.ToolbarMenu, this.AboutMenu }); // // FileMenu // this.FileMenu.Index = 0; this.FileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OpenSourceMenuItem, this.OpenAlphaMenuItem, this.FileMenuSeparator, this.ExitMenuItem }); this.FileMenu.Text = "&File"; // // OpenSourceMenuItem // this.OpenSourceMenuItem.Index = 0; this.OpenSourceMenuItem.Text = "&Open Source Image"; this.OpenSourceMenuItem.Click += new System.EventHandler(this.OpenSourceMenuItem_Click); // // OpenAlphaMenuItem // this.OpenAlphaMenuItem.Index = 1; this.OpenAlphaMenuItem.Text = "&Open Alpha Channel Image"; this.OpenAlphaMenuItem.Click += new System.EventHandler(this.OpenAlphaMenuItem_Click); // // FileMenuSeparator // this.FileMenuSeparator.Index = 2; this.FileMenuSeparator.Text = "-"; // // ExitMenuItem // this.ExitMenuItem.Index = 3; this.ExitMenuItem.Text = "E&xit"; this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); // // ToolbarMenu // this.ToolbarMenu.Index = 1; this.ToolbarMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ShowMenuItem }); this.ToolbarMenu.Text = "&Toolbar"; // // ShowMenuItem // this.ShowMenuItem.Index = 0; this.ShowMenuItem.Text = "&Show"; this.ShowMenuItem.Click += new System.EventHandler(this.ShowMenuItem_Click); // // AboutMenu // this.AboutMenu.Index = 2; this.AboutMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ImagXpressMenuItem }); this.AboutMenu.Text = "&About"; // // ImagXpressMenuItem // this.ImagXpressMenuItem.Index = 0; this.ImagXpressMenuItem.Text = "Imag&Xpress"; this.ImagXpressMenuItem.Click += new System.EventHandler(this.ImagXpressMenuItem_Click); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusLabel }); this.statusStrip1.Location = new System.Drawing.Point(0, 529); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(714, 22); this.statusStrip1.SizingGrip = false; this.statusStrip1.TabIndex = 11; this.statusStrip1.Text = "statusStrip1"; // // statusLabel // this.statusLabel.Name = "statusLabel"; this.statusLabel.Size = new System.Drawing.Size(22, 17); this.statusLabel.Text = "Ok"; // // imageXView1 // this.imageXView1.Location = new System.Drawing.Point(199, 182); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(501, 344); this.imageXView1.TabIndex = 12; // // imageXView2 // this.imageXView2.Location = new System.Drawing.Point(22, 182); this.imageXView2.Name = "imageXView2"; this.imageXView2.Size = new System.Drawing.Size(155, 344); this.imageXView2.TabIndex = 13; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(714, 551); this.Controls.Add(this.imageXView2); this.Controls.Add(this.imageXView1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.AlphaComboBox); this.Controls.Add(this.BlendButton); this.Controls.Add(this.DescriptionListBox); this.Controls.Add(this.SourceLabel); this.Controls.Add(this.AlphaLabel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(720, 600); this.Menu = this.MainMenu; this.MinimumSize = new System.Drawing.Size(720, 600); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Alpha Channels"; this.Load += new System.EventHandler(this.MainForm_Load); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.cmdReloadImage = new System.Windows.Forms.Button(); this.TabControl1 = new System.Windows.Forms.TabControl(); this.docAutoColorBalance = new System.Windows.Forms.TabPage(); this.cmdAutoColorbalance = new System.Windows.Forms.Button(); this.docAdjustColorBalance = new System.Windows.Forms.TabPage(); this.lblColorVal = new System.Windows.Forms.Label(); this.hscrColor = new System.Windows.Forms.HScrollBar(); this.cmdAdjustColorBalance = new System.Windows.Forms.Button(); this.lblBlueVal = new System.Windows.Forms.Label(); this.lblGreenVal = new System.Windows.Forms.Label(); this.lblRedVal = new System.Windows.Forms.Label(); this.hscrBlue = new System.Windows.Forms.HScrollBar(); this.hscrGreen = new System.Windows.Forms.HScrollBar(); this.hscrRed = new System.Windows.Forms.HScrollBar(); this.lblBlue = new System.Windows.Forms.Label(); this.lblGreen = new System.Windows.Forms.Label(); this.lblRed = new System.Windows.Forms.Label(); this.lblColor = new System.Windows.Forms.Label(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.button1 = new System.Windows.Forms.Button(); this.lblError = new System.Windows.Forms.Label(); this.lblLastError = new System.Windows.Forms.Label(); this.lstInfo = new System.Windows.Forms.ListBox(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuFileOpen = new System.Windows.Forms.MenuItem(); this.mnuReloadCurrentImage = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.mnuQuit = new System.Windows.Forms.MenuItem(); this.mnuToolbar = new System.Windows.Forms.MenuItem(); this.mnuToolbarShow = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.processor1 = new Accusoft.ImagXpressSdk.Processor(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.TabControl1.SuspendLayout(); this.docAutoColorBalance.SuspendLayout(); this.docAdjustColorBalance.SuspendLayout(); this.tabPage1.SuspendLayout(); this.SuspendLayout(); // // cmdReloadImage // this.cmdReloadImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmdReloadImage.Location = new System.Drawing.Point(560, 88); this.cmdReloadImage.Name = "cmdReloadImage"; this.cmdReloadImage.Size = new System.Drawing.Size(168, 32); this.cmdReloadImage.TabIndex = 46; this.cmdReloadImage.Text = "Reload Image"; this.cmdReloadImage.Click += new System.EventHandler(this.cmdReloadImage_Click); // // TabControl1 // this.TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.TabControl1.Controls.Add(this.docAutoColorBalance); this.TabControl1.Controls.Add(this.docAdjustColorBalance); this.TabControl1.Controls.Add(this.tabPage1); this.TabControl1.Location = new System.Drawing.Point(440, 136); this.TabControl1.Name = "TabControl1"; this.TabControl1.SelectedIndex = 0; this.TabControl1.Size = new System.Drawing.Size(408, 248); this.TabControl1.TabIndex = 45; // // docAutoColorBalance // this.docAutoColorBalance.BackColor = System.Drawing.SystemColors.Control; this.docAutoColorBalance.Controls.Add(this.cmdAutoColorbalance); this.docAutoColorBalance.Location = new System.Drawing.Point(4, 22); this.docAutoColorBalance.Name = "docAutoColorBalance"; this.docAutoColorBalance.Size = new System.Drawing.Size(400, 222); this.docAutoColorBalance.TabIndex = 1; this.docAutoColorBalance.Text = "AutoColorBalance"; this.docAutoColorBalance.Visible = false; // // cmdAutoColorbalance // this.cmdAutoColorbalance.Location = new System.Drawing.Point(136, 184); this.cmdAutoColorbalance.Name = "cmdAutoColorbalance"; this.cmdAutoColorbalance.Size = new System.Drawing.Size(128, 32); this.cmdAutoColorbalance.TabIndex = 0; this.cmdAutoColorbalance.Text = "Apply"; this.cmdAutoColorbalance.Click += new System.EventHandler(this.cmdAutoColorbalance_Click); // // docAdjustColorBalance // this.docAdjustColorBalance.BackColor = System.Drawing.SystemColors.Control; this.docAdjustColorBalance.Controls.Add(this.lblColorVal); this.docAdjustColorBalance.Controls.Add(this.hscrColor); this.docAdjustColorBalance.Controls.Add(this.cmdAdjustColorBalance); this.docAdjustColorBalance.Controls.Add(this.lblBlueVal); this.docAdjustColorBalance.Controls.Add(this.lblGreenVal); this.docAdjustColorBalance.Controls.Add(this.lblRedVal); this.docAdjustColorBalance.Controls.Add(this.hscrBlue); this.docAdjustColorBalance.Controls.Add(this.hscrGreen); this.docAdjustColorBalance.Controls.Add(this.hscrRed); this.docAdjustColorBalance.Controls.Add(this.lblBlue); this.docAdjustColorBalance.Controls.Add(this.lblGreen); this.docAdjustColorBalance.Controls.Add(this.lblRed); this.docAdjustColorBalance.Controls.Add(this.lblColor); this.docAdjustColorBalance.Location = new System.Drawing.Point(4, 22); this.docAdjustColorBalance.Name = "docAdjustColorBalance"; this.docAdjustColorBalance.Size = new System.Drawing.Size(400, 222); this.docAdjustColorBalance.TabIndex = 2; this.docAdjustColorBalance.Text = "AdjustColorBalance"; this.docAdjustColorBalance.Visible = false; // // lblColorVal // this.lblColorVal.Location = new System.Drawing.Point(336, 16); this.lblColorVal.Name = "lblColorVal"; this.lblColorVal.Size = new System.Drawing.Size(48, 24); this.lblColorVal.TabIndex = 13; // // hscrColor // this.hscrColor.LargeChange = 1; this.hscrColor.Location = new System.Drawing.Point(104, 16); this.hscrColor.Name = "hscrColor"; this.hscrColor.Size = new System.Drawing.Size(224, 16); this.hscrColor.TabIndex = 12; this.hscrColor.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hscrColor_Scroll); // // cmdAdjustColorBalance // this.cmdAdjustColorBalance.Location = new System.Drawing.Point(136, 184); this.cmdAdjustColorBalance.Name = "cmdAdjustColorBalance"; this.cmdAdjustColorBalance.Size = new System.Drawing.Size(128, 32); this.cmdAdjustColorBalance.TabIndex = 11; this.cmdAdjustColorBalance.Text = "Apply"; this.cmdAdjustColorBalance.Click += new System.EventHandler(this.cmdAdjustColorBalance_Click); // // lblBlueVal // this.lblBlueVal.Location = new System.Drawing.Point(336, 144); this.lblBlueVal.Name = "lblBlueVal"; this.lblBlueVal.Size = new System.Drawing.Size(48, 16); this.lblBlueVal.TabIndex = 10; // // lblGreenVal // this.lblGreenVal.Location = new System.Drawing.Point(336, 96); this.lblGreenVal.Name = "lblGreenVal"; this.lblGreenVal.Size = new System.Drawing.Size(48, 24); this.lblGreenVal.TabIndex = 9; // // lblRedVal // this.lblRedVal.Location = new System.Drawing.Point(336, 56); this.lblRedVal.Name = "lblRedVal"; this.lblRedVal.Size = new System.Drawing.Size(48, 24); this.lblRedVal.TabIndex = 8; // // hscrBlue // this.hscrBlue.LargeChange = 1; this.hscrBlue.Location = new System.Drawing.Point(104, 144); this.hscrBlue.Minimum = -100; this.hscrBlue.Name = "hscrBlue"; this.hscrBlue.Size = new System.Drawing.Size(224, 16); this.hscrBlue.TabIndex = 7; this.hscrBlue.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hscrBlue_Scroll); // // hscrGreen // this.hscrGreen.LargeChange = 1; this.hscrGreen.Location = new System.Drawing.Point(104, 96); this.hscrGreen.Minimum = -100; this.hscrGreen.Name = "hscrGreen"; this.hscrGreen.Size = new System.Drawing.Size(224, 16); this.hscrGreen.TabIndex = 6; this.hscrGreen.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hscrGreen_Scroll); // // hscrRed // this.hscrRed.LargeChange = 1; this.hscrRed.Location = new System.Drawing.Point(104, 56); this.hscrRed.Minimum = -100; this.hscrRed.Name = "hscrRed"; this.hscrRed.Size = new System.Drawing.Size(224, 16); this.hscrRed.TabIndex = 5; this.hscrRed.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hscrRed_Scroll); // // lblBlue // this.lblBlue.Location = new System.Drawing.Point(16, 144); this.lblBlue.Name = "lblBlue"; this.lblBlue.Size = new System.Drawing.Size(72, 24); this.lblBlue.TabIndex = 3; this.lblBlue.Text = "Blue:"; // // lblGreen // this.lblGreen.Location = new System.Drawing.Point(16, 96); this.lblGreen.Name = "lblGreen"; this.lblGreen.Size = new System.Drawing.Size(64, 24); this.lblGreen.TabIndex = 2; this.lblGreen.Text = "Green:"; // // lblRed // this.lblRed.Location = new System.Drawing.Point(16, 56); this.lblRed.Name = "lblRed"; this.lblRed.Size = new System.Drawing.Size(64, 24); this.lblRed.TabIndex = 1; this.lblRed.Text = "Red:"; // // lblColor // this.lblColor.Location = new System.Drawing.Point(16, 16); this.lblColor.Name = "lblColor"; this.lblColor.Size = new System.Drawing.Size(64, 24); this.lblColor.TabIndex = 0; this.lblColor.Text = "Color:"; // // tabPage1 // this.tabPage1.BackColor = System.Drawing.SystemColors.Control; this.tabPage1.Controls.Add(this.button1); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(400, 222); this.tabPage1.TabIndex = 3; this.tabPage1.Text = "AutoLightness"; // // button1 // this.button1.Location = new System.Drawing.Point(136, 184); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 32); this.button1.TabIndex = 1; this.button1.Text = "Apply"; this.button1.Click += new System.EventHandler(this.cmdAutoLightness_Click); // // lblError // this.lblError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.lblError.Location = new System.Drawing.Point(501, 415); this.lblError.Name = "lblError"; this.lblError.Size = new System.Drawing.Size(171, 79); this.lblError.TabIndex = 42; // // lblLastError // this.lblLastError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.lblLastError.AutoSize = true; this.lblLastError.Location = new System.Drawing.Point(437, 415); this.lblLastError.Name = "lblLastError"; this.lblLastError.Size = new System.Drawing.Size(58, 13); this.lblLastError.TabIndex = 41; this.lblLastError.Text = "Last Error:"; // // lstInfo // this.lstInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lstInfo.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lstInfo.Items.AddRange(new object[] { "This sample demonstrates the following functionality:", "1) Adjusting the image color using the AutoLightness, AutoColorBalance, and Adjus" + "tColorBalance methods." }); this.lstInfo.Location = new System.Drawing.Point(16, 8); this.lstInfo.Name = "lstInfo"; this.lstInfo.Size = new System.Drawing.Size(832, 30); this.lstInfo.TabIndex = 40; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile, this.mnuToolbar, this.mnuAbout }); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFileOpen, this.mnuReloadCurrentImage, this.menuItem4, this.mnuQuit }); this.mnuFile.Text = "&File"; // // mnuFileOpen // this.mnuFileOpen.Index = 0; this.mnuFileOpen.Text = "&Open Image..."; this.mnuFileOpen.Click += new System.EventHandler(this.mnuFileOpen_Click); // // mnuReloadCurrentImage // this.mnuReloadCurrentImage.Index = 1; this.mnuReloadCurrentImage.Text = "Reload Current Image"; this.mnuReloadCurrentImage.Click += new System.EventHandler(this.mnuReloadCurrentImage_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "-"; // // mnuQuit // this.mnuQuit.Index = 3; this.mnuQuit.Text = "&Quit"; this.mnuQuit.Click += new System.EventHandler(this.mnuQuit_Click); // // mnuToolbar // this.mnuToolbar.Index = 1; this.mnuToolbar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuToolbarShow }); this.mnuToolbar.Text = "&Toolbar"; // // mnuToolbarShow // this.mnuToolbarShow.Index = 0; this.mnuToolbarShow.Text = "&Show"; this.mnuToolbarShow.Click += new System.EventHandler(this.mnuToolbarShow_Click); // // mnuAbout // this.mnuAbout.Index = 2; this.mnuAbout.Text = "&About"; this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click); // // imageXView1 // this.imageXView1.AutoResize = Accusoft.ImagXpressSdk.AutoResizeType.BestFit; this.imageXView1.Location = new System.Drawing.Point(13, 45); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(418, 525); this.imageXView1.TabIndex = 47; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(872, 582); this.Controls.Add(this.imageXView1); this.Controls.Add(this.cmdReloadImage); this.Controls.Add(this.TabControl1); this.Controls.Add(this.lblError); this.Controls.Add(this.lblLastError); this.Controls.Add(this.lstInfo); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ColorBalance"; this.Load += new System.EventHandler(this.Form1_Load); this.TabControl1.ResumeLayout(false); this.docAutoColorBalance.ResumeLayout(false); this.docAdjustColorBalance.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(Tags)); this.cmdGet = new System.Windows.Forms.Button(); this.menu = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuOpen = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.mnuQuit = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.lblerror = new System.Windows.Forms.Label(); this.lstDesc = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.lstTags = new System.Windows.Forms.ListView(); this.TagNumber = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Type = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Count = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Data = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.txtSaveFile = new System.Windows.Forms.TextBox(); this.lblSaveFileName = new System.Windows.Forms.Label(); this.cmdSave = new System.Windows.Forms.Button(); this.cmdAddMulti = new System.Windows.Forms.Button(); this.cmdDelete = new System.Windows.Forms.Button(); this.cmdAdd = new System.Windows.Forms.Button(); this.txtLoadFile = new System.Windows.Forms.TextBox(); this.lblLoadFileName = new System.Windows.Forms.Label(); this.imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components); this.imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components); this.SuspendLayout(); // // cmdGet // this.cmdGet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cmdGet.Location = new System.Drawing.Point(8, 80); this.cmdGet.Name = "cmdGet"; this.cmdGet.Size = new System.Drawing.Size(264, 24); this.cmdGet.TabIndex = 2; this.cmdGet.Text = "1) Load an Image and Show the Tags"; this.cmdGet.Click += new System.EventHandler(this.cmdGet_Click); // // menu // this.menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.mnuAbout }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuOpen, this.menuItem2, this.mnuQuit }); this.menuItem1.Text = "&File"; // // mnuOpen // this.mnuOpen.Index = 0; this.mnuOpen.Text = "&Open"; this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click); // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "-"; // // mnuQuit // this.mnuQuit.Index = 2; this.mnuQuit.Text = "&Quit"; this.mnuQuit.Click += new System.EventHandler(this.mnuQuit_Click); // // mnuAbout // this.mnuAbout.Index = 1; this.mnuAbout.Text = "&About"; this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click); // // lblerror // this.lblerror.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblerror.Location = new System.Drawing.Point(592, 120); this.lblerror.Name = "lblerror"; this.lblerror.Size = new System.Drawing.Size(200, 128); this.lblerror.TabIndex = 3; // // lstDesc // this.lstDesc.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lstDesc.Items.AddRange(new object[] { "This sample demonstrates the following functionality:", "1)Using the ImageXTagCollection Class and the GetTags method.", "2)Loading an image and viewing all the TIFF tags." }); this.lstDesc.Location = new System.Drawing.Point(8, 8); this.lstDesc.Name = "lstDesc"; this.lstDesc.Size = new System.Drawing.Size(800, 56); this.lstDesc.TabIndex = 4; // // label1 // this.label1.Location = new System.Drawing.Point(592, 88); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(192, 16); this.label1.TabIndex = 5; this.label1.Text = "Last Error:"; // // lstTags // this.lstTags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lstTags.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.TagNumber, this.Type, this.Count, this.Data }); this.lstTags.Location = new System.Drawing.Point(8, 448); this.lstTags.Name = "lstTags"; this.lstTags.Size = new System.Drawing.Size(472, 187); this.lstTags.TabIndex = 6; this.lstTags.UseCompatibleStateImageBehavior = false; this.lstTags.View = System.Windows.Forms.View.Details; // // TagNumber // this.TagNumber.Text = "TagNumber"; this.TagNumber.Width = 100; // // Type // this.Type.Text = "Type"; this.Type.Width = 100; // // Count // this.Count.Text = "Count"; this.Count.Width = 100; // // Data // this.Data.Text = "Data"; this.Data.Width = 200; // // txtSaveFile // this.txtSaveFile.Location = new System.Drawing.Point(8, 392); this.txtSaveFile.Multiline = true; this.txtSaveFile.Name = "txtSaveFile"; this.txtSaveFile.Size = new System.Drawing.Size(776, 40); this.txtSaveFile.TabIndex = 59; // // lblSaveFileName // this.lblSaveFileName.Location = new System.Drawing.Point(16, 360); this.lblSaveFileName.Name = "lblSaveFileName"; this.lblSaveFileName.Size = new System.Drawing.Size(168, 24); this.lblSaveFileName.TabIndex = 58; this.lblSaveFileName.Text = "Save File Name:"; // // cmdSave // this.cmdSave.Enabled = false; this.cmdSave.Location = new System.Drawing.Point(8, 328); this.cmdSave.Name = "cmdSave"; this.cmdSave.Size = new System.Drawing.Size(264, 24); this.cmdSave.TabIndex = 57; this.cmdSave.Text = "5) Save the file and reload it with Modified Tags"; this.cmdSave.Click += new System.EventHandler(this.cmdSave_Click); // // cmdAddMulti // this.cmdAddMulti.Enabled = false; this.cmdAddMulti.Location = new System.Drawing.Point(8, 304); this.cmdAddMulti.Name = "cmdAddMulti"; this.cmdAddMulti.Size = new System.Drawing.Size(264, 24); this.cmdAddMulti.TabIndex = 56; this.cmdAddMulti.Text = "4) Add Tags with multiple Data (Tags 201 - 212)"; this.cmdAddMulti.Click += new System.EventHandler(this.cmdAddMulti_Click); // // cmdDelete // this.cmdDelete.Enabled = false; this.cmdDelete.Location = new System.Drawing.Point(8, 280); this.cmdDelete.Name = "cmdDelete"; this.cmdDelete.Size = new System.Drawing.Size(264, 24); this.cmdDelete.TabIndex = 55; this.cmdDelete.Text = "3) Delete and ReAdd (Tags 101 - 112)"; this.cmdDelete.Click += new System.EventHandler(this.cmdDelete_Click); // // cmdAdd // this.cmdAdd.Enabled = false; this.cmdAdd.Location = new System.Drawing.Point(8, 256); this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.Size = new System.Drawing.Size(264, 24); this.cmdAdd.TabIndex = 54; this.cmdAdd.Text = "2) Add Some Tiff Tags (Tags 101 - 112)"; this.cmdAdd.Click += new System.EventHandler(this.cmdAdd_Click); // // txtLoadFile // this.txtLoadFile.Enabled = false; this.txtLoadFile.Location = new System.Drawing.Point(16, 160); this.txtLoadFile.Multiline = true; this.txtLoadFile.Name = "txtLoadFile"; this.txtLoadFile.Size = new System.Drawing.Size(248, 80); this.txtLoadFile.TabIndex = 53; // // lblLoadFileName // this.lblLoadFileName.Location = new System.Drawing.Point(16, 120); this.lblLoadFileName.Name = "lblLoadFileName"; this.lblLoadFileName.Size = new System.Drawing.Size(112, 32); this.lblLoadFileName.TabIndex = 52; this.lblLoadFileName.Text = "Load File Name:"; // // imageXView1 // this.imageXView1.Location = new System.Drawing.Point(294, 80); this.imageXView1.Name = "imageXView1"; this.imageXView1.Size = new System.Drawing.Size(281, 272); this.imageXView1.TabIndex = 60; // // Tags // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(832, 644); this.Controls.Add(this.imageXView1); this.Controls.Add(this.txtSaveFile); this.Controls.Add(this.lblSaveFileName); this.Controls.Add(this.cmdSave); this.Controls.Add(this.cmdAddMulti); this.Controls.Add(this.cmdDelete); this.Controls.Add(this.cmdAdd); this.Controls.Add(this.txtLoadFile); this.Controls.Add(this.lblLoadFileName); this.Controls.Add(this.lstTags); this.Controls.Add(this.label1); this.Controls.Add(this.lstDesc); this.Controls.Add(this.lblerror); this.Controls.Add(this.cmdGet); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.menu; this.Name = "Tags"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "TIFF Tags"; this.Load += new System.EventHandler(this.Tags_Load); this.ResumeLayout(false); this.PerformLayout(); }