Esempio n. 1
0
        private string GetDBImage(int Index, Accusoft.ImagXpressSdk.ImageXView iXView)
        {
            string ImageName;
            long   retter;
            int    bufferSize = 16777216;

            byte[] outByte          = new byte[bufferSize - 1];
            string stringConnection = (strProvider + strDataSource);
            string stringSQL        = "SELECT * FROM [tblImages]";

            dbConnection.ConnectionString = (strProvider + strDataSource);
            dbConnection.Open();
            System.Data.OleDb.OleDbCommand    dbCommandGet = new OleDbCommand(stringSQL, dbConnection);
            System.Data.OleDb.OleDbDataReader dbReader     = dbCommandGet.ExecuteReader(CommandBehavior.Default);
            int i = 0;

            while ((i <= Index))
            {
                dbReader.Read();
                i = (i + 1);
            }
            retter = dbReader.GetBytes(2, 0, outByte, 0, bufferSize);
            MemoryStream stmBLOBData = new MemoryStream(outByte);

            ImageName = dbReader["ImageName"].ToString();
            dbReader.Close();
            try
            {
                iXView.Image = Accusoft.ImagXpressSdk.ImageX.FromStream(imagXpress1, stmBLOBData, loLoadOptions);
            }
            catch (Accusoft.ImagXpressSdk.ImagXpressException ex)
            {
                AccusoftError(ex, lblError);
            }
            if ((dbConnection.State == ConnectionState.Open))
            {
                dbConnection.Close();
                dbConnection.Dispose();
            }
            return(ImageName);
        }
Esempio n. 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.grpCrop                   = new System.Windows.Forms.GroupBox();
     this.lblCropBottom             = new System.Windows.Forms.Label();
     this.lblCropRight              = new System.Windows.Forms.Label();
     this.lblCropTop                = new System.Windows.Forms.Label();
     this.lblCropLeft               = new System.Windows.Forms.Label();
     this.lblCropBottomVal          = new System.Windows.Forms.Label();
     this.lblCropRightVal           = new System.Windows.Forms.Label();
     this.lblCropTopVal             = new System.Windows.Forms.Label();
     this.lblCropLeftVal            = new System.Windows.Forms.Label();
     this.scrCropBottom             = new System.Windows.Forms.HScrollBar();
     this.scrCropRight              = new System.Windows.Forms.HScrollBar();
     this.scrCropTop                = new System.Windows.Forms.HScrollBar();
     this.scrCropLeft               = new System.Windows.Forms.HScrollBar();
     this.chkCrop                   = new System.Windows.Forms.CheckBox();
     this.grpResize                 = new System.Windows.Forms.GroupBox();
     this.numericUpDownResizeHeight = new System.Windows.Forms.NumericUpDown();
     this.numericUpDownResizeWidth  = new System.Windows.Forms.NumericUpDown();
     this.lblResizeHeight           = new System.Windows.Forms.Label();
     this.lblResizeWidth            = new System.Windows.Forms.Label();
     this.chkResizeAspect           = new System.Windows.Forms.CheckBox();
     this.chkResize                 = new System.Windows.Forms.CheckBox();
     this.grpRotate                 = new System.Windows.Forms.GroupBox();
     this.lblRotateSettings         = new System.Windows.Forms.Label();
     this.cmbRotate                 = new System.Windows.Forms.ComboBox();
     this.chkRotate                 = new System.Windows.Forms.CheckBox();
     this.mainMenu                  = new System.Windows.Forms.MainMenu(this.components);
     this.menuItemFile              = new System.Windows.Forms.MenuItem();
     this.menuItemFileOpen          = new System.Windows.Forms.MenuItem();
     this.menuItemSpacer            = new System.Windows.Forms.MenuItem();
     this.menuItemFileExit          = new System.Windows.Forms.MenuItem();
     this.menuItemToolbar           = new System.Windows.Forms.MenuItem();
     this.menuItemToolbarShow       = new System.Windows.Forms.MenuItem();
     this.menuItemAbout             = 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.buttonReloadImage         = new System.Windows.Forms.Button();
     this.imagXpress1               = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
     this.imageXView1               = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.grpCrop.SuspendLayout();
     this.grpResize.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownResizeHeight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownResizeWidth)).BeginInit();
     this.grpRotate.SuspendLayout();
     this.SuspendLayout();
     //
     // grpCrop
     //
     this.grpCrop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.grpCrop.Controls.Add(this.lblCropBottom);
     this.grpCrop.Controls.Add(this.lblCropRight);
     this.grpCrop.Controls.Add(this.lblCropTop);
     this.grpCrop.Controls.Add(this.lblCropLeft);
     this.grpCrop.Controls.Add(this.lblCropBottomVal);
     this.grpCrop.Controls.Add(this.lblCropRightVal);
     this.grpCrop.Controls.Add(this.lblCropTopVal);
     this.grpCrop.Controls.Add(this.lblCropLeftVal);
     this.grpCrop.Controls.Add(this.scrCropBottom);
     this.grpCrop.Controls.Add(this.scrCropRight);
     this.grpCrop.Controls.Add(this.scrCropTop);
     this.grpCrop.Controls.Add(this.scrCropLeft);
     this.grpCrop.Controls.Add(this.chkCrop);
     this.grpCrop.Location = new System.Drawing.Point(16, 339);
     this.grpCrop.Name     = "grpCrop";
     this.grpCrop.Size     = new System.Drawing.Size(200, 128);
     this.grpCrop.TabIndex = 2;
     this.grpCrop.TabStop  = false;
     this.grpCrop.Text     = "Load Crop";
     //
     // lblCropBottom
     //
     this.lblCropBottom.Location  = new System.Drawing.Point(8, 96);
     this.lblCropBottom.Name      = "lblCropBottom";
     this.lblCropBottom.Size      = new System.Drawing.Size(45, 16);
     this.lblCropBottom.TabIndex  = 12;
     this.lblCropBottom.Text      = "Bottom";
     this.lblCropBottom.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCropRight
     //
     this.lblCropRight.Location  = new System.Drawing.Point(8, 80);
     this.lblCropRight.Name      = "lblCropRight";
     this.lblCropRight.Size      = new System.Drawing.Size(45, 16);
     this.lblCropRight.TabIndex  = 11;
     this.lblCropRight.Text      = "Right";
     this.lblCropRight.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCropTop
     //
     this.lblCropTop.Location  = new System.Drawing.Point(8, 64);
     this.lblCropTop.Name      = "lblCropTop";
     this.lblCropTop.Size      = new System.Drawing.Size(45, 16);
     this.lblCropTop.TabIndex  = 10;
     this.lblCropTop.Text      = "Top";
     this.lblCropTop.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCropLeft
     //
     this.lblCropLeft.Location  = new System.Drawing.Point(8, 48);
     this.lblCropLeft.Name      = "lblCropLeft";
     this.lblCropLeft.Size      = new System.Drawing.Size(45, 16);
     this.lblCropLeft.TabIndex  = 9;
     this.lblCropLeft.Text      = "Left";
     this.lblCropLeft.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblCropBottomVal
     //
     this.lblCropBottomVal.Location  = new System.Drawing.Point(160, 96);
     this.lblCropBottomVal.Name      = "lblCropBottomVal";
     this.lblCropBottomVal.Size      = new System.Drawing.Size(32, 16);
     this.lblCropBottomVal.TabIndex  = 8;
     this.lblCropBottomVal.Text      = "0";
     this.lblCropBottomVal.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblCropRightVal
     //
     this.lblCropRightVal.Location  = new System.Drawing.Point(160, 80);
     this.lblCropRightVal.Name      = "lblCropRightVal";
     this.lblCropRightVal.Size      = new System.Drawing.Size(32, 16);
     this.lblCropRightVal.TabIndex  = 7;
     this.lblCropRightVal.Text      = "0";
     this.lblCropRightVal.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblCropTopVal
     //
     this.lblCropTopVal.Location  = new System.Drawing.Point(160, 64);
     this.lblCropTopVal.Name      = "lblCropTopVal";
     this.lblCropTopVal.Size      = new System.Drawing.Size(32, 16);
     this.lblCropTopVal.TabIndex  = 6;
     this.lblCropTopVal.Text      = "0";
     this.lblCropTopVal.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblCropLeftVal
     //
     this.lblCropLeftVal.Location  = new System.Drawing.Point(160, 48);
     this.lblCropLeftVal.Name      = "lblCropLeftVal";
     this.lblCropLeftVal.Size      = new System.Drawing.Size(32, 16);
     this.lblCropLeftVal.TabIndex  = 5;
     this.lblCropLeftVal.Text      = "0";
     this.lblCropLeftVal.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // scrCropBottom
     //
     this.scrCropBottom.LargeChange   = 1;
     this.scrCropBottom.Location      = new System.Drawing.Point(56, 96);
     this.scrCropBottom.Maximum       = 1200;
     this.scrCropBottom.Name          = "scrCropBottom";
     this.scrCropBottom.Size          = new System.Drawing.Size(104, 16);
     this.scrCropBottom.TabIndex      = 4;
     this.scrCropBottom.ValueChanged += new System.EventHandler(this.scrCropBottom_Changed);
     //
     // scrCropRight
     //
     this.scrCropRight.LargeChange   = 1;
     this.scrCropRight.Location      = new System.Drawing.Point(56, 80);
     this.scrCropRight.Maximum       = 1600;
     this.scrCropRight.Name          = "scrCropRight";
     this.scrCropRight.Size          = new System.Drawing.Size(104, 16);
     this.scrCropRight.TabIndex      = 3;
     this.scrCropRight.ValueChanged += new System.EventHandler(this.scrCropRight_Changed);
     //
     // scrCropTop
     //
     this.scrCropTop.LargeChange   = 1;
     this.scrCropTop.Location      = new System.Drawing.Point(56, 64);
     this.scrCropTop.Maximum       = 1200;
     this.scrCropTop.Name          = "scrCropTop";
     this.scrCropTop.Size          = new System.Drawing.Size(104, 16);
     this.scrCropTop.TabIndex      = 2;
     this.scrCropTop.ValueChanged += new System.EventHandler(this.scrCropTop_Changed);
     //
     // scrCropLeft
     //
     this.scrCropLeft.LargeChange   = 1;
     this.scrCropLeft.Location      = new System.Drawing.Point(56, 48);
     this.scrCropLeft.Maximum       = 1600;
     this.scrCropLeft.Name          = "scrCropLeft";
     this.scrCropLeft.Size          = new System.Drawing.Size(104, 16);
     this.scrCropLeft.TabIndex      = 1;
     this.scrCropLeft.ValueChanged += new System.EventHandler(this.scrCropLeft_Changed);
     //
     // chkCrop
     //
     this.chkCrop.Location        = new System.Drawing.Point(11, 17);
     this.chkCrop.Name            = "chkCrop";
     this.chkCrop.Size            = new System.Drawing.Size(168, 21);
     this.chkCrop.TabIndex        = 0;
     this.chkCrop.Text            = "Crop Image on Load";
     this.chkCrop.CheckedChanged += new System.EventHandler(this.chkCrop_CheckedChanged);
     //
     // grpResize
     //
     this.grpResize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.grpResize.Controls.Add(this.numericUpDownResizeHeight);
     this.grpResize.Controls.Add(this.numericUpDownResizeWidth);
     this.grpResize.Controls.Add(this.lblResizeHeight);
     this.grpResize.Controls.Add(this.lblResizeWidth);
     this.grpResize.Controls.Add(this.chkResizeAspect);
     this.grpResize.Controls.Add(this.chkResize);
     this.grpResize.Location = new System.Drawing.Point(224, 339);
     this.grpResize.Name     = "grpResize";
     this.grpResize.Size     = new System.Drawing.Size(200, 128);
     this.grpResize.TabIndex = 3;
     this.grpResize.TabStop  = false;
     this.grpResize.Text     = "Load Resize";
     //
     // numericUpDownResizeHeight
     //
     this.numericUpDownResizeHeight.Location = new System.Drawing.Point(59, 72);
     this.numericUpDownResizeHeight.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.numericUpDownResizeHeight.Name     = "numericUpDownResizeHeight";
     this.numericUpDownResizeHeight.Size     = new System.Drawing.Size(83, 20);
     this.numericUpDownResizeHeight.TabIndex = 7;
     //
     // numericUpDownResizeWidth
     //
     this.numericUpDownResizeWidth.Location = new System.Drawing.Point(59, 48);
     this.numericUpDownResizeWidth.Maximum  = new decimal(new int[] {
         100000,
         0,
         0,
         0
     });
     this.numericUpDownResizeWidth.Name     = "numericUpDownResizeWidth";
     this.numericUpDownResizeWidth.Size     = new System.Drawing.Size(83, 20);
     this.numericUpDownResizeWidth.TabIndex = 6;
     //
     // lblResizeHeight
     //
     this.lblResizeHeight.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblResizeHeight.Location  = new System.Drawing.Point(8, 72);
     this.lblResizeHeight.Name      = "lblResizeHeight";
     this.lblResizeHeight.Size      = new System.Drawing.Size(40, 16);
     this.lblResizeHeight.TabIndex  = 5;
     this.lblResizeHeight.Text      = "Height";
     this.lblResizeHeight.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblResizeWidth
     //
     this.lblResizeWidth.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.lblResizeWidth.Location  = new System.Drawing.Point(8, 48);
     this.lblResizeWidth.Name      = "lblResizeWidth";
     this.lblResizeWidth.Size      = new System.Drawing.Size(40, 16);
     this.lblResizeWidth.TabIndex  = 4;
     this.lblResizeWidth.Text      = "Width";
     this.lblResizeWidth.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chkResizeAspect
     //
     this.chkResizeAspect.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.chkResizeAspect.Location = new System.Drawing.Point(32, 96);
     this.chkResizeAspect.Name     = "chkResizeAspect";
     this.chkResizeAspect.Size     = new System.Drawing.Size(136, 16);
     this.chkResizeAspect.TabIndex = 3;
     this.chkResizeAspect.Text     = "Preserve Aspect Ratio";
     //
     // chkResize
     //
     this.chkResize.Anchor          = System.Windows.Forms.AnchorStyles.Bottom;
     this.chkResize.Location        = new System.Drawing.Point(11, 15);
     this.chkResize.Name            = "chkResize";
     this.chkResize.Size            = new System.Drawing.Size(168, 23);
     this.chkResize.TabIndex        = 0;
     this.chkResize.Text            = "Resize Image on Load";
     this.chkResize.CheckedChanged += new System.EventHandler(this.chkResize_CheckedChanged);
     //
     // grpRotate
     //
     this.grpRotate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.grpRotate.Controls.Add(this.lblRotateSettings);
     this.grpRotate.Controls.Add(this.cmbRotate);
     this.grpRotate.Controls.Add(this.chkRotate);
     this.grpRotate.Location = new System.Drawing.Point(432, 339);
     this.grpRotate.Name     = "grpRotate";
     this.grpRotate.Size     = new System.Drawing.Size(176, 128);
     this.grpRotate.TabIndex = 4;
     this.grpRotate.TabStop  = false;
     this.grpRotate.Text     = "Load Rotate";
     //
     // lblRotateSettings
     //
     this.lblRotateSettings.Location = new System.Drawing.Point(16, 64);
     this.lblRotateSettings.Name     = "lblRotateSettings";
     this.lblRotateSettings.Size     = new System.Drawing.Size(88, 16);
     this.lblRotateSettings.TabIndex = 2;
     this.lblRotateSettings.Text     = "Rotate Settings";
     //
     // cmbRotate
     //
     this.cmbRotate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbRotate.Items.AddRange(new object[] {
         "None",
         "90 Degrees",
         "180 Degrees",
         "270 Degrees",
         "Flip",
         "Mirror"
     });
     this.cmbRotate.Location = new System.Drawing.Point(40, 80);
     this.cmbRotate.Name     = "cmbRotate";
     this.cmbRotate.Size     = new System.Drawing.Size(120, 21);
     this.cmbRotate.TabIndex = 1;
     //
     // chkRotate
     //
     this.chkRotate.Location        = new System.Drawing.Point(16, 17);
     this.chkRotate.Name            = "chkRotate";
     this.chkRotate.Size            = new System.Drawing.Size(144, 21);
     this.chkRotate.TabIndex        = 0;
     this.chkRotate.Text            = "Rotate Image on Load";
     this.chkRotate.CheckedChanged += new System.EventHandler(this.chkRotate_CheckedChanged);
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile,
         this.menuItemToolbar,
         this.menuItemAbout
     });
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFileOpen,
         this.menuItemSpacer,
         this.menuItemFileExit
     });
     this.menuItemFile.Text = "File";
     //
     // menuItemFileOpen
     //
     this.menuItemFileOpen.Index  = 0;
     this.menuItemFileOpen.Text   = "Open Image";
     this.menuItemFileOpen.Click += new System.EventHandler(this.menuItemFileOpen_Click);
     //
     // menuItemSpacer
     //
     this.menuItemSpacer.Index = 1;
     this.menuItemSpacer.Text  = "-";
     //
     // menuItemFileExit
     //
     this.menuItemFileExit.Index  = 2;
     this.menuItemFileExit.Text   = "Exit";
     this.menuItemFileExit.Click += new System.EventHandler(this.menuItemFileExit_Click);
     //
     // menuItemToolbar
     //
     this.menuItemToolbar.Index = 1;
     this.menuItemToolbar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemToolbarShow
     });
     this.menuItemToolbar.Text = "Toolbar";
     //
     // menuItemToolbarShow
     //
     this.menuItemToolbarShow.Index  = 0;
     this.menuItemToolbarShow.Text   = "Show";
     this.menuItemToolbarShow.Click += new System.EventHandler(this.menuItemToolbarShow_Click);
     //
     // menuItemAbout
     //
     this.menuItemAbout.Index  = 2;
     this.menuItemAbout.Text   = "About";
     this.menuItemAbout.Click += new System.EventHandler(this.menuItemAbout_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(592, 64);
     this.lblInfo.TabIndex = 8;
     this.lblInfo.Text     = "This example demonstrates the following:\n1) Using the LoadOptions object.\nSelect " +
                             "any of the 3 loading options by clicking the box next to the appropriate option," +
                             "\nthen click the Load Image button.";
     //
     // lblLastError
     //
     this.lblLastError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLastError.Location = new System.Drawing.Point(429, 80);
     this.lblLastError.Name     = "lblLastError";
     this.lblLastError.Size     = new System.Drawing.Size(176, 24);
     this.lblLastError.TabIndex = 9;
     this.lblLastError.Text     = "Last Error:";
     //
     // lblError
     //
     this.lblError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblError.Location = new System.Drawing.Point(429, 104);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(179, 143);
     this.lblError.TabIndex = 10;
     //
     // buttonReloadImage
     //
     this.buttonReloadImage.Location = new System.Drawing.Point(460, 276);
     this.buttonReloadImage.Name     = "buttonReloadImage";
     this.buttonReloadImage.Size     = new System.Drawing.Size(132, 37);
     this.buttonReloadImage.TabIndex = 13;
     this.buttonReloadImage.Text     = "Reload Image";
     this.buttonReloadImage.UseVisualStyleBackColor = true;
     this.buttonReloadImage.Click += new System.EventHandler(this.buttonReloadImage_Click);
     //
     // imageXView1
     //
     this.imageXView1.Location = new System.Drawing.Point(13, 80);
     this.imageXView1.Name     = "imageXView1";
     this.imageXView1.Size     = new System.Drawing.Size(410, 253);
     this.imageXView1.TabIndex = 14;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(624, 481);
     this.Controls.Add(this.imageXView1);
     this.Controls.Add(this.buttonReloadImage);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.lblLastError);
     this.Controls.Add(this.lblInfo);
     this.Controls.Add(this.grpRotate);
     this.Controls.Add(this.grpResize);
     this.Controls.Add(this.grpCrop);
     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            = "Loading Options";
     this.Load           += new System.EventHandler(this.frmMain_Load);
     this.grpCrop.ResumeLayout(false);
     this.grpResize.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownResizeHeight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownResizeWidth)).EndInit();
     this.grpRotate.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 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.menuFile        = new System.Windows.Forms.MainMenu(this.components);
     this.menuFileFile    = new System.Windows.Forms.MenuItem();
     this.menuFileOpen    = new System.Windows.Forms.MenuItem();
     this.menuItem2       = 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.labelLastError  = new System.Windows.Forms.Label();
     this.labelError      = new System.Windows.Forms.Label();
     this.buttonCircle    = new System.Windows.Forms.Button();
     this.listBox1        = new System.Windows.Forms.ListBox();
     this.buttonPie       = new System.Windows.Forms.Button();
     this.buttonLine      = new System.Windows.Forms.Button();
     this.buttonText      = new System.Windows.Forms.Button();
     this.buttonPen       = new System.Windows.Forms.Button();
     this.imagXpress1     = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
     this.imageXView1     = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.SuspendLayout();
     //
     // menuFile
     //
     this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFileFile,
         this.menuToolbar,
         this.menuAbout
     });
     //
     // menuFileFile
     //
     this.menuFileFile.Index = 0;
     this.menuFileFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFileOpen,
         this.menuItem2,
         this.menuFileQuit
     });
     this.menuFileFile.Text = "&File";
     //
     // menuFileOpen
     //
     this.menuFileOpen.Index  = 0;
     this.menuFileOpen.Text   = "&Open";
     this.menuFileOpen.Click += new System.EventHandler(this.menuFileOpen_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "-";
     //
     // menuFileQuit
     //
     this.menuFileQuit.Index  = 2;
     this.menuFileQuit.Text   = "&Quit";
     this.menuFileQuit.Click += new System.EventHandler(this.menuFileQuit_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.menuAbout_Click);
     //
     // labelLastError
     //
     this.labelLastError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.labelLastError.Location = new System.Drawing.Point(414, 63);
     this.labelLastError.Name     = "labelLastError";
     this.labelLastError.Size     = new System.Drawing.Size(96, 16);
     this.labelLastError.TabIndex = 4;
     this.labelLastError.Text     = "Last Error:";
     //
     // labelError
     //
     this.labelError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.labelError.Location = new System.Drawing.Point(414, 79);
     this.labelError.Name     = "labelError";
     this.labelError.Size     = new System.Drawing.Size(176, 120);
     this.labelError.TabIndex = 5;
     //
     // buttonCircle
     //
     this.buttonCircle.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.buttonCircle.Location = new System.Drawing.Point(8, 367);
     this.buttonCircle.Name     = "buttonCircle";
     this.buttonCircle.Size     = new System.Drawing.Size(104, 32);
     this.buttonCircle.TabIndex = 6;
     this.buttonCircle.Text     = "Draw Circle";
     this.buttonCircle.Click   += new System.EventHandler(this.button1_Click);
     //
     // listBox1
     //
     this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.listBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listBox1.Items.AddRange(new object[] {
         "This sample demonstrates the following functionality:",
         "1)Drawing on an Image using the GDI+ .NET drawing features."
     });
     this.listBox1.Location = new System.Drawing.Point(8, 8);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(592, 43);
     this.listBox1.TabIndex = 7;
     //
     // buttonPie
     //
     this.buttonPie.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.buttonPie.Location = new System.Drawing.Point(120, 367);
     this.buttonPie.Name     = "buttonPie";
     this.buttonPie.Size     = new System.Drawing.Size(104, 32);
     this.buttonPie.TabIndex = 8;
     this.buttonPie.Text     = "Draw Pie";
     this.buttonPie.Click   += new System.EventHandler(this.buttonPie_Click);
     //
     // buttonLine
     //
     this.buttonLine.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.buttonLine.Location = new System.Drawing.Point(232, 367);
     this.buttonLine.Name     = "buttonLine";
     this.buttonLine.Size     = new System.Drawing.Size(104, 32);
     this.buttonLine.TabIndex = 9;
     this.buttonLine.Text     = "Draw Line";
     this.buttonLine.Click   += new System.EventHandler(this.buttonLine_Click);
     //
     // buttonText
     //
     this.buttonText.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.buttonText.Location = new System.Drawing.Point(344, 367);
     this.buttonText.Name     = "buttonText";
     this.buttonText.Size     = new System.Drawing.Size(104, 32);
     this.buttonText.TabIndex = 10;
     this.buttonText.Text     = "Draw Text";
     this.buttonText.Click   += new System.EventHandler(this.buttonText_Click);
     //
     // buttonPen
     //
     this.buttonPen.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.buttonPen.Location = new System.Drawing.Point(456, 367);
     this.buttonPen.Name     = "buttonPen";
     this.buttonPen.Size     = new System.Drawing.Size(144, 32);
     this.buttonPen.TabIndex = 11;
     this.buttonPen.Text     = "Enable Mouse Drawing";
     this.buttonPen.Click   += new System.EventHandler(this.buttonPen_Click);
     //
     // imageXView1
     //
     this.imageXView1.AutoResize = Accusoft.ImagXpressSdk.AutoResizeType.BestFit;
     this.imageXView1.Location   = new System.Drawing.Point(8, 58);
     this.imageXView1.Name       = "imageXView1";
     this.imageXView1.Size       = new System.Drawing.Size(400, 294);
     this.imageXView1.TabIndex   = 12;
     this.imageXView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.imageXView1_MouseDown);
     this.imageXView1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.imageXView1_MouseMove);
     this.imageXView1.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.imageXView1_MouseUp);
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(608, 428);
     this.Controls.Add(this.imageXView1);
     this.Controls.Add(this.buttonPen);
     this.Controls.Add(this.buttonText);
     this.Controls.Add(this.buttonLine);
     this.Controls.Add(this.buttonPie);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.buttonCircle);
     this.Controls.Add(this.labelError);
     this.Controls.Add(this.labelLastError);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.Menu          = this.menuFile;
     this.Name          = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Draw";
     this.Load         += new System.EventHandler(this.formMain_Load);
     this.ResumeLayout(false);
 }
Esempio n. 4
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(MergeForm));
     this.imagXpress1              = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
     this.buttonMerge              = new System.Windows.Forms.Button();
     this.checkBoxTransparent      = new System.Windows.Forms.CheckBox();
     this.comboBoxMergeStyle       = new System.Windows.Forms.ComboBox();
     this.IxSource                 = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.comboBoxTransparentColor = new System.Windows.Forms.ComboBox();
     this.comboBoxMergeType        = new System.Windows.Forms.ComboBox();
     this.hScrollBarMax            = new System.Windows.Forms.HScrollBar();
     this.hScrollBarMin            = new System.Windows.Forms.HScrollBar();
     this.label1                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.labelPctMax             = new System.Windows.Forms.Label();
     this.labelPctMin             = new System.Windows.Forms.Label();
     this.rtfInfo                 = new System.Windows.Forms.RichTextBox();
     this.mainMenu1               = new System.Windows.Forms.MainMenu(this.components);
     this.menuFile                = new System.Windows.Forms.MenuItem();
     this.menuFileOpenSource      = new System.Windows.Forms.MenuItem();
     this.menuFileOpenDest        = new System.Windows.Forms.MenuItem();
     this.menuItem5               = 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.menuItem2               = new System.Windows.Forms.MenuItem();
     this.lblError                = new System.Windows.Forms.Label();
     this.lblLastError            = new System.Windows.Forms.Label();
     this.buttonReloadDestination = new System.Windows.Forms.Button();
     this.IxDest                  = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.SuspendLayout();
     //
     // buttonMerge
     //
     this.buttonMerge.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonMerge.Location = new System.Drawing.Point(440, 233);
     this.buttonMerge.Name     = "buttonMerge";
     this.buttonMerge.Size     = new System.Drawing.Size(168, 32);
     this.buttonMerge.TabIndex = 1;
     this.buttonMerge.Text     = "Merge";
     this.buttonMerge.Click   += new System.EventHandler(this.buttonMerge_Click);
     //
     // checkBoxTransparent
     //
     this.checkBoxTransparent.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBoxTransparent.Location = new System.Drawing.Point(16, 388);
     this.checkBoxTransparent.Name     = "checkBoxTransparent";
     this.checkBoxTransparent.Size     = new System.Drawing.Size(88, 16);
     this.checkBoxTransparent.TabIndex = 6;
     this.checkBoxTransparent.Text     = "Transparent";
     this.checkBoxTransparent.Click   += new System.EventHandler(this.checkBoxTransparent_Click);
     //
     // comboBoxMergeStyle
     //
     this.comboBoxMergeStyle.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxMergeStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMergeStyle.Items.AddRange(new object[] {
         "Normal",
         "If Darker",
         "If Lighter",
         "Additive",
         "Subtractive",
         "Superimpose",
         "Superimpose Bottom to Top",
         "Superimpose Horiz from Center",
         "Superimpose Horiz to Center",
         "Superimpose Left to Right",
         "Superimpose Right to Left",
         "Superimpose Top to Bottom",
         "Superimpose Vert. from Center",
         "Superimpose Vert. to Center"
     });
     this.comboBoxMergeStyle.Location = new System.Drawing.Point(360, 404);
     this.comboBoxMergeStyle.Name     = "comboBoxMergeStyle";
     this.comboBoxMergeStyle.Size     = new System.Drawing.Size(248, 21);
     this.comboBoxMergeStyle.TabIndex = 5;
     //
     // IxSource
     //
     this.IxSource.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.IxSource.Location = new System.Drawing.Point(440, 80);
     this.IxSource.Name     = "IxSource";
     this.IxSource.Size     = new System.Drawing.Size(168, 147);
     this.IxSource.TabIndex = 15;
     //
     // comboBoxTransparentColor
     //
     this.comboBoxTransparentColor.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.comboBoxTransparentColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxTransparentColor.Enabled       = false;
     this.comboBoxTransparentColor.Items.AddRange(new object[] {
         "Red",
         "Green",
         "Blue",
         "White"
     });
     this.comboBoxTransparentColor.Location              = new System.Drawing.Point(16, 404);
     this.comboBoxTransparentColor.Name                  = "comboBoxTransparentColor";
     this.comboBoxTransparentColor.Size                  = new System.Drawing.Size(104, 21);
     this.comboBoxTransparentColor.TabIndex              = 3;
     this.comboBoxTransparentColor.SelectedIndexChanged += new System.EventHandler(this.comboBoxTransparentColor_SelectedIndexChanged);
     //
     // comboBoxMergeType
     //
     this.comboBoxMergeType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxMergeType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMergeType.Items.AddRange(new object[] {
         "Crop",
         "Resize Area",
         "Resize Image",
         "Tile Image"
     });
     this.comboBoxMergeType.Location = new System.Drawing.Point(152, 404);
     this.comboBoxMergeType.Name     = "comboBoxMergeType";
     this.comboBoxMergeType.Size     = new System.Drawing.Size(168, 21);
     this.comboBoxMergeType.TabIndex = 4;
     //
     // hScrollBarMax
     //
     this.hScrollBarMax.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.hScrollBarMax.LargeChange   = 1;
     this.hScrollBarMax.Location      = new System.Drawing.Point(176, 436);
     this.hScrollBarMax.Name          = "hScrollBarMax";
     this.hScrollBarMax.Size          = new System.Drawing.Size(432, 17);
     this.hScrollBarMax.TabIndex      = 7;
     this.hScrollBarMax.Value         = 100;
     this.hScrollBarMax.ValueChanged += new System.EventHandler(this.hScrollBarMax_ValueChanged);
     //
     // hScrollBarMin
     //
     this.hScrollBarMin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.hScrollBarMin.LargeChange   = 1;
     this.hScrollBarMin.Location      = new System.Drawing.Point(176, 468);
     this.hScrollBarMin.Name          = "hScrollBarMin";
     this.hScrollBarMin.Size          = new System.Drawing.Size(432, 16);
     this.hScrollBarMin.TabIndex      = 7;
     this.hScrollBarMin.ValueChanged += new System.EventHandler(this.hScrollBarMin_ValueChanged);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location  = new System.Drawing.Point(8, 436);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 17);
     this.label1.TabIndex  = 18;
     this.label1.Text      = "Superimpose Percent Max";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(8, 468);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(136, 16);
     this.label2.TabIndex  = 19;
     this.label2.Text      = "Superimpose Percent Min";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // labelPctMax
     //
     this.labelPctMax.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.labelPctMax.Location  = new System.Drawing.Point(144, 436);
     this.labelPctMax.Name      = "labelPctMax";
     this.labelPctMax.Size      = new System.Drawing.Size(24, 17);
     this.labelPctMax.TabIndex  = 20;
     this.labelPctMax.Text      = "100";
     this.labelPctMax.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelPctMin
     //
     this.labelPctMin.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.labelPctMin.Location  = new System.Drawing.Point(144, 468);
     this.labelPctMin.Name      = "labelPctMin";
     this.labelPctMin.Size      = new System.Drawing.Size(24, 16);
     this.labelPctMin.TabIndex  = 21;
     this.labelPctMin.Text      = "0";
     this.labelPctMin.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // rtfInfo
     //
     this.rtfInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.rtfInfo.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rtfInfo.Location = new System.Drawing.Point(16, 8);
     this.rtfInfo.Name     = "rtfInfo";
     this.rtfInfo.Size     = new System.Drawing.Size(592, 64);
     this.rtfInfo.TabIndex = 22;
     this.rtfInfo.Text     = "This example demonstrates how to use the Area and Merge methods to combine images" +
                             " together.";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFile,
         this.menuToolbar,
         this.menuItem2
     });
     //
     // menuFile
     //
     this.menuFile.Index = 0;
     this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuFileOpenSource,
         this.menuFileOpenDest,
         this.menuItem5,
         this.menuFileQuit
     });
     this.menuFile.Text = "&File";
     //
     // menuFileOpenSource
     //
     this.menuFileOpenSource.Index  = 0;
     this.menuFileOpenSource.Text   = "Open &Source Image";
     this.menuFileOpenSource.Click += new System.EventHandler(this.menuFileOpenSource_Click);
     //
     // menuFileOpenDest
     //
     this.menuFileOpenDest.Index  = 1;
     this.menuFileOpenDest.Text   = "Open &Destination Image";
     this.menuFileOpenDest.Click += new System.EventHandler(this.menuFileOpenDest_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 2;
     this.menuItem5.Text  = "-";
     //
     // menuFileQuit
     //
     this.menuFileQuit.Index  = 3;
     this.menuFileQuit.Text   = "&Quit";
     this.menuFileQuit.Click += new System.EventHandler(this.menuFileQuit_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);
     //
     // menuItem2
     //
     this.menuItem2.Index  = 2;
     this.menuItem2.Text   = "&About";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // lblError
     //
     this.lblError.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.lblError.Location = new System.Drawing.Point(72, 492);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(544, 28);
     this.lblError.TabIndex = 24;
     //
     // lblLastError
     //
     this.lblLastError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lblLastError.Location = new System.Drawing.Point(8, 492);
     this.lblLastError.Name     = "lblLastError";
     this.lblLastError.Size     = new System.Drawing.Size(64, 16);
     this.lblLastError.TabIndex = 25;
     this.lblLastError.Text     = "Last Error:";
     //
     // buttonReloadDestination
     //
     this.buttonReloadDestination.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonReloadDestination.Location = new System.Drawing.Point(440, 272);
     this.buttonReloadDestination.Name     = "buttonReloadDestination";
     this.buttonReloadDestination.Size     = new System.Drawing.Size(168, 32);
     this.buttonReloadDestination.TabIndex = 26;
     this.buttonReloadDestination.Text     = "Reload Destination Image";
     this.buttonReloadDestination.Click   += new System.EventHandler(this.buttonReloadDestination_Click);
     //
     // IxDest
     //
     this.IxDest.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.IxDest.AutoScroll = true;
     this.IxDest.Location   = new System.Drawing.Point(16, 80);
     this.IxDest.Name       = "IxDest";
     this.IxDest.Size       = new System.Drawing.Size(415, 300);
     this.IxDest.TabIndex   = 27;
     this.IxDest.MouseDown += new System.Windows.Forms.MouseEventHandler(this.IxDest_MouseDown);
     this.IxDest.MouseMove += new System.Windows.Forms.MouseEventHandler(this.IxDest_MouseMove);
     this.IxDest.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.IxDest_MouseUp);
     //
     // MergeForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(624, 545);
     this.Controls.Add(this.IxDest);
     this.Controls.Add(this.buttonReloadDestination);
     this.Controls.Add(this.lblLastError);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.rtfInfo);
     this.Controls.Add(this.labelPctMin);
     this.Controls.Add(this.labelPctMax);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.hScrollBarMin);
     this.Controls.Add(this.hScrollBarMax);
     this.Controls.Add(this.comboBoxMergeType);
     this.Controls.Add(this.comboBoxTransparentColor);
     this.Controls.Add(this.IxSource);
     this.Controls.Add(this.comboBoxMergeStyle);
     this.Controls.Add(this.checkBoxTransparent);
     this.Controls.Add(this.buttonMerge);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu            = this.mainMenu1;
     this.Name            = "MergeForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Merge";
     this.Load           += new System.EventHandler(this.FormMain_Load);
     this.ResumeLayout(false);
 }
Esempio n. 5
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(MultiPageTIFF));
     this.buttonMake        = new System.Windows.Forms.Button();
     this.buttonRemove      = new System.Windows.Forms.Button();
     this.buttonInsert      = new System.Windows.Forms.Button();
     this.buttonCompact     = new System.Windows.Forms.Button();
     this.mnuFile           = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFileFile       = new System.Windows.Forms.MenuItem();
     this.mnuFileQuit       = new System.Windows.Forms.MenuItem();
     this.mnuAbout          = new System.Windows.Forms.MenuItem();
     this.rtfInfo           = new System.Windows.Forms.RichTextBox();
     this.lblLastError      = new System.Windows.Forms.Label();
     this.lblError          = new System.Windows.Forms.Label();
     this.labelFileStats    = 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.buttonInsertMulti = new System.Windows.Forms.Button();
     this.buttonRemoveMulti = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // buttonMake
     //
     this.buttonMake.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonMake.Location = new System.Drawing.Point(399, 152);
     this.buttonMake.Name     = "buttonMake";
     this.buttonMake.Size     = new System.Drawing.Size(238, 24);
     this.buttonMake.TabIndex = 4;
     this.buttonMake.Text     = "Make Multi-page Tiff Files";
     this.buttonMake.Click   += new System.EventHandler(this.buttonMake_Click);
     //
     // buttonRemove
     //
     this.buttonRemove.Location = new System.Drawing.Point(399, 184);
     this.buttonRemove.Name     = "buttonRemove";
     this.buttonRemove.Size     = new System.Drawing.Size(118, 24);
     this.buttonRemove.TabIndex = 5;
     this.buttonRemove.Text     = "Remove Page 2";
     this.buttonRemove.Click   += new System.EventHandler(this.buttonRemove_Click);
     //
     // buttonInsert
     //
     this.buttonInsert.Location = new System.Drawing.Point(399, 216);
     this.buttonInsert.Name     = "buttonInsert";
     this.buttonInsert.Size     = new System.Drawing.Size(118, 24);
     this.buttonInsert.TabIndex = 6;
     this.buttonInsert.Text     = "Insert Page 2";
     this.buttonInsert.Click   += new System.EventHandler(this.buttonInsert_Click);
     //
     // buttonCompact
     //
     this.buttonCompact.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCompact.Location = new System.Drawing.Point(399, 248);
     this.buttonCompact.Name     = "buttonCompact";
     this.buttonCompact.Size     = new System.Drawing.Size(238, 24);
     this.buttonCompact.TabIndex = 7;
     this.buttonCompact.Text     = "Compact";
     this.buttonCompact.Click   += new System.EventHandler(this.buttonCompact_Click);
     //
     // mnuFile
     //
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileFile,
         this.mnuAbout
     });
     //
     // mnuFileFile
     //
     this.mnuFileFile.Index = 0;
     this.mnuFileFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileQuit
     });
     this.mnuFileFile.Text = "&File";
     //
     // mnuFileQuit
     //
     this.mnuFileQuit.Index  = 0;
     this.mnuFileQuit.Text   = "&Quit";
     this.mnuFileQuit.Click += new System.EventHandler(this.mnuFileQuit_Click);
     //
     // mnuAbout
     //
     this.mnuAbout.Index  = 1;
     this.mnuAbout.Text   = "&About";
     this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
     //
     // rtfInfo
     //
     this.rtfInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.rtfInfo.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rtfInfo.Location = new System.Drawing.Point(16, 8);
     this.rtfInfo.Name     = "rtfInfo";
     this.rtfInfo.ReadOnly = true;
     this.rtfInfo.Size     = new System.Drawing.Size(613, 128);
     this.rtfInfo.TabIndex = 10;
     this.rtfInfo.Text     = resources.GetString("rtfInfo.Text");
     //
     // lblLastError
     //
     this.lblLastError.Location = new System.Drawing.Point(13, 388);
     this.lblLastError.Name     = "lblLastError";
     this.lblLastError.Size     = new System.Drawing.Size(77, 40);
     this.lblLastError.TabIndex = 14;
     this.lblLastError.Text     = "Last Error:";
     //
     // lblError
     //
     this.lblError.Location = new System.Drawing.Point(96, 377);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(491, 51);
     this.lblError.TabIndex = 15;
     //
     // labelFileStats
     //
     this.labelFileStats.Location = new System.Drawing.Point(10, 301);
     this.labelFileStats.Name     = "labelFileStats";
     this.labelFileStats.Size     = new System.Drawing.Size(394, 55);
     this.labelFileStats.TabIndex = 19;
     //
     // imageXView1
     //
     this.imageXView1.Location = new System.Drawing.Point(13, 152);
     this.imageXView1.Name     = "imageXView1";
     this.imageXView1.Size     = new System.Drawing.Size(122, 120);
     this.imageXView1.TabIndex = 21;
     //
     // imageXView2
     //
     this.imageXView2.Location = new System.Drawing.Point(142, 152);
     this.imageXView2.Name     = "imageXView2";
     this.imageXView2.Size     = new System.Drawing.Size(122, 120);
     this.imageXView2.TabIndex = 22;
     //
     // imageXView3
     //
     this.imageXView3.Location = new System.Drawing.Point(271, 152);
     this.imageXView3.Name     = "imageXView3";
     this.imageXView3.Size     = new System.Drawing.Size(122, 120);
     this.imageXView3.TabIndex = 23;
     //
     // buttonInsertMulti
     //
     this.buttonInsertMulti.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonInsertMulti.Location = new System.Drawing.Point(519, 216);
     this.buttonInsertMulti.Name     = "buttonInsertMulti";
     this.buttonInsertMulti.Size     = new System.Drawing.Size(118, 24);
     this.buttonInsertMulti.TabIndex = 25;
     this.buttonInsertMulti.Text     = "Insert Pages 2-3";
     this.buttonInsertMulti.Click   += new System.EventHandler(this.buttonInsertMulti_Click);
     //
     // buttonRemoveMulti
     //
     this.buttonRemoveMulti.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonRemoveMulti.Location = new System.Drawing.Point(519, 184);
     this.buttonRemoveMulti.Name     = "buttonRemoveMulti";
     this.buttonRemoveMulti.Size     = new System.Drawing.Size(118, 24);
     this.buttonRemoveMulti.TabIndex = 24;
     this.buttonRemoveMulti.Text     = "Remove Pages 2-3";
     this.buttonRemoveMulti.Click   += new System.EventHandler(this.buttonRemoveMulti_Click);
     //
     // MultiPageTIFF
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(645, 408);
     this.Controls.Add(this.buttonInsertMulti);
     this.Controls.Add(this.buttonRemoveMulti);
     this.Controls.Add(this.imageXView3);
     this.Controls.Add(this.imageXView2);
     this.Controls.Add(this.imageXView1);
     this.Controls.Add(this.labelFileStats);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.lblLastError);
     this.Controls.Add(this.rtfInfo);
     this.Controls.Add(this.buttonCompact);
     this.Controls.Add(this.buttonInsert);
     this.Controls.Add(this.buttonRemove);
     this.Controls.Add(this.buttonMake);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Menu            = this.mnuFile;
     this.Name            = "MultiPageTIFF";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "MultiPage TIFF";
     this.Load           += new System.EventHandler(this.MultiPageTIFF_Load);
     this.ResumeLayout(false);
 }
Esempio n. 6
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.mainMenu1      = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFile        = new System.Windows.Forms.MenuItem();
     this.mnuFileQuit    = 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.lblError       = new System.Windows.Forms.Label();
     this.lblLastError   = new System.Windows.Forms.Label();
     this.cmdInsert      = new System.Windows.Forms.Button();
     this.cmdRemove      = new System.Windows.Forms.Button();
     this.CmbBxImages    = new System.Windows.Forms.ComboBox();
     this.rtbInfo        = new System.Windows.Forms.RichTextBox();
     this.imagXpress1    = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
     this.imageXView1    = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.SuspendLayout();
     //
     // 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.mnuFileQuit
     });
     this.mnuFile.Text = "&File";
     //
     // mnuFileQuit
     //
     this.mnuFileQuit.Index  = 0;
     this.mnuFileQuit.Text   = "&Quit";
     this.mnuFileQuit.Click += new System.EventHandler(this.mnuFileQuit_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);
     //
     // lblError
     //
     this.lblError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblError.Location = new System.Drawing.Point(461, 123);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(240, 184);
     this.lblError.TabIndex = 30;
     //
     // lblLastError
     //
     this.lblLastError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLastError.Location = new System.Drawing.Point(461, 102);
     this.lblLastError.Name     = "lblLastError";
     this.lblLastError.Size     = new System.Drawing.Size(168, 15);
     this.lblLastError.TabIndex = 29;
     this.lblLastError.Text     = "Last Error:";
     //
     // cmdInsert
     //
     this.cmdInsert.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cmdInsert.Location = new System.Drawing.Point(344, 491);
     this.cmdInsert.Name     = "cmdInsert";
     this.cmdInsert.Size     = new System.Drawing.Size(103, 40);
     this.cmdInsert.TabIndex = 28;
     this.cmdInsert.Text     = "Insert Image";
     this.cmdInsert.Click   += new System.EventHandler(this.cmdInsert_Click);
     //
     // cmdRemove
     //
     this.cmdRemove.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cmdRemove.Location = new System.Drawing.Point(8, 491);
     this.cmdRemove.Name     = "cmdRemove";
     this.cmdRemove.Size     = new System.Drawing.Size(96, 40);
     this.cmdRemove.TabIndex = 27;
     this.cmdRemove.Text     = "Remove Image";
     this.cmdRemove.Click   += new System.EventHandler(this.cmdRemove_Click);
     //
     // CmbBxImages
     //
     this.CmbBxImages.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.CmbBxImages.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CmbBxImages.Location              = new System.Drawing.Point(120, 499);
     this.CmbBxImages.Name                  = "CmbBxImages";
     this.CmbBxImages.Size                  = new System.Drawing.Size(207, 21);
     this.CmbBxImages.TabIndex              = 26;
     this.CmbBxImages.SelectedIndexChanged += new System.EventHandler(this.CmbBxImages_SelectedIndexChanged);
     //
     // rtbInfo
     //
     this.rtbInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.rtbInfo.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rtbInfo.Location = new System.Drawing.Point(8, 8);
     this.rtbInfo.Name     = "rtbInfo";
     this.rtbInfo.Size     = new System.Drawing.Size(696, 91);
     this.rtbInfo.TabIndex = 25;
     this.rtbInfo.Text     = resources.GetString("rtbInfo.Text");
     //
     // imageXView1
     //
     this.imageXView1.Location = new System.Drawing.Point(8, 106);
     this.imageXView1.Name     = "imageXView1";
     this.imageXView1.Size     = new System.Drawing.Size(420, 383);
     this.imageXView1.TabIndex = 31;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(712, 540);
     this.Controls.Add(this.imageXView1);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.lblLastError);
     this.Controls.Add(this.cmdInsert);
     this.Controls.Add(this.cmdRemove);
     this.Controls.Add(this.CmbBxImages);
     this.Controls.Add(this.rtbInfo);
     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            = "ImagXpress Database Interaction";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Esempio n. 7
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(ImageLoadingAndSavingForm));
     this.mnuFile        = new System.Windows.Forms.MainMenu(this.components);
     this.mnuFileFile    = new System.Windows.Forms.MenuItem();
     this.mnuFileOpen    = new System.Windows.Forms.MenuItem();
     this.menuItem3      = new System.Windows.Forms.MenuItem();
     this.mnuFileQuit    = 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.cmbMethod      = new System.Windows.Forms.ComboBox();
     this.cmdLoad        = new System.Windows.Forms.Button();
     this.lblError       = new System.Windows.Forms.Label();
     this.lblLastError   = new System.Windows.Forms.Label();
     this.cmdSave        = new System.Windows.Forms.Button();
     this.cmbSave        = new System.Windows.Forms.ComboBox();
     this.lstStatus      = new System.Windows.Forms.ListBox();
     this.lstDesc        = new System.Windows.Forms.ListBox();
     this.lblLoadStatus  = new System.Windows.Forms.Label();
     this.imagXpress1    = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
     this.imageXView1    = new Accusoft.ImagXpressSdk.ImageXView(this.components);
     this.SuspendLayout();
     //
     // mnuFile
     //
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileFile,
         this.mnuToolbar,
         this.mnuAbout
     });
     //
     // mnuFileFile
     //
     this.mnuFileFile.Index = 0;
     this.mnuFileFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileOpen,
         this.menuItem3,
         this.mnuFileQuit
     });
     this.mnuFileFile.Text = "&File";
     //
     // mnuFileOpen
     //
     this.mnuFileOpen.Index  = 0;
     this.mnuFileOpen.Text   = "&Open (Change Image Location)";
     this.mnuFileOpen.Click += new System.EventHandler(this.mnuFileOpen_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text  = "-";
     //
     // mnuFileQuit
     //
     this.mnuFileQuit.Index  = 2;
     this.mnuFileQuit.Text   = "&Quit";
     this.mnuFileQuit.Click += new System.EventHandler(this.mnuFileQuit_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);
     //
     // cmbMethod
     //
     this.cmbMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbMethod.Items.AddRange(new object[] {
         "From File",
         "From Stream",
         "From HBITMAP",
         "From HDIB"
     });
     this.cmbMethod.Location              = new System.Drawing.Point(184, 88);
     this.cmbMethod.Name                  = "cmbMethod";
     this.cmbMethod.Size                  = new System.Drawing.Size(144, 21);
     this.cmbMethod.TabIndex              = 3;
     this.cmbMethod.SelectedIndexChanged += new System.EventHandler(this.cmbMethod_SelectedIndexChanged);
     //
     // cmdLoad
     //
     this.cmdLoad.Location = new System.Drawing.Point(16, 88);
     this.cmdLoad.Name     = "cmdLoad";
     this.cmdLoad.Size     = new System.Drawing.Size(144, 24);
     this.cmdLoad.TabIndex = 5;
     this.cmdLoad.Text     = "Load Image by Method";
     this.cmdLoad.Click   += new System.EventHandler(this.cmdLoad_Click);
     //
     // lblError
     //
     this.lblError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblError.Location = new System.Drawing.Point(336, 355);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(224, 96);
     this.lblError.TabIndex = 9;
     //
     // lblLastError
     //
     this.lblLastError.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLastError.Location = new System.Drawing.Point(336, 331);
     this.lblLastError.Name     = "lblLastError";
     this.lblLastError.Size     = new System.Drawing.Size(64, 16);
     this.lblLastError.TabIndex = 10;
     this.lblLastError.Text     = "Last Error:";
     //
     // cmdSave
     //
     this.cmdSave.Location = new System.Drawing.Point(16, 136);
     this.cmdSave.Name     = "cmdSave";
     this.cmdSave.Size     = new System.Drawing.Size(144, 24);
     this.cmdSave.TabIndex = 11;
     this.cmdSave.Text     = "SaveImage";
     this.cmdSave.Click   += new System.EventHandler(this.cmdSave_Click);
     //
     // cmbSave
     //
     this.cmbSave.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSave.Items.AddRange(new object[] {
         "Save as BMP",
         "Save as JPG",
         "Save as TIFF"
     });
     this.cmbSave.Location = new System.Drawing.Point(184, 136);
     this.cmbSave.Name     = "cmbSave";
     this.cmbSave.Size     = new System.Drawing.Size(144, 21);
     this.cmbSave.TabIndex = 12;
     //
     // lstStatus
     //
     this.lstStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.lstStatus.Location = new System.Drawing.Point(336, 144);
     this.lstStatus.Name     = "lstStatus";
     this.lstStatus.Size     = new System.Drawing.Size(232, 147);
     this.lstStatus.TabIndex = 13;
     //
     // 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 the following functionality:",
         "1)Loading image data into the control via the FromFile, FromHbitmap, ",
         "   FromHdib and FromStream methods of the ImageX class.",
         "2)Saving image data via the SaveOptions class and the Save method of the ImageX c" +
         "lass."
     });
     this.lstDesc.Location = new System.Drawing.Point(8, 8);
     this.lstDesc.Name     = "lstDesc";
     this.lstDesc.Size     = new System.Drawing.Size(568, 56);
     this.lstDesc.TabIndex = 14;
     //
     // lblLoadStatus
     //
     this.lblLoadStatus.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblLoadStatus.Location = new System.Drawing.Point(336, 112);
     this.lblLoadStatus.Name     = "lblLoadStatus";
     this.lblLoadStatus.Size     = new System.Drawing.Size(136, 24);
     this.lblLoadStatus.TabIndex = 44;
     this.lblLoadStatus.Text     = "Load Status:";
     //
     // imageXView1
     //
     this.imageXView1.AutoResize = Accusoft.ImagXpressSdk.AutoResizeType.BestFit;
     this.imageXView1.Location   = new System.Drawing.Point(8, 167);
     this.imageXView1.Name       = "imageXView1";
     this.imageXView1.Size       = new System.Drawing.Size(320, 374);
     this.imageXView1.TabIndex   = 45;
     //
     // ImageLoadingAndSavingForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(584, 553);
     this.Controls.Add(this.imageXView1);
     this.Controls.Add(this.lblLoadStatus);
     this.Controls.Add(this.lstDesc);
     this.Controls.Add(this.lstStatus);
     this.Controls.Add(this.cmbSave);
     this.Controls.Add(this.cmdSave);
     this.Controls.Add(this.lblLastError);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.cmdLoad);
     this.Controls.Add(this.cmbMethod);
     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.mnuFile;
     this.Name            = "ImageLoadingAndSavingForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Image Loading and Saving";
     this.Load           += new System.EventHandler(this.frmMain_Load);
     this.ResumeLayout(false);
 }