Ejemplo n.º 1
0
        public void Activate()
        {
            if (_isActivated) return;

            var headerControls = App.CompositionContainer.GetExportedValues<IHeaderControl>().ToList();

            // Activate only if there are no other IHeaderControl implementations and
            // custom HeaderControl not yet set
            if (App.HeaderControl == null &&
                headerControls.Count == 1 && headerControls[0].GetType() == GetType())
            {
                _isActivated = true;

                var container = new ToolStripPanel {Dock = DockStyle.Top};
                Shell.Controls.Add(container);

                var menuStrip = new MenuStrip { Name = DEFAULT_GROUP_NAME, Dock = DockStyle.Top };
                Shell.Controls.Add(menuStrip);

                Initialize(container, menuStrip);

                // Add default buttons
                container.SuspendLayout();
                menuStrip.SuspendLayout();

                new DefaultMenuBars(App).Initialize(this);

                container.ResumeLayout();
                menuStrip.ResumeLayout();
            }
        }
Ejemplo n.º 2
0
        internal void RemoveControlMenuItems(MdiWindowManager wm)
        {
            Form      form        = wm.form;
            MenuStrip parent_menu = form.MdiParent.MainMenuStrip;

            // Only remove the items if the form requesting still owns the menu items
            if (parent_menu != null)
            {
                parent_menu.SuspendLayout();

                for (int i = parent_menu.Items.Count - 1; i >= 0; i--)
                {
                    if (parent_menu.Items[i] is MdiControlStrip.SystemMenuItem)
                    {
                        if ((parent_menu.Items[i] as MdiControlStrip.SystemMenuItem).MdiForm == form)
                        {
                            parent_menu.Items.RemoveAt(i);
                        }
                    }
                    else if (parent_menu.Items[i] is MdiControlStrip.ControlBoxMenuItem)
                    {
                        if ((parent_menu.Items[i] as MdiControlStrip.ControlBoxMenuItem).MdiForm == form)
                        {
                            parent_menu.Items.RemoveAt(i);
                        }
                    }
                }

                parent_menu.ResumeLayout();
            }
        }
Ejemplo n.º 3
0
        void InitializeComponents()
        {
            var menuStrip = new MenuStrip();
            saveToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            closeToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            openToolStripMenuItem = new ToolStripMenuItem { Visible = false };
            newToolStripMenuItem = new ToolStripMenuItem { Visible = false };

            menuStrip.SuspendLayout();
            SuspendLayout();

            menuStrip.Items.Add(saveToolStripMenuItem);
            menuStrip.Items.Add(closeToolStripMenuItem);
            menuStrip.Items.Add(openToolStripMenuItem);
            menuStrip.Items.Add(newToolStripMenuItem);

            saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S;
            closeToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.W;
            openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O;
            newToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.N;

            Controls.Add(menuStrip);

            Size = new Size(800, 600);
            Text = "DevPad";
            WindowState = FormWindowState.Maximized;

            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();

            ResumeLayout(false);
            PerformLayout();

            MainMenuStrip = menuStrip;
        }
Ejemplo n.º 4
0
 public void add_to(MenuStrip strip)
 {
     strip.SuspendLayout();
     var menu_item = new ToolStripMenuItem(name);
     strip.Items.Add(menu_item);
     all_menu_items().each(x => menu_item.DropDownItems.Add(x.build()));
     strip.ResumeLayout();
 }
Ejemplo 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()
  {
   int i;
   String fname = "CreativeModePlus.res.Minecraft-Icon.ico";
   Stream file = Asm.exe.GetManifestResourceStream( fname );
   Bitmap icon = new Bitmap( file );
   menuStrip1 = new MenuStrip();
   fileToolStripMenuItem = new ToolStripMenuItem();
   openMenu = new ToolStripMenuItem();
   exportMenu = new ToolStripMenuItem();
   toolStripSeparator1 = new ToolStripSeparator();
   exitMenu = new ToolStripMenuItem();
   editToolStripMenuItem = new ToolStripMenuItem();
   undoMenu = new ToolStripMenuItem();
   redoMenu = new ToolStripMenuItem();
   toolStripSeparator2 = new ToolStripSeparator();
   deselMenu = new ToolStripMenuItem();
   toolStripSeparator3 = new ToolStripSeparator();
   copyMenu = new ToolStripMenuItem();
   cutMenu = new ToolStripMenuItem();
   pasteMenu = new ToolStripMenuItem();
   viewToolStripMenuItem = new ToolStripMenuItem();
   toolsMenu = new ToolStripMenuItem();
   mapToolStripMenuItem = new ToolStripMenuItem();
   regionMenu = new ToolStripMenuItem();
   helpToolStripMenuItem = new ToolStripMenuItem();
   helpMenu = new ToolStripMenuItem();
   aboutMenu = new ToolStripMenuItem();
   mnuScale = new ToolStripTextBox();
   height = new ComboBox();
   statusStrip1 = new StatusStrip();
   toolStripStatusLabel1 = new ToolStripStatusLabel();
   mnuLoad = new ToolStripProgressBar();
   toolStripStatusLabel2 = new ToolStripStatusLabel();
   mnuStatus = new ToolStripStatusLabel();
   toolStripStatusLabel3 = new ToolStripStatusLabel();
   mnuBlock = new ToolStripStatusLabel();
   toolStripStatusLabel4 = new ToolStripStatusLabel();
   mnuCoord = new ToolStripStatusLabel();
   pnlImage = new Panel();
   mapImage = new PictureBox();
   cmbBlocks = new CreativeModePlus.ComboBoxWithIcons();
   cmbPaint = new CreativeModePlus.ComboBoxWithIcons();
   menuStrip1.SuspendLayout();
   statusStrip1.SuspendLayout();
   pnlImage.SuspendLayout();
   ((System.ComponentModel.ISupportInitialize)(mapImage)).BeginInit();
   SuspendLayout();
   // 
   // menuStrip1
   // 
   menuStrip1.BackColor = Color.LightGray;
   menuStrip1.Items.AddRange(new ToolStripItem[] {
            fileToolStripMenuItem,
            editToolStripMenuItem,
            viewToolStripMenuItem,
            mapToolStripMenuItem,
            helpToolStripMenuItem,
            mnuScale});
   menuStrip1.Location = new Point(0, 0);
   menuStrip1.Name = "menuStrip1";
   menuStrip1.Size = new Size(528, 27);
   menuStrip1.TabIndex = 0;
   menuStrip1.Text = "menuStrip1";
   // 
   // fileToolStripMenuItem
   // 
   fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            openMenu,
            exportMenu,
            toolStripSeparator1,
            exitMenu});
   fileToolStripMenuItem.Name = "fileToolStripMenuItem";
   fileToolStripMenuItem.Size = new Size(37, 23);
   fileToolStripMenuItem.Text = "&File";
   // 
   // openMenu
   // 
   openMenu.Name = "openMenu";
   openMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.O)));
   openMenu.Size = new Size(182, 22);
   openMenu.Text = "&Open World";
   openMenu.Click += new EventHandler(openMenu_Click);
   // 
   // exportMenu
   // 
   exportMenu.Name = "exportMenu";
   exportMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.S)));
   exportMenu.Size = new Size(182, 22);
   exportMenu.Text = "&Save";
   exportMenu.Click += new EventHandler( exportMenu_Click );
   // 
   // toolStripSeparator1
   // 
   toolStripSeparator1.Name = "toolStripSeparator1";
   toolStripSeparator1.Size = new Size(179, 6);
   // 
   // exitMenu
   // 
   exitMenu.Name = "exitMenu";
   exitMenu.ShortcutKeys = ((Keys)((Keys.Alt | Keys.F4)));
   exitMenu.Size = new Size(182, 22);
   exitMenu.Text = "E&xit";
   exitMenu.Click += new EventHandler(exitMenu_Click);
   // 
   // editToolStripMenuItem
   // 
   editToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            undoMenu,
            redoMenu,
            toolStripSeparator2,
            deselMenu,
            toolStripSeparator3,
            copyMenu,
            cutMenu,
            pasteMenu});
   editToolStripMenuItem.Name = "editToolStripMenuItem";
   editToolStripMenuItem.Size = new Size(39, 23);
   editToolStripMenuItem.Text = "&Edit";
   //
   // deselMenu
   //
   deselMenu.Name = "deselMenu";
   deselMenu.ShortcutKeys = (( Keys )( Keys.Control | Keys.D ));
   deselMenu.Size = new Size( 152, 22 );
   deselMenu.Text = "&Deselect";
   deselMenu.Click += new EventHandler( deselMenu_Click );
   // 
   // copyMenu
   // 
   copyMenu.Name = "copyMenu";
   copyMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.C)));
   copyMenu.Size = new Size(152, 22);
   copyMenu.Text = "C&opy";
   copyMenu.Click += new EventHandler( copyMenu_Click );
   // 
   // cutMenu
   // 
   cutMenu.Name = "cutMenu";
   cutMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.X)));
   cutMenu.Size = new Size(152, 22);
   cutMenu.Text = "C&ut";
   cutMenu.Click += new EventHandler( cutMenu_Click );
   // 
   // pasteMenu
   // 
   pasteMenu.Name = "pasteMenu";
   pasteMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.V)));
   pasteMenu.Size = new Size(152, 22);
   pasteMenu.Text = "&Paste";
   pasteMenu.Click += new EventHandler( pasteMenu_Click );
   // 
   // viewToolStripMenuItem
   // 
   viewToolStripMenuItem.DropDownItems.Add( toolsMenu );
   viewToolStripMenuItem.Name = "viewToolStripMenuItem";
   viewToolStripMenuItem.Size = new Size(44, 23);
   viewToolStripMenuItem.Text = "&View";
   // 
   // toolsMenu
   // 
   toolsMenu.Checked = true;
   toolsMenu.CheckOnClick = true;
   toolsMenu.CheckState = CheckState.Checked;
   toolsMenu.Name = "toolsMenu";
   toolsMenu.Size = new Size(112, 22);
   toolsMenu.Text = "Tools";
   toolsMenu.CheckedChanged += new EventHandler(toolsMenu_CheckChanged);
   // 
   // mapToolStripMenuItem
   // 
   mapToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            regionMenu});
   mapToolStripMenuItem.Name = "mapToolStripMenuItem";
   mapToolStripMenuItem.Size = new Size(43, 23);
   mapToolStripMenuItem.Text = "&Map";
   // 
   // regionMenu
   // 
   regionMenu.Name = "regionMenu";
   regionMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.R)));
   regionMenu.Size = new Size(186, 22);
   regionMenu.Text = "&Select Region";
   regionMenu.Click += new EventHandler(regionMenu_Click);
   // 
   // helpToolStripMenuItem
   // 
   helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            helpMenu, aboutMenu});
   helpToolStripMenuItem.Name = "helpToolStripMenuItem";
   helpToolStripMenuItem.Size = new Size(44, 23);
   helpToolStripMenuItem.Text = "&Help";
   //
   // helpMenu
   //
   helpMenu.Name = "helpMenu";
   helpMenu.ShortcutKeys = Keys.F1;
   helpMenu.Size = new Size( 149, 22 );
   helpMenu.Text = "&Help";
   helpMenu.Click += new EventHandler( helpMenu_Click );
   // 
   // aboutMenu
   // 
   aboutMenu.Name = "aboutMenu";
   aboutMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.A)));
   aboutMenu.Size = new Size(149, 22);
   aboutMenu.Text = "&About";
   aboutMenu.Click += new EventHandler(aboutMenu_Click);
   // 
   // mnuScale
   // 
   mnuScale.BackColor = Color.LightGray;
   mnuScale.Name = "mnuScale";
   mnuScale.Size = new Size(50, 23);
   mnuScale.Text = "100%";
   mnuScale.TextBoxTextAlign = HorizontalAlignment.Right;
   // 
   // statusStrip1
   // 
   statusStrip1.BackColor = Color.LightGray;
   statusStrip1.Items.AddRange(new ToolStripItem[] {
            toolStripStatusLabel1,
            mnuLoad,
            toolStripStatusLabel2,
            mnuStatus,
            toolStripStatusLabel3,
            mnuBlock,
            toolStripStatusLabel4,
            mnuCoord});
   statusStrip1.Location = new Point(0, 601);
   statusStrip1.Name = "statusStrip1";
   statusStrip1.Size = new Size(528, 22);
   statusStrip1.TabIndex = 3;
   statusStrip1.Text = "statusStrip1";
   // 
   // toolStripStatusLabel1
   // 
   toolStripStatusLabel1.BackColor = Color.LightGray;
   toolStripStatusLabel1.Name = "toolStripStatusLabel";
   toolStripStatusLabel1.Size = new Size(22, 17);
   toolStripStatusLabel1.Text = "     ";
   // 
   // mnuLoad
   // 
   mnuLoad.BackColor = SystemColors.GrayText;
   mnuLoad.ForeColor = SystemColors.GradientActiveCaption;
   mnuLoad.Name = "mnuLoad";
   mnuLoad.Size = new Size(100, 16);
   mnuLoad.Style = ProgressBarStyle.Continuous;
   // 
   // toolStripStatusLabel2
   // 
   toolStripStatusLabel2.BackColor = Color.LightGray;
   toolStripStatusLabel2.Name = "toolStripStatusLabel2";
   toolStripStatusLabel2.Size = new Size(22, 17);
   toolStripStatusLabel2.Text = "     ";
   // 
   // mnuStatus
   // 
   mnuStatus.BackColor = Color.LightGray;
   mnuStatus.Name = "mnuStatus";
   mnuStatus.Size = new Size(102, 17);
   mnuStatus.Text = "Not Loading";
   // 
   // toolStripStatusLabel3
   // 
   toolStripStatusLabel3.BackColor = Color.LightGray;
   toolStripStatusLabel3.Name = "toolStripStatusLabel3";
   toolStripStatusLabel3.Size = new Size(22, 17);
   toolStripStatusLabel3.Text = "     ";
   // 
   // mnuBlock
   // 
   mnuBlock.BackColor = Color.LightGray;
   mnuBlock.Name = "mnuBlock";
   mnuBlock.Size = new Size(102, 17);
   mnuBlock.Text = "Block Information";
   // 
   // toolStripStatusLabel4
   // 
   toolStripStatusLabel3.BackColor = Color.LightGray;
   toolStripStatusLabel3.Name = "toolStripStatusLabel4";
   toolStripStatusLabel3.Size = new Size(22, 17);
   toolStripStatusLabel3.Text = "     ";
   // 
   // mnuCoord
   // 
   mnuCoord.BackColor = Color.LightGray;
   mnuCoord.Name = "mnuBlock";
   mnuCoord.Size = new Size(102, 17);
   mnuCoord.Text = "( X, Y )";
   // 
   // pnlImage
   // 
   pnlImage.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom) 
            | AnchorStyles.Left) 
            | AnchorStyles.Right)));
   pnlImage.AutoScroll = true;
   pnlImage.BackColor = SystemColors.Desktop;
   pnlImage.Controls.Add(mapImage);
   pnlImage.Location = new Point(0, 48);
   pnlImage.Name = "pnlImage";
   pnlImage.Size = new Size(528, 550);
   pnlImage.TabIndex = 4;
   pnlImage.MouseWheel += new MouseEventHandler( pnlImage_Wheel );
   // 
   // mapImage
   // 
   mapImage.Location = new Point(0, 0);
   mapImage.Name = "mapImage";
   mapImage.Size = new Size(512, 512);
   mapImage.SizeMode = PictureBoxSizeMode.Zoom;
   mapImage.TabIndex = 0;
   mapImage.TabStop = false;
   mapImage.MouseClick += new MouseEventHandler(mapImage_Click);
   mapImage.MouseDown += new MouseEventHandler(mapImage_Down);
   mapImage.MouseEnter += new EventHandler(mapImage_MouseEnter);
   mapImage.MouseLeave += new EventHandler(mapImage_MouseLeave);
   mapImage.MouseMove += new MouseEventHandler(mapImage_MouseMove);
   mapImage.MouseUp += new MouseEventHandler(mapImage_Up);
   // 
   // height
   // 
   height.DropDownStyle = ComboBoxStyle.DropDownList;
   height.FlatStyle = FlatStyle.Flat;
   height.Location = new Point(380, 27);
   height.Name = "height";
   height.Size = new Size(100, 21);
   height.TabIndex = 2;
   height.SelectedIndexChanged += new EventHandler(height_ValueChanged);
   // 
   // cmbBlocks
   // 
   cmbBlocks.DrawMode = DrawMode.OwnerDrawFixed;
   cmbBlocks.DropDownStyle = ComboBoxStyle.DropDownList;
   cmbBlocks.FlatStyle = FlatStyle.Flat;
   cmbBlocks.FormattingEnabled = true;
   cmbBlocks.Location = new Point(0, 27);
   cmbBlocks.Name = "cmbBlocks";
   cmbBlocks.Size = new Size(187, 21);
   cmbBlocks.TabIndex = 5;
   for( i = 0; i < 256; i++ )
    height.Items.Add( "" + ( i + 1 ));
   cmbBlocks.SelectedIndexChanged += new EventHandler(cmbBlocks_SelectedIndexChanged);
   // 
   // cmbPaint
   // 
   cmbPaint.DrawMode = DrawMode.OwnerDrawFixed;
   cmbPaint.DropDownStyle = ComboBoxStyle.DropDownList;
   cmbPaint.FlatStyle = FlatStyle.Flat;
   cmbPaint.FormattingEnabled = true;
   cmbPaint.Location = new Point(190, 27);
   cmbPaint.Name = "cmbPaint";
   cmbPaint.Size = new Size(187, 21);
   cmbPaint.TabIndex = 5;
   cmbPaint.SelectedIndexChanged += new EventHandler(cmbPaint_SelectedIndexChanged);
   // 
   // toolStripSeparator2
   // 
   toolStripSeparator2.Name = "toolStripSeparator2";
   toolStripSeparator2.Size = new Size(149, 6);
   // 
   // undoMenu
   // 
   undoMenu.Name = "undoMenu";
   undoMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.Z)));
   undoMenu.Size = new Size(152, 22);
   undoMenu.Text = "&Undo";
   undoMenu.Click += new EventHandler(undoMenu_Click);
   // 
   // redoMenu
   // 
   redoMenu.Name = "redoMenu";
   redoMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.Y)));
   redoMenu.Size = new Size(152, 22);
   redoMenu.Text = "&Redo";
   redoMenu.Click += new EventHandler(redoMenu_Click);
   // 
   // frmMain
   // 
   BackColor = Color.LightGray;
   ClientSize = new Size(528, 623);
   Controls.Add(cmbBlocks);
   Controls.Add(cmbPaint);
   Controls.Add(statusStrip1);
   Controls.Add(height);
   Controls.Add(menuStrip1);
   Controls.Add(pnlImage);
   FormClosing += new FormClosingEventHandler( frmMain_Closing );
   Icon = Icon.FromHandle( icon.GetHicon());
   file.Close();
   Location = new Point(( Screen.PrimaryScreen.Bounds.Width - Width ) / 2,
                        ( Screen.PrimaryScreen.Bounds.Height - Height ) / 2 );
   MainMenuStrip = menuStrip1;
   Move += new EventHandler(frmMain_SizeChanged);
   Name = "frmMain";
   StartPosition = FormStartPosition.Manual;
   Text = "Creative Mode+";
   SizeChanged += new EventHandler(frmMain_SizeChanged);
   menuStrip1.ResumeLayout(false);
   menuStrip1.PerformLayout();
   statusStrip1.ResumeLayout(false);
   statusStrip1.PerformLayout();
   pnlImage.ResumeLayout(false);
   ((System.ComponentModel.ISupportInitialize)(mapImage)).EndInit();
   ResumeLayout(false);
   PerformLayout();

  }
Ejemplo n.º 6
0
 private void InitializeComponent()
 {
     components                         = new Container();
     clmIndex                           = new ColumnHeader();
     clmName                            = new ColumnHeader();
     lstSets                            = new ListView();
     clmType                            = new ColumnHeader();
     clmDataOffset                      = new ColumnHeader();
     clmAudioOffset                     = new ColumnHeader();
     clmEntryOffset                     = new ColumnHeader();
     contextMenuStrip1                  = new ContextMenuStrip(components);
     mnuPath                            = new ToolStripMenuItem();
     mnuExport                          = new ToolStripMenuItem();
     mnuReplace                         = new ToolStripMenuItem();
     _deleteToolStripMenuItem           = new ToolStripMenuItem();
     menuStrip1                         = new MenuStrip();
     newFileToolStripMenuItem           = new ToolStripMenuItem();
     rWSDToolStripMenuItem              = new ToolStripMenuItem();
     rSEQToolStripMenuItem              = new ToolStripMenuItem();
     rBNKToolStripMenuItem              = new ToolStripMenuItem();
     rSTMToolStripMenuItem              = new ToolStripMenuItem();
     externalReferenceToolStripMenuItem = new ToolStripMenuItem();
     audioPlaybackPanel1                = new AudioPlaybackPanel();
     editToolStripMenuItem              = new ToolStripMenuItem();
     makeAllExternalToolStripMenuItem   = new ToolStripMenuItem();
     makeAllInternalToolStripMenuItem   = new ToolStripMenuItem();
     contextMenuStrip1.SuspendLayout();
     menuStrip1.SuspendLayout();
     SuspendLayout();
     //
     // clmIndex
     //
     clmIndex.Text  = "Index";
     clmIndex.Width = 40;
     //
     // clmName
     //
     clmName.Text  = "Name";
     clmName.Width = 40;
     //
     // lstSets
     //
     lstSets.AutoArrange = false;
     lstSets.BorderStyle = BorderStyle.None;
     lstSets.Columns.AddRange(new ColumnHeader[]
     {
         clmIndex,
         clmType,
         clmName,
         clmDataOffset,
         clmAudioOffset,
         clmEntryOffset
     });
     lstSets.ContextMenuStrip = contextMenuStrip1;
     lstSets.Dock             = DockStyle.Fill;
     lstSets.FullRowSelect    = true;
     lstSets.GridLines        = true;
     lstSets.HideSelection    = false;
     lstSets.LabelWrap        = false;
     lstSets.Location         = new Drawing.Point(0, 28);
     lstSets.MultiSelect      = false;
     lstSets.Name             = "lstSets";
     lstSets.Size             = new Drawing.Size(389, 105);
     lstSets.TabIndex         = 0;
     lstSets.UseCompatibleStateImageBehavior = false;
     lstSets.View                  = View.Details;
     lstSets.ColumnClick          += new ColumnClickEventHandler(lstSets_ColumnClick);
     lstSets.SelectedIndexChanged += lstSets_SelectedIndexChanged;
     lstSets.DoubleClick          += lstSets_DoubleClick;
     lstSets.KeyDown              += new KeyEventHandler(lstSets_KeyDown);
     //
     // clmType
     //
     clmType.Text = "Type";
     //
     // clmDataOffset
     //
     clmDataOffset.Text  = "Data Offset";
     clmDataOffset.Width = 70;
     //
     // clmAudioOffset
     //
     clmAudioOffset.Text  = "Audio Offset";
     clmAudioOffset.Width = 70;
     //
     // clmEntryOffset
     //
     clmEntryOffset.Text  = "Entry Offset";
     clmEntryOffset.Width = 80;
     //
     // contextMenuStrip1
     //
     contextMenuStrip1.ImageScalingSize = new Drawing.Size(20, 20);
     contextMenuStrip1.Items.AddRange(new ToolStripItem[]
     {
         mnuPath,
         mnuExport,
         mnuReplace,
         _deleteToolStripMenuItem
     });
     contextMenuStrip1.Name     = "contextMenuStrip1";
     contextMenuStrip1.Size     = new Drawing.Size(138, 108);
     contextMenuStrip1.Opening += new CancelEventHandler(contextMenuStrip1_Opening);
     //
     // mnuPath
     //
     mnuPath.Name   = "mnuPath";
     mnuPath.Size   = new Drawing.Size(137, 26);
     mnuPath.Text   = "Path...";
     mnuPath.Click += mnuPath_Click;
     //
     // mnuExport
     //
     mnuExport.Name   = "mnuExport";
     mnuExport.Size   = new Drawing.Size(137, 26);
     mnuExport.Text   = "Export";
     mnuExport.Click += mnuExport_Click;
     //
     // mnuReplace
     //
     mnuReplace.Name   = "mnuReplace";
     mnuReplace.Size   = new Drawing.Size(137, 26);
     mnuReplace.Text   = "Replace";
     mnuReplace.Click += mnuReplace_Click;
     //
     // _deleteToolStripMenuItem
     //
     _deleteToolStripMenuItem.Name   = "_deleteToolStripMenuItem";
     _deleteToolStripMenuItem.Size   = new Drawing.Size(137, 26);
     _deleteToolStripMenuItem.Text   = "Delete";
     _deleteToolStripMenuItem.Click += _deleteToolStripMenuItem_Click;
     //
     // menuStrip1
     //
     menuStrip1.ImageScalingSize = new Drawing.Size(20, 20);
     menuStrip1.Items.AddRange(new ToolStripItem[]
     {
         newFileToolStripMenuItem,
         editToolStripMenuItem
     });
     menuStrip1.Location = new Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new Drawing.Size(389, 28);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text     = "menuStrip1";
     //
     // newFileToolStripMenuItem
     //
     newFileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
     {
         rWSDToolStripMenuItem,
         rSEQToolStripMenuItem,
         rBNKToolStripMenuItem,
         rSTMToolStripMenuItem,
         externalReferenceToolStripMenuItem
     });
     newFileToolStripMenuItem.Name = "newFileToolStripMenuItem";
     newFileToolStripMenuItem.Size = new Drawing.Size(78, 24);
     newFileToolStripMenuItem.Text = "New File";
     //
     // rWSDToolStripMenuItem
     //
     rWSDToolStripMenuItem.Name   = "rWSDToolStripMenuItem";
     rWSDToolStripMenuItem.Size   = new Drawing.Size(207, 26);
     rWSDToolStripMenuItem.Text   = "RWSD";
     rWSDToolStripMenuItem.Click += rWSDToolStripMenuItem_Click;
     //
     // rSEQToolStripMenuItem
     //
     rSEQToolStripMenuItem.Name   = "rSEQToolStripMenuItem";
     rSEQToolStripMenuItem.Size   = new Drawing.Size(207, 26);
     rSEQToolStripMenuItem.Text   = "RSEQ";
     rSEQToolStripMenuItem.Click += rSEQToolStripMenuItem_Click;
     //
     // rBNKToolStripMenuItem
     //
     rBNKToolStripMenuItem.Name   = "rBNKToolStripMenuItem";
     rBNKToolStripMenuItem.Size   = new Drawing.Size(207, 26);
     rBNKToolStripMenuItem.Text   = "RBNK";
     rBNKToolStripMenuItem.Click += rBNKToolStripMenuItem_Click;
     //
     // rSTMToolStripMenuItem
     //
     rSTMToolStripMenuItem.Name   = "rSTMToolStripMenuItem";
     rSTMToolStripMenuItem.Size   = new Drawing.Size(207, 26);
     rSTMToolStripMenuItem.Text   = "RSTM";
     rSTMToolStripMenuItem.Click += rSTMToolStripMenuItem_Click;
     //
     // externalReferenceToolStripMenuItem
     //
     externalReferenceToolStripMenuItem.Name   = "externalReferenceToolStripMenuItem";
     externalReferenceToolStripMenuItem.Size   = new Drawing.Size(207, 26);
     externalReferenceToolStripMenuItem.Text   = "External Reference";
     externalReferenceToolStripMenuItem.Click += externalReferenceToolStripMenuItem_Click;
     //
     // audioPlaybackPanel1
     //
     audioPlaybackPanel1.Dock          = DockStyle.Bottom;
     audioPlaybackPanel1.Location      = new Drawing.Point(0, 133);
     audioPlaybackPanel1.Name          = "audioPlaybackPanel1";
     audioPlaybackPanel1.Size          = new Drawing.Size(389, 120);
     audioPlaybackPanel1.TabIndex      = 2;
     audioPlaybackPanel1.TargetStreams = null;
     audioPlaybackPanel1.Visible       = false;
     audioPlaybackPanel1.Volume        = 0;
     //
     // editToolStripMenuItem
     //
     editToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
     {
         makeAllExternalToolStripMenuItem,
         makeAllInternalToolStripMenuItem
     });
     editToolStripMenuItem.Name = "editToolStripMenuItem";
     editToolStripMenuItem.Size = new Drawing.Size(47, 24);
     editToolStripMenuItem.Text = "Edit";
     //
     // makeAllExternalToolStripMenuItem
     //
     makeAllExternalToolStripMenuItem.Name   = "makeAllExternalToolStripMenuItem";
     makeAllExternalToolStripMenuItem.Size   = new Drawing.Size(197, 26);
     makeAllExternalToolStripMenuItem.Text   = "Make all external";
     makeAllExternalToolStripMenuItem.Click += makeAllExternalToolStripMenuItem_Click;
     //
     // makeAllInternalToolStripMenuItem
     //
     makeAllInternalToolStripMenuItem.Name   = "makeAllInternalToolStripMenuItem";
     makeAllInternalToolStripMenuItem.Size   = new Drawing.Size(197, 26);
     makeAllInternalToolStripMenuItem.Text   = "Make all internal";
     makeAllInternalToolStripMenuItem.Click += makeAllInternalToolStripMenuItem_Click;
     //
     // SoundPackControl
     //
     Controls.Add(lstSets);
     Controls.Add(audioPlaybackPanel1);
     Controls.Add(menuStrip1);
     Name         = "SoundPackControl";
     Size         = new Drawing.Size(389, 253);
     DoubleClick += lstSets_DoubleClick;
     contextMenuStrip1.ResumeLayout(false);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 7
0
 private void Diseño_Forma()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Cliente));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     pic_Cliente = new System.Windows.Forms.PictureBox();
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     groupBoxfoto = new System.Windows.Forms.GroupBox();
     btn_BuscarI = new System.Windows.Forms.Button();
     txt_Diascredito = new System.Windows.Forms.TextBox();
     txt_LimiteCredito = new System.Windows.Forms.TextBox();
     txt_Saldo = new System.Windows.Forms.TextBox();
     txt_NombreContacto = new System.Windows.Forms.TextBox();
     txt_Email = new System.Windows.Forms.TextBox();
     txt_Telefono = new System.Windows.Forms.TextBox();
     txt_CP = new System.Windows.Forms.TextBox();
     txt_Estado = new System.Windows.Forms.TextBox();
     txt_Ciudad = new System.Windows.Forms.TextBox();
     txt_Direccion = new System.Windows.Forms.TextBox();
     txt_ApellidoM = new System.Windows.Forms.TextBox();
     txt_ApellidoP = new System.Windows.Forms.TextBox();
     txt_Nombre = new System.Windows.Forms.TextBox();
     txt_RazonSocial = new System.Windows.Forms.TextBox();
     txt_RFC = new System.Windows.Forms.TextBox();
     lbl_Dias = new System.Windows.Forms.Label();
     lbl_LimiteCredito = new System.Windows.Forms.Label();
     lbl_Saldo = new System.Windows.Forms.Label();
     lbl_NombreContacto = new System.Windows.Forms.Label();
     lbl_Email = new System.Windows.Forms.Label();
     lbl_Telefono = new System.Windows.Forms.Label();
     lbl_CP = new System.Windows.Forms.Label();
     lbl_Estado = new System.Windows.Forms.Label();
     lbl_Ciudad = new System.Windows.Forms.Label();
     lbl_Direccion = new System.Windows.Forms.Label();
     lbl_ApellidoM = new System.Windows.Forms.Label();
     lbl_ApellidoP = new System.Windows.Forms.Label();
     lbl_Nombre = new System.Windows.Forms.Label();
     lbl_Razon_Social = new System.Windows.Forms.Label();
     lbl_RFC = new System.Windows.Forms.Label();
     pic_Logo = new System.Windows.Forms.PictureBox();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Cliente)).BeginInit();
     groupBoxdatos.SuspendLayout();
     groupBoxfoto.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(604, 24);
     menuStrip1.TabIndex = 0;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(153, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(49, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(380, 380);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // pic_Cliente
     //
     pic_Cliente.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pic_Cliente.BackgroundImage")));
     pic_Cliente.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Clientes;
     pic_Cliente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Cliente.Location = new System.Drawing.Point(493, 25);
     pic_Cliente.Name = "pic_Cliente";
     pic_Cliente.Size = new System.Drawing.Size(85, 67);
     pic_Cliente.TabIndex = 7;
     pic_Cliente.TabStop = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.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)));
     groupBoxdatos.Controls.Add(groupBoxfoto);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(txt_Diascredito);
     groupBoxdatos.Controls.Add(txt_LimiteCredito);
     groupBoxdatos.Controls.Add(txt_Saldo);
     groupBoxdatos.Controls.Add(txt_NombreContacto);
     groupBoxdatos.Controls.Add(txt_Email);
     groupBoxdatos.Controls.Add(txt_Telefono);
     groupBoxdatos.Controls.Add(txt_CP);
     groupBoxdatos.Controls.Add(txt_Estado);
     groupBoxdatos.Controls.Add(txt_Ciudad);
     groupBoxdatos.Controls.Add(txt_Direccion);
     groupBoxdatos.Controls.Add(txt_ApellidoM);
     groupBoxdatos.Controls.Add(txt_ApellidoP);
     groupBoxdatos.Controls.Add(txt_Nombre);
     groupBoxdatos.Controls.Add(txt_RazonSocial);
     groupBoxdatos.Controls.Add(txt_RFC);
     groupBoxdatos.Controls.Add(lbl_Dias);
     groupBoxdatos.Controls.Add(lbl_LimiteCredito);
     groupBoxdatos.Controls.Add(lbl_Saldo);
     groupBoxdatos.Controls.Add(lbl_NombreContacto);
     groupBoxdatos.Controls.Add(lbl_Email);
     groupBoxdatos.Controls.Add(lbl_Telefono);
     groupBoxdatos.Controls.Add(lbl_CP);
     groupBoxdatos.Controls.Add(lbl_Estado);
     groupBoxdatos.Controls.Add(lbl_Ciudad);
     groupBoxdatos.Controls.Add(lbl_Direccion);
     groupBoxdatos.Controls.Add(lbl_ApellidoM);
     groupBoxdatos.Controls.Add(lbl_ApellidoP);
     groupBoxdatos.Controls.Add(lbl_Nombre);
     groupBoxdatos.Controls.Add(lbl_Razon_Social);
     groupBoxdatos.Controls.Add(lbl_RFC);
     groupBoxdatos.Location = new System.Drawing.Point(8, 52);
     groupBoxdatos.Name = "groupBoxdatos";
     groupBoxdatos.Size = new System.Drawing.Size(565, 520);
     groupBoxdatos.TabIndex = 6;
     groupBoxdatos.TabStop = false;
     groupBoxdatos.Text = "Datos del cliente";
     //
     // groupBoxfoto
     //
     groupBoxfoto.Controls.Add(btn_BuscarI);
     groupBoxfoto.Location = new System.Drawing.Point(301, 31);
     groupBoxfoto.Name = "groupBoxfoto";
     groupBoxfoto.Size = new System.Drawing.Size(237, 236);
     groupBoxfoto.TabIndex = 31;
     groupBoxfoto.TabStop = false;
     groupBoxfoto.Text = "Foto de contacto";
     //
     // btn_BuscarI
     //
     btn_BuscarI.Location = new System.Drawing.Point(156, 207);
     btn_BuscarI.Name = "btn_BuscarI";
     btn_BuscarI.Size = new System.Drawing.Size(75, 23);
     btn_BuscarI.TabIndex = 33;
     btn_BuscarI.Text = "Añadir imagen";
     btn_BuscarI.UseVisualStyleBackColor = true;
     btn_BuscarI.Click += new System.EventHandler(btn_BuscarI_Click);
     //
     // txt_Diascredito
     //
     txt_Diascredito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Diascredito.Location = new System.Drawing.Point(127, 473);
     txt_Diascredito.MaxLength = 3;
     txt_Diascredito.Name = "txt_Diascredito";
     txt_Diascredito.Size = new System.Drawing.Size(127, 20);
     txt_Diascredito.TabIndex = 30;
     txt_Diascredito.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Diascredito_KeyPress);
     //
     // txt_LimiteCredito
     //
     txt_LimiteCredito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_LimiteCredito.Location = new System.Drawing.Point(127, 448);
     txt_LimiteCredito.MaxLength = 9;
     txt_LimiteCredito.Name = "txt_LimiteCredito";
     txt_LimiteCredito.Size = new System.Drawing.Size(127, 20);
     txt_LimiteCredito.TabIndex = 29;
     txt_LimiteCredito.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_LimiteCredito_KeyPress);
     //
     // txt_Saldo
     //
     txt_Saldo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Saldo.Location = new System.Drawing.Point(127, 423);
     txt_Saldo.MaxLength = 9;
     txt_Saldo.Name = "txt_Saldo";
     txt_Saldo.Size = new System.Drawing.Size(127, 20);
     txt_Saldo.TabIndex = 28;
     txt_Saldo.Text = "0.00";
     txt_Saldo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Saldo_KeyPress);
     //
     // txt_NombreContacto
     //
     txt_NombreContacto.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_NombreContacto.Location = new System.Drawing.Point(127, 398);
     txt_NombreContacto.Name = "txt_NombreContacto";
     txt_NombreContacto.Size = new System.Drawing.Size(127, 20);
     txt_NombreContacto.TabIndex = 27;
     txt_NombreContacto.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_NombreContacto_KeyPress);
     //
     // txt_Email
     //
     txt_Email.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Email.Location = new System.Drawing.Point(127, 373);
     txt_Email.MaxLength = 30;
     txt_Email.Name = "txt_Email";
     txt_Email.Size = new System.Drawing.Size(127, 20);
     txt_Email.TabIndex = 26;
     //
     // txt_Telefono
     //
     txt_Telefono.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Telefono.Location = new System.Drawing.Point(127, 348);
     txt_Telefono.MaxLength = 10;
     txt_Telefono.Name = "txt_Telefono";
     txt_Telefono.Size = new System.Drawing.Size(127, 20);
     txt_Telefono.TabIndex = 25;
     txt_Telefono.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Telefono_KeyPress);
     //
     // txt_CP
     //
     txt_CP.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_CP.Location = new System.Drawing.Point(127, 323);
     txt_CP.MaxLength = 5;
     txt_CP.Name = "txt_CP";
     txt_CP.Size = new System.Drawing.Size(127, 20);
     txt_CP.TabIndex = 24;
     txt_CP.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_CP_KeyPress);
     //
     // txt_Estado
     //
     txt_Estado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Estado.Location = new System.Drawing.Point(127, 298);
     txt_Estado.MaxLength = 30;
     txt_Estado.Name = "txt_Estado";
     txt_Estado.Size = new System.Drawing.Size(127, 20);
     txt_Estado.TabIndex = 23;
     txt_Estado.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Estado_KeyPress);
     //
     // txt_Ciudad
     //
     txt_Ciudad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Ciudad.Location = new System.Drawing.Point(127, 273);
     txt_Ciudad.MaxLength = 30;
     txt_Ciudad.Name = "txt_Ciudad";
     txt_Ciudad.Size = new System.Drawing.Size(127, 20);
     txt_Ciudad.TabIndex = 22;
     txt_Ciudad.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Ciudad_KeyPress);
     //
     // txt_Direccion
     //
     txt_Direccion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Direccion.Location = new System.Drawing.Point(127, 163);
     txt_Direccion.MaxLength = 200;
     txt_Direccion.Multiline = true;
     txt_Direccion.Name = "txt_Direccion";
     txt_Direccion.Size = new System.Drawing.Size(127, 103);
     txt_Direccion.TabIndex = 21;
     //
     // txt_ApellidoM
     //
     txt_ApellidoM.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_ApellidoM.Location = new System.Drawing.Point(127, 138);
     txt_ApellidoM.MaxLength = 15;
     txt_ApellidoM.Name = "txt_ApellidoM";
     txt_ApellidoM.Size = new System.Drawing.Size(127, 20);
     txt_ApellidoM.TabIndex = 20;
     txt_ApellidoM.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_ApellidoM_KeyPress);
     //
     // txt_ApellidoP
     //
     txt_ApellidoP.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_ApellidoP.Location = new System.Drawing.Point(127, 113);
     txt_ApellidoP.MaxLength = 15;
     txt_ApellidoP.Name = "txt_ApellidoP";
     txt_ApellidoP.Size = new System.Drawing.Size(127, 20);
     txt_ApellidoP.TabIndex = 19;
     txt_ApellidoP.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_ApellidoP_KeyPress);
     //
     // txt_Nombre
     //
     txt_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Nombre.Location = new System.Drawing.Point(127, 88);
     txt_Nombre.MaxLength = 25;
     txt_Nombre.Name = "txt_Nombre";
     txt_Nombre.Size = new System.Drawing.Size(127, 20);
     txt_Nombre.TabIndex = 18;
     txt_Nombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Nombre_KeyPress);
     //
     // txt_RazonSocial
     //
     txt_RazonSocial.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_RazonSocial.Location = new System.Drawing.Point(127, 63);
     txt_RazonSocial.MaxLength = 100;
     txt_RazonSocial.Name = "txt_RazonSocial";
     txt_RazonSocial.Size = new System.Drawing.Size(127, 20);
     txt_RazonSocial.TabIndex = 17;
     txt_RazonSocial.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_RazonSocial_KeyPress);
     //
     // txt_RFC
     //
     txt_RFC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_RFC.Location = new System.Drawing.Point(127, 38);
     txt_RFC.MaxLength = 13;
     txt_RFC.Name = "txt_RFC";
     txt_RFC.Size = new System.Drawing.Size(127, 20);
     txt_RFC.TabIndex = 16;
     txt_RFC.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_RFC_KeyPress);
     //
     // lbl_Dias
     //
     lbl_Dias.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Dias.AutoSize = true;
     lbl_Dias.Location = new System.Drawing.Point(28, 478);
     lbl_Dias.Name = "lbl_Dias";
     lbl_Dias.Size = new System.Drawing.Size(80, 13);
     lbl_Dias.TabIndex = 15;
     lbl_Dias.Text = "Días de crédito";
     //
     // lbl_LimiteCredito
     //
     lbl_LimiteCredito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_LimiteCredito.AutoSize = true;
     lbl_LimiteCredito.Location = new System.Drawing.Point(28, 453);
     lbl_LimiteCredito.Name = "lbl_LimiteCredito";
     lbl_LimiteCredito.Size = new System.Drawing.Size(84, 13);
     lbl_LimiteCredito.TabIndex = 14;
     lbl_LimiteCredito.Text = "Limite de crédito";
     //
     // lbl_Saldo
     //
     lbl_Saldo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Saldo.AutoSize = true;
     lbl_Saldo.Location = new System.Drawing.Point(28, 428);
     lbl_Saldo.Name = "lbl_Saldo";
     lbl_Saldo.Size = new System.Drawing.Size(34, 13);
     lbl_Saldo.TabIndex = 13;
     lbl_Saldo.Text = "Saldo";
     //
     // lbl_NombreContacto
     //
     lbl_NombreContacto.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_NombreContacto.AutoSize = true;
     lbl_NombreContacto.Location = new System.Drawing.Point(28, 403);
     lbl_NombreContacto.Name = "lbl_NombreContacto";
     lbl_NombreContacto.Size = new System.Drawing.Size(89, 13);
     lbl_NombreContacto.TabIndex = 12;
     lbl_NombreContacto.Text = "Nombre contacto";
     //
     // lbl_Email
     //
     lbl_Email.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Email.AutoSize = true;
     lbl_Email.Location = new System.Drawing.Point(28, 378);
     lbl_Email.Name = "lbl_Email";
     lbl_Email.Size = new System.Drawing.Size(32, 13);
     lbl_Email.TabIndex = 11;
     lbl_Email.Text = "Email";
     //
     // lbl_Telefono
     //
     lbl_Telefono.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Telefono.AutoSize = true;
     lbl_Telefono.Location = new System.Drawing.Point(28, 353);
     lbl_Telefono.Name = "lbl_Telefono";
     lbl_Telefono.Size = new System.Drawing.Size(49, 13);
     lbl_Telefono.TabIndex = 10;
     lbl_Telefono.Text = "Teléfono";
     //
     // lbl_CP
     //
     lbl_CP.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_CP.AutoSize = true;
     lbl_CP.Location = new System.Drawing.Point(28, 328);
     lbl_CP.Name = "lbl_CP";
     lbl_CP.Size = new System.Drawing.Size(27, 13);
     lbl_CP.TabIndex = 9;
     lbl_CP.Text = "C.P.";
     //
     // lbl_Estado
     //
     lbl_Estado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Estado.AutoSize = true;
     lbl_Estado.Location = new System.Drawing.Point(28, 303);
     lbl_Estado.Name = "lbl_Estado";
     lbl_Estado.Size = new System.Drawing.Size(40, 13);
     lbl_Estado.TabIndex = 8;
     lbl_Estado.Text = "Estado";
     //
     // lbl_Ciudad
     //
     lbl_Ciudad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Ciudad.AutoSize = true;
     lbl_Ciudad.Location = new System.Drawing.Point(28, 278);
     lbl_Ciudad.Name = "lbl_Ciudad";
     lbl_Ciudad.Size = new System.Drawing.Size(40, 13);
     lbl_Ciudad.TabIndex = 7;
     lbl_Ciudad.Text = "Ciudad";
     //
     // lbl_Direccion
     //
     lbl_Direccion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Direccion.AutoSize = true;
     lbl_Direccion.Location = new System.Drawing.Point(28, 167);
     lbl_Direccion.Name = "lbl_Direccion";
     lbl_Direccion.Size = new System.Drawing.Size(52, 13);
     lbl_Direccion.TabIndex = 6;
     lbl_Direccion.Text = "Dirección";
     //
     // lbl_ApellidoM
     //
     lbl_ApellidoM.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_ApellidoM.AutoSize = true;
     lbl_ApellidoM.Location = new System.Drawing.Point(28, 142);
     lbl_ApellidoM.Name = "lbl_ApellidoM";
     lbl_ApellidoM.Size = new System.Drawing.Size(85, 13);
     lbl_ApellidoM.TabIndex = 5;
     lbl_ApellidoM.Text = "Apellido materno";
     //
     // lbl_ApellidoP
     //
     lbl_ApellidoP.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_ApellidoP.AutoSize = true;
     lbl_ApellidoP.Location = new System.Drawing.Point(28, 117);
     lbl_ApellidoP.Name = "lbl_ApellidoP";
     lbl_ApellidoP.Size = new System.Drawing.Size(83, 13);
     lbl_ApellidoP.TabIndex = 4;
     lbl_ApellidoP.Text = "Apellido paterno";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(28, 92);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(47, 13);
     lbl_Nombre.TabIndex = 3;
     lbl_Nombre.Text = "Nombre ";
     //
     // lbl_Razon_Social
     //
     lbl_Razon_Social.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Razon_Social.AutoSize = true;
     lbl_Razon_Social.Location = new System.Drawing.Point(28, 67);
     lbl_Razon_Social.Name = "lbl_Razon_Social";
     lbl_Razon_Social.Size = new System.Drawing.Size(68, 13);
     lbl_Razon_Social.TabIndex = 2;
     lbl_Razon_Social.Text = "Razon social";
     //
     // lbl_RFC
     //
     lbl_RFC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_RFC.AutoSize = true;
     lbl_RFC.Location = new System.Drawing.Point(28, 42);
     lbl_RFC.Name = "lbl_RFC";
     lbl_RFC.Size = new System.Drawing.Size(31, 13);
     lbl_RFC.TabIndex = 1;
     lbl_RFC.Text = "RFC ";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Cliente
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(604, 606);
     Controls.Add(pic_Cliente);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Cliente_FormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.Clientes_ICO;
     MainMenuStrip = menuStrip1;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(600, 620);
     MinimumSize = new System.Drawing.Size(600, 620);
     Name = "Cliente";
     Text = "Cliente";
     Load += new System.EventHandler(Cliente_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Cliente)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxfoto.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 8
0
 /// <summary>
 ///  Required method for Designer support - do not modify
 ///  the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.MenuStrip         menuStrip1;
     System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
     System.Windows.Forms.StatusStrip       statusStrip1;
     System.Windows.Forms.GroupBox          groupBox1;
     this._lstControls  = new System.Windows.Forms.ListBox();
     this._ctrlSplitter = new System.Windows.Forms.SplitContainer();
     this._panContent   = new System.Windows.Forms.GroupBox();
     menuStrip1         = new System.Windows.Forms.MenuStrip();
     toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     statusStrip1       = new System.Windows.Forms.StatusStrip();
     groupBox1          = new System.Windows.Forms.GroupBox();
     menuStrip1.SuspendLayout();
     groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._ctrlSplitter)).BeginInit();
     this._ctrlSplitter.Panel1.SuspendLayout();
     this._ctrlSplitter.Panel2.SuspendLayout();
     this._ctrlSplitter.SuspendLayout();
     this.SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         toolStripMenuItem1
     });
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new System.Drawing.Size(800, 24);
     menuStrip1.TabIndex = 0;
     menuStrip1.Text     = "menuStrip1";
     //
     // toolStripMenuItem1
     //
     toolStripMenuItem1.Name = "toolStripMenuItem1";
     toolStripMenuItem1.Size = new System.Drawing.Size(37, 20);
     toolStripMenuItem1.Text = "File";
     //
     // statusStrip1
     //
     statusStrip1.Location = new System.Drawing.Point(0, 428);
     statusStrip1.Name     = "statusStrip1";
     statusStrip1.Size     = new System.Drawing.Size(800, 22);
     statusStrip1.TabIndex = 1;
     statusStrip1.Text     = "statusStrip1";
     //
     // groupBox1
     //
     groupBox1.Controls.Add(this._lstControls);
     groupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     groupBox1.Location = new System.Drawing.Point(0, 0);
     groupBox1.Name     = "groupBox1";
     groupBox1.Size     = new System.Drawing.Size(266, 404);
     groupBox1.TabIndex = 1;
     groupBox1.TabStop  = false;
     groupBox1.Text     = "Xaml Controls";
     //
     // _lstControls
     //
     this._lstControls.Dock = System.Windows.Forms.DockStyle.Fill;
     this._lstControls.FormattingEnabled = true;
     this._lstControls.ItemHeight        = 15;
     this._lstControls.Location          = new System.Drawing.Point(3, 19);
     this._lstControls.Name                  = "_lstControls";
     this._lstControls.Size                  = new System.Drawing.Size(260, 382);
     this._lstControls.TabIndex              = 0;
     this._lstControls.SelectedIndexChanged += new System.EventHandler(this.OnLstControls_SelectedIndexChanged);
     //
     // _ctrlSplitter
     //
     this._ctrlSplitter.Dock       = System.Windows.Forms.DockStyle.Fill;
     this._ctrlSplitter.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this._ctrlSplitter.Location   = new System.Drawing.Point(0, 24);
     this._ctrlSplitter.Name       = "_ctrlSplitter";
     //
     // _ctrlSplitter.Panel1
     //
     this._ctrlSplitter.Panel1.Controls.Add(groupBox1);
     //
     // _ctrlSplitter.Panel2
     //
     this._ctrlSplitter.Panel2.Controls.Add(this._panContent);
     this._ctrlSplitter.Size             = new System.Drawing.Size(800, 404);
     this._ctrlSplitter.SplitterDistance = 266;
     this._ctrlSplitter.TabIndex         = 2;
     this._ctrlSplitter.Text             = "splitContainer1";
     //
     // _panContent
     //
     this._panContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._panContent.Location = new System.Drawing.Point(0, 0);
     this._panContent.Name     = "_panContent";
     this._panContent.Size     = new System.Drawing.Size(530, 404);
     this._panContent.TabIndex = 0;
     this._panContent.Text     = "-";
     //
     // MainWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this._ctrlSplitter);
     this.Controls.Add(statusStrip1);
     this.Controls.Add(menuStrip1);
     this.MainMenuStrip = menuStrip1;
     this.Name          = "MainWindow";
     this.Text          = "XamlIslands with Windows.Forms";
     this.AutoScaleMode = AutoScaleMode.Dpi;
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     groupBox1.ResumeLayout(false);
     this._ctrlSplitter.Panel1.ResumeLayout(false);
     this._ctrlSplitter.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._ctrlSplitter)).EndInit();
     this._ctrlSplitter.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     groupBox_Datos = new System.Windows.Forms.GroupBox();
     lbl_Fecha = new System.Windows.Forms.Label();
     lbl_Unidad = new System.Windows.Forms.Label();
     lbl_Saldo = new System.Windows.Forms.Label();
     lbl_PrecioVenta = new System.Windows.Forms.Label();
     lbl_PrecioCompra = new System.Windows.Forms.Label();
     lbl_Cantidad = new System.Windows.Forms.Label();
     lbl_Producto = new System.Windows.Forms.Label();
     lbl_Concepto = new System.Windows.Forms.Label();
     lbl_Lote = new System.Windows.Forms.Label();
     lbl_Almacen = new System.Windows.Forms.Label();
     comboBox_Unidad = new System.Windows.Forms.ComboBox();
     dateTimePicker_Fecha = new System.Windows.Forms.DateTimePicker();
     txt_Saldo = new System.Windows.Forms.TextBox();
     txt_PrecioVenta = new System.Windows.Forms.TextBox();
     txt_PrecioCompra = new System.Windows.Forms.TextBox();
     txt_Cantidad = new System.Windows.Forms.TextBox();
     comboBox_Producto = new System.Windows.Forms.ComboBox();
     comboBox_Concepto = new System.Windows.Forms.ComboBox();
     txt_Lote = new System.Windows.Forms.TextBox();
     comboBox_Almacen = new System.Windows.Forms.ComboBox();
     groupBoxInventario = new System.Windows.Forms.GroupBox();
     dataGridViewInventario = new System.Windows.Forms.DataGridView();
     pic_Logo = new System.Windows.Forms.PictureBox();
     Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Producto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Descripción = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Codigo_Barra = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lote = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Unidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidad_Maxima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidad_Minima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     //MENU
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tipo_pieza));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider_Textbox = new System.Windows.Forms.ErrorProvider(components);
     errorProvider_Combobox = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     groupBox_Datos.SuspendLayout();
     groupBoxInventario.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewInventario)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Logo)).BeginInit();
     SuspendLayout();
     #endregion
      menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     //
     // menuStrip1
     //
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Textbox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Combobox)).BeginInit();
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(448, 24);
     menuStrip1.TabIndex = 77;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // groupBox_Datos
     //
     groupBox_Datos.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)));
     groupBox_Datos.Controls.Add(pic_Logo);
     groupBox_Datos.Controls.Add(lbl_Fecha);
     groupBox_Datos.Controls.Add(lbl_Unidad);
     groupBox_Datos.Controls.Add(lbl_Saldo);
     groupBox_Datos.Controls.Add(lbl_PrecioVenta);
     groupBox_Datos.Controls.Add(lbl_PrecioCompra);
     groupBox_Datos.Controls.Add(lbl_Cantidad);
     groupBox_Datos.Controls.Add(lbl_Producto);
     groupBox_Datos.Controls.Add(lbl_Concepto);
     groupBox_Datos.Controls.Add(lbl_Lote);
     groupBox_Datos.Controls.Add(lbl_Almacen);
     groupBox_Datos.Controls.Add(comboBox_Unidad);
     groupBox_Datos.Controls.Add(dateTimePicker_Fecha);
     groupBox_Datos.Controls.Add(txt_Saldo);
     groupBox_Datos.Controls.Add(txt_PrecioVenta);
     groupBox_Datos.Controls.Add(txt_PrecioCompra);
     groupBox_Datos.Controls.Add(txt_Cantidad);
     groupBox_Datos.Controls.Add(comboBox_Producto);
     groupBox_Datos.Controls.Add(comboBox_Concepto);
     groupBox_Datos.Controls.Add(txt_Lote);
     groupBox_Datos.Controls.Add(comboBox_Almacen);
     groupBox_Datos.Location = new System.Drawing.Point(0, 36);
     groupBox_Datos.Name = "groupBox_Datos";
     groupBox_Datos.Size = new System.Drawing.Size(898, 150);
     groupBox_Datos.TabIndex = 0;
     groupBox_Datos.TabStop = false;
     groupBox_Datos.Text = "Datos de Inventario";
     //
     // errorProvider_Textbox
     //
     errorProvider_Textbox.ContainerControl = this;
     //
     // errorProvider_Combobox
     //
     errorProvider_Combobox.ContainerControl = this;
     //
     // lbl_Fecha
     //
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(627, 31);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 19;
     lbl_Fecha.Text = "Fecha";
     //
     // lbl_Unidad
     //
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(436, 31);
     lbl_Unidad.Name = "lbl_Unidad";
     lbl_Unidad.Size = new System.Drawing.Size(41, 13);
     lbl_Unidad.TabIndex = 18;
     lbl_Unidad.Text = "Unidad";
     //
     // lbl_Saldo
     //
     lbl_Saldo.AutoSize = true;
     lbl_Saldo.Location = new System.Drawing.Point(236, 110);
     lbl_Saldo.Name = "lbl_Saldo";
     lbl_Saldo.Size = new System.Drawing.Size(34, 13);
     lbl_Saldo.TabIndex = 17;
     lbl_Saldo.Text = "Saldo";
     //
     // lbl_PrecioVenta
     //
     lbl_PrecioVenta.AutoSize = true;
     lbl_PrecioVenta.Location = new System.Drawing.Point(236, 83);
     lbl_PrecioVenta.Name = "lbl_PrecioVenta";
     lbl_PrecioVenta.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVenta.TabIndex = 16;
     lbl_PrecioVenta.Text = "Precio venta";
     //
     // lbl_PrecioCompra
     //
     lbl_PrecioCompra.AutoSize = true;
     lbl_PrecioCompra.Location = new System.Drawing.Point(236, 57);
     lbl_PrecioCompra.Name = "lbl_PrecioCompra";
     lbl_PrecioCompra.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioCompra.TabIndex = 15;
     lbl_PrecioCompra.Text = "Precio compra";
     //
     // lbl_Cantidad
     //
     lbl_Cantidad.AutoSize = true;
     lbl_Cantidad.Location = new System.Drawing.Point(236, 32);
     lbl_Cantidad.Name = "lbl_Cantidad";
     lbl_Cantidad.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad.TabIndex = 14;
     lbl_Cantidad.Text = "Cantidad";
     //
     // lbl_Producto
     //
     lbl_Producto.AutoSize = true;
     lbl_Producto.Location = new System.Drawing.Point(24, 113);
     lbl_Producto.Name = "lbl_Producto";
     lbl_Producto.Size = new System.Drawing.Size(50, 13);
     lbl_Producto.TabIndex = 13;
     lbl_Producto.Text = "Producto";
     //
     // lbl_Concepto
     //
     lbl_Concepto.AutoSize = true;
     lbl_Concepto.Location = new System.Drawing.Point(24, 85);
     lbl_Concepto.Name = "lbl_Concepto";
     lbl_Concepto.Size = new System.Drawing.Size(53, 13);
     lbl_Concepto.TabIndex = 12;
     lbl_Concepto.Text = "Concepto";
     //
     // lbl_Lote
     //
     lbl_Lote.AutoSize = true;
     lbl_Lote.Location = new System.Drawing.Point(24, 57);
     lbl_Lote.Name = "lbl_Lote";
     lbl_Lote.Size = new System.Drawing.Size(28, 13);
     lbl_Lote.TabIndex = 11;
     lbl_Lote.Text = "Lote";
     //
     // lbl_Almacen
     //
     lbl_Almacen.AutoSize = true;
     lbl_Almacen.Location = new System.Drawing.Point(24, 32);
     lbl_Almacen.Name = "lbl_Almacen";
     lbl_Almacen.Size = new System.Drawing.Size(48, 13);
     lbl_Almacen.TabIndex = 10;
     lbl_Almacen.Text = "Almacén";
     //
     // comboBox_Unidad
     //
     comboBox_Unidad.FormattingEnabled = true;
     comboBox_Unidad.Location = new System.Drawing.Point(483, 28);
     comboBox_Unidad.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Unidad.Name = "comboBox_Unidad";
     comboBox_Unidad.Size = new System.Drawing.Size(121, 21);
     comboBox_Unidad.TabIndex = 9;
     //
     // dateTimePicker_Fecha
     //
     dateTimePicker_Fecha.Location = new System.Drawing.Point(685, 29);
     dateTimePicker_Fecha.Name = "dateTimePicker_Fecha";
     dateTimePicker_Fecha.Size = new System.Drawing.Size(200, 20);
     dateTimePicker_Fecha.TabIndex = 8;
     //
     // txt_Saldo
     //
     txt_Saldo.Enabled = false;
     txt_Saldo.Location = new System.Drawing.Point(319, 106);
     txt_Saldo.Name = "txt_Saldo";
     txt_Saldo.Size = new System.Drawing.Size(100, 20);
     txt_Saldo.TabIndex = 7;
     //
     // txt_PrecioVenta
     //
     txt_PrecioVenta.Location = new System.Drawing.Point(319, 80);
     txt_PrecioVenta.Name = "txt_PrecioVenta";
     txt_PrecioVenta.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVenta.TabIndex = 6;
     txt_PrecioVenta.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_LimiteCredito_KeyPress);
     //
     // txt_PrecioCompra
     //
     txt_PrecioCompra.Location = new System.Drawing.Point(319, 54);
     txt_PrecioCompra.Name = "txt_PrecioCompra";
     txt_PrecioCompra.Size = new System.Drawing.Size(100, 20);
     txt_PrecioCompra.TabIndex = 5;
     txt_PrecioCompra.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_LimiteCredito_KeyPress);
     //
     // txt_Cantidad
     //
     txt_Cantidad.Location = new System.Drawing.Point(319, 29);
     txt_Cantidad.MaxLength = 9;
     txt_Cantidad.Name = "txt_Cantidad";
     txt_Cantidad.Size = new System.Drawing.Size(100, 20);
     txt_Cantidad.TabIndex = 4;
     txt_Cantidad.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_LimiteCredito_KeyPress);
     //
     // comboBox_Producto
     //
     comboBox_Producto.FormattingEnabled = true;
     comboBox_Producto.Location = new System.Drawing.Point(102, 107);
     comboBox_Producto.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Producto.Name = "comboBox_Producto";
     comboBox_Producto.Size = new System.Drawing.Size(121, 21);
     comboBox_Producto.TabIndex = 3;
     //
     // comboBox_Concepto
     //
     comboBox_Concepto.FormattingEnabled = true;
     comboBox_Concepto.Location = new System.Drawing.Point(102, 80);
     comboBox_Concepto.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Concepto.Name = "comboBox_Concepto";
     comboBox_Concepto.Size = new System.Drawing.Size(121, 21);
     comboBox_Concepto.TabIndex = 2;
     //
     // txt_Lote
     //
     txt_Lote.Location = new System.Drawing.Point(102, 54);
     txt_Lote.MaxLength = 14;
     txt_Lote.Name = "txt_Lote";
     txt_Lote.Size = new System.Drawing.Size(100, 20);
     txt_Lote.TabIndex = 1;
     txt_Lote.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Lote_KeyPress);
     //
     // comboBox_Almacen
     //
     comboBox_Almacen.FormattingEnabled = true;
     comboBox_Almacen.Location = new System.Drawing.Point(102, 28);
     comboBox_Almacen.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Almacen.Name = "comboBox_Almacen";
     comboBox_Almacen.Size = new System.Drawing.Size(121, 21);
     comboBox_Almacen.TabIndex = 0;
     //
     // groupBoxInventario
     //
     groupBoxInventario.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)));
     groupBoxInventario.Controls.Add(dataGridViewInventario);
     groupBoxInventario.Location = new System.Drawing.Point(0, 192);
     groupBoxInventario.Name = "groupBoxInventario";
     groupBoxInventario.Size = new System.Drawing.Size(898, 376);
     groupBoxInventario.TabIndex = 1;
     groupBoxInventario.TabStop = false;
     groupBoxInventario.Text = "Inventario";
     //
     // dataGridViewInventario
     //
     dataGridViewInventario.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
     dataGridViewInventario.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewInventario.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id,
     Producto,
     Descripción,
     Codigo_Barra,
     Lote,
     Cantidad,
     //Unidad,
     Cantidad_Maxima,
     Cantidad_Minima});
     dataGridViewInventario.Dock = System.Windows.Forms.DockStyle.Fill;
     dataGridViewInventario.Location = new System.Drawing.Point(3, 16);
     dataGridViewInventario.Name = "dataGridViewInventario";
     dataGridViewInventario.Size = new System.Drawing.Size(892, 357);
     dataGridViewInventario.TabIndex = 0;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(690, 65);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(175, 75);
     pic_Logo.TabIndex = 33;
     pic_Logo.TabStop = false;
     //
     // Id
     //
     Id.HeaderText = "Id";
     Id.Name = "Id";
     Id.Visible = false;
     Id.Width = 41;
     //
     // Producto
     //
     Producto.HeaderText = "Producto";
     Producto.Name = "Producto";
     Producto.Width = 75;
     //
     // Descripción
     //
     Descripción.HeaderText = "Descripción";
     Descripción.Name = "Descripción";
     Descripción.Width = 88;
     //
     // Codigo_Barra
     //
     Codigo_Barra.HeaderText = "Codigo de barra";
     Codigo_Barra.Name = "Codigo_Barra";
     Codigo_Barra.Width = 77;
     //
     // Lote
     //
     Lote.HeaderText = "Lote";
     Lote.Name = "Lote";
     Lote.Width = 53;
     //
     // Cantidad
     //
     Cantidad.HeaderText = "Cantidad";
     Cantidad.Name = "Cantidad";
     Cantidad.Width = 74;
     //
     // Unidad
     //
     Unidad.HeaderText = "Unidad";
     Unidad.Name = "Unidad";
     Unidad.Width = 74;
     //
     // Cantidad_Maxima
     //
     Cantidad_Maxima.HeaderText = "Cantidad maxima";
     Cantidad_Maxima.Name = "Cantidad_Maxima";
     Cantidad_Maxima.Width = 103;
     //
     // Cantidad_Minima
     //
     Cantidad_Minima.HeaderText = "Cantidad minima";
     Cantidad_Minima.Name = "Cantidad_Minima";
     //
     // Inventario
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(897, 567);
     Controls.Add(groupBoxInventario);
     Controls.Add(menuStrip1);
     Controls.Add(groupBox_Datos);
     Icon = global::Sistema_Shajobe.Properties.Resources.Inventario_ICO;
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Inventario_FormClosing);
     MinimumSize = new System.Drawing.Size(913, 605);
     MaximumSize = new System.Drawing.Size(913, 605);
     MaximizeBox = false;
     Name = "InventarioProducto";
     Text = "Inventario producto";
     WindowState = System.Windows.Forms.FormWindowState.Normal;
     groupBox_Datos.ResumeLayout(false);
     groupBox_Datos.PerformLayout();
     groupBoxInventario.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dataGridViewInventario)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Logo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Textbox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Combobox)).EndInit();
     ResumeLayout(false);
 }
Ejemplo n.º 10
0
        //private TextBox _textBox;
        private void CreateControls()
        {
            // backColor: Color.DodgerBlue
            _topToolsPanel = zForm.CreatePanel(dockStyle: DockStyle.Top, height: 35);
            _topToolsPanel.SuspendLayout();

            //_editPanel = zForm.CreatePanel(dockStyle: DockStyle.Top, backColor: Color.DeepPink, height: 300);
            _editPanel = zForm.CreatePanel(dockStyle: DockStyle.Top, height: 300);
            _editPanel.SuspendLayout();
            //_textBox = zForm.CreateTextBox(dockStyle: DockStyle.Fill, multiline: true);
            //_editPanel.Controls.Add(_textBox);

            //_bottomPanel = zForm.CreatePanel(DockStyle.Fill, Color.Brown);
            //_bottomPanel.SuspendLayout();
            //_resultTab = CreateResultTab();
            // Color.Transparent
            _resultTab = PanelTabControl.Create(DockStyle.Fill);
            _resultTab.SuspendLayout();

            //_statusPanel = zForm.CreatePanel(DockStyle.Bottom, Color.Chocolate, height: 20);
            //_statusPanel.SuspendLayout();
            //_bottomToolsPanel = CreateBottomToolsPanel();
            _bottomToolStrip = new ToolStrip();
            _bottomToolStrip.SuspendLayout();
            //backColor: Color.Chocolate
            _bottomToolsPanel = zForm.CreatePanel(dockStyle: DockStyle.Bottom, height: 20);
            _bottomToolsPanel.SuspendLayout();
            _bottomToolsPanel.Controls.Add(_bottomToolStrip);

            MenuStrip menu = new MenuStrip();
            menu.SuspendLayout();
            this.MainMenuStrip = menu;
        }
Ejemplo n.º 11
0
 private void Diseño_Forma()
 {
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Abono));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     groupBox = new System.Windows.Forms.GroupBox();
     bttn_Abono = new System.Windows.Forms.Button();
     groupBox_listaAbonos = new System.Windows.Forms.GroupBox();
     dataGridView_Abonos = new System.Windows.Forms.DataGridView();
     lbl_Nombre = new System.Windows.Forms.Label();
     lbl_ApellidoP = new System.Windows.Forms.Label();
     lbl_ApellidoM = new System.Windows.Forms.Label();
     lbl_Saldo = new System.Windows.Forms.Label();
     lbl_LimiteCredito = new System.Windows.Forms.Label();
     lbl_Dias = new System.Windows.Forms.Label();
     lbl_Abono = new System.Windows.Forms.Label();
     txt_Nombre = new System.Windows.Forms.TextBox();
     txt_ApellidoP = new System.Windows.Forms.TextBox();
     txt_ApellidoM = new System.Windows.Forms.TextBox();
     txt_Saldo = new System.Windows.Forms.TextBox();
     txt_LimiteCredito = new System.Windows.Forms.TextBox();
     txt_Dias = new System.Windows.Forms.TextBox();
     txt_Abono = new System.Windows.Forms.TextBox();
     groupBoxLista_Clientes = new System.Windows.Forms.GroupBox();
     dataGridView_Clientes = new System.Windows.Forms.DataGridView();
     Id_Cliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Apellido_P = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Apellido_M = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Limite_Credito = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Dias_Credito = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Saldo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     pictureBox_Logo = new System.Windows.Forms.PictureBox();
     dateTimePicker_FechaAbono = new System.Windows.Forms.DateTimePicker();
     lbl_Fecha = new System.Windows.Forms.Label();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     groupBox.SuspendLayout();
     groupBox_listaAbonos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Abonos)).BeginInit();
     groupBoxLista_Clientes.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Clientes)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pictureBox_Logo)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(867, 24);
     menuStrip1.TabIndex = 5;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(149, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // groupBox
     //
     groupBox.Controls.Add(lbl_Fecha);
     groupBox.Controls.Add(dateTimePicker_FechaAbono);
     groupBox.Controls.Add(bttn_Abono);
     groupBox.Controls.Add(groupBox_listaAbonos);
     groupBox.Controls.Add(lbl_Nombre);
     groupBox.Controls.Add(lbl_ApellidoP);
     groupBox.Controls.Add(lbl_ApellidoM);
     groupBox.Controls.Add(lbl_Saldo);
     groupBox.Controls.Add(lbl_LimiteCredito);
     groupBox.Controls.Add(lbl_Dias);
     groupBox.Controls.Add(lbl_Abono);
     groupBox.Controls.Add(txt_Nombre);
     groupBox.Controls.Add(txt_ApellidoP);
     groupBox.Controls.Add(txt_ApellidoM);
     groupBox.Controls.Add(txt_Saldo);
     groupBox.Controls.Add(txt_LimiteCredito);
     groupBox.Controls.Add(txt_Dias);
     groupBox.Controls.Add(txt_Abono);
     groupBox.Controls.Add(groupBoxLista_Clientes);
     groupBox.Location = new System.Drawing.Point(1, 22);
     groupBox.Name = "groupBox";
     groupBox.Size = new System.Drawing.Size(867, 364);
     groupBox.TabIndex = 6;
     groupBox.TabStop = false;
     //
     // bttn_Abono
     //
     bttn_Abono.Location = new System.Drawing.Point(439, 326);
     bttn_Abono.Name = "bttn_Abono";
     bttn_Abono.Size = new System.Drawing.Size(75, 23);
     bttn_Abono.TabIndex = 39;
     bttn_Abono.Text = "Abonar";
     bttn_Abono.UseVisualStyleBackColor = true;
     bttn_Abono.Click += new System.EventHandler(bttn_Abono_Click);
     //
     // groupBox_listaAbonos
     //
     groupBox_listaAbonos.Controls.Add(dataGridView_Abonos);
     groupBox_listaAbonos.Location = new System.Drawing.Point(541, 27);
     groupBox_listaAbonos.Name = "groupBox_listaAbonos";
     groupBox_listaAbonos.Size = new System.Drawing.Size(257, 325);
     groupBox_listaAbonos.TabIndex = 26;
     groupBox_listaAbonos.TabStop = false;
     groupBox_listaAbonos.Text = "Lista de abonos anteriores";
     //
     // dataGridView_Abonos
     //
     dataGridView_Abonos.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Abonos.Dock = System.Windows.Forms.DockStyle.Fill;
     dataGridView_Abonos.Location = new System.Drawing.Point(3, 16);
     dataGridView_Abonos.Name = "dataGridView_Abonos";
     dataGridView_Abonos.Size = new System.Drawing.Size(251, 306);
     dataGridView_Abonos.TabIndex = 6;
     //
     // lbl_Nombre
     //
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(298, 43);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 22;
     lbl_Nombre.Text = "Nombre";
     //
     // lbl_ApellidoP
     //
     lbl_ApellidoP.AutoSize = true;
     lbl_ApellidoP.Location = new System.Drawing.Point(298, 77);
     lbl_ApellidoP.Name = "lbl_ApellidoP";
     lbl_ApellidoP.Size = new System.Drawing.Size(83, 13);
     lbl_ApellidoP.TabIndex = 25;
     lbl_ApellidoP.Text = "Apellido paterno";
     //
     // lbl_ApellidoM
     //
     lbl_ApellidoM.AutoSize = true;
     lbl_ApellidoM.Location = new System.Drawing.Point(298, 111);
     lbl_ApellidoM.Name = "lbl_ApellidoM";
     lbl_ApellidoM.Size = new System.Drawing.Size(85, 13);
     lbl_ApellidoM.TabIndex = 27;
     lbl_ApellidoM.Text = "Apellido materno";
     //
     // lbl_Saldo
     //
     lbl_Saldo.AutoSize = true;
     lbl_Saldo.Location = new System.Drawing.Point(298, 150);
     lbl_Saldo.Name = "lbl_Saldo";
     lbl_Saldo.Size = new System.Drawing.Size(34, 13);
     lbl_Saldo.TabIndex = 28;
     lbl_Saldo.Text = "Saldo";
     //
     // lbl_LimiteCredito
     //
     lbl_LimiteCredito.AutoSize = true;
     lbl_LimiteCredito.Location = new System.Drawing.Point(298, 187);
     lbl_LimiteCredito.Name = "lbl_LimiteCredito";
     lbl_LimiteCredito.Size = new System.Drawing.Size(84, 13);
     lbl_LimiteCredito.TabIndex = 29;
     lbl_LimiteCredito.Text = "Limite de credito";
     //
     // lbl_Dias
     //
     lbl_Dias.AutoSize = true;
     lbl_Dias.Location = new System.Drawing.Point(298, 224);
     lbl_Dias.Name = "lbl_Dias";
     lbl_Dias.Size = new System.Drawing.Size(78, 13);
     lbl_Dias.TabIndex = 30;
     lbl_Dias.Text = "Dias de credito";
     //
     // lbl_Abono
     //
     lbl_Abono.AutoSize = true;
     lbl_Abono.Location = new System.Drawing.Point(298, 261);
     lbl_Abono.Name = "lbl_Abono";
     lbl_Abono.Size = new System.Drawing.Size(47, 13);
     lbl_Abono.TabIndex = 31;
     lbl_Abono.Text = "Abono $";
     //
     // txt_Nombre
     //
     txt_Nombre.Enabled = false;
     txt_Nombre.Location = new System.Drawing.Point(414, 36);
     txt_Nombre.Name = "txt_Nombre";
     txt_Nombre.Size = new System.Drawing.Size(100, 20);
     txt_Nombre.TabIndex = 32;
     //
     // txt_ApellidoP
     //
     txt_ApellidoP.Enabled = false;
     txt_ApellidoP.Location = new System.Drawing.Point(414, 70);
     txt_ApellidoP.Name = "txt_ApellidoP";
     txt_ApellidoP.Size = new System.Drawing.Size(100, 20);
     txt_ApellidoP.TabIndex = 33;
     //
     // txt_ApellidoM
     //
     txt_ApellidoM.Enabled = false;
     txt_ApellidoM.Location = new System.Drawing.Point(414, 104);
     txt_ApellidoM.Name = "txt_ApellidoM";
     txt_ApellidoM.Size = new System.Drawing.Size(100, 20);
     txt_ApellidoM.TabIndex = 34;
     //
     // txt_Saldo
     //
     txt_Saldo.Enabled = false;
     txt_Saldo.Location = new System.Drawing.Point(414, 143);
     txt_Saldo.Name = "txt_Saldo";
     txt_Saldo.Size = new System.Drawing.Size(100, 20);
     txt_Saldo.TabIndex = 35;
     //
     // txt_LimiteCredito
     //
     txt_LimiteCredito.Enabled = false;
     txt_LimiteCredito.Location = new System.Drawing.Point(414, 180);
     txt_LimiteCredito.Name = "txt_LimiteCredito";
     txt_LimiteCredito.Size = new System.Drawing.Size(100, 20);
     txt_LimiteCredito.TabIndex = 36;
     //
     // txt_Dias
     //
     txt_Dias.Enabled = false;
     txt_Dias.Location = new System.Drawing.Point(414, 217);
     txt_Dias.Name = "txt_Dias";
     txt_Dias.Size = new System.Drawing.Size(100, 20);
     txt_Dias.TabIndex = 37;
     //
     // txt_Abono
     //
     txt_Abono.Location = new System.Drawing.Point(414, 254);
     txt_Abono.MaxLength = 9;
     txt_Abono.Name = "txt_Abono";
     txt_Abono.Size = new System.Drawing.Size(100, 20);
     txt_Abono.TabIndex = 38;
     //
     // groupBoxLista_Clientes
     //
     groupBoxLista_Clientes.Controls.Add(dataGridView_Clientes);
     groupBoxLista_Clientes.Location = new System.Drawing.Point(11, 27);
     groupBoxLista_Clientes.Name = "groupBoxLista_Clientes";
     groupBoxLista_Clientes.Size = new System.Drawing.Size(257, 325);
     groupBoxLista_Clientes.TabIndex = 24;
     groupBoxLista_Clientes.TabStop = false;
     groupBoxLista_Clientes.Text = "Lista de clientes";
     //
     // dataGridView_Clientes
     //
     dataGridView_Clientes.AllowUserToAddRows = false;
     dataGridView_Clientes.AllowUserToDeleteRows = false;
     dataGridView_Clientes.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridView_Clientes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Clientes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_Cliente,
     Nombre,
     Apellido_P,
     Apellido_M,
     Limite_Credito,
     Dias_Credito,
     Saldo});
     dataGridView_Clientes.Dock = System.Windows.Forms.DockStyle.Fill;
     dataGridView_Clientes.Location = new System.Drawing.Point(3, 16);
     dataGridView_Clientes.Name = "dataGridView_Clientes";
     dataGridView_Clientes.ReadOnly = true;
     dataGridView_Clientes.Size = new System.Drawing.Size(251, 306);
     dataGridView_Clientes.TabIndex = 6;
     dataGridView_Clientes.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(dataGridView_Clientes_MouseDoubleClick);
     //
     // Id_Cliente
     //
     Id_Cliente.HeaderText = "Id_Cliente";
     Id_Cliente.Name = "Id_Cliente";
     Id_Cliente.ReadOnly = true;
     Id_Cliente.Visible = false;
     //
     // Nombre
     //
     Nombre.HeaderText = "Nombre";
     Nombre.Name = "Nombre";
     Nombre.ReadOnly = true;
     //
     // Apellido_P
     //
     Apellido_P.HeaderText = "Apellido_P";
     Apellido_P.Name = "Apellido_P";
     Apellido_P.ReadOnly = true;
     //
     // Apellido_M
     //
     Apellido_M.HeaderText = "Apellido_M";
     Apellido_M.Name = "Apellido_M";
     Apellido_M.ReadOnly = true;
     //
     // Limite_Credito
     //
     Limite_Credito.HeaderText = "Limite_Credito";
     Limite_Credito.Name = "Limite_Credito";
     Limite_Credito.ReadOnly = true;
     Limite_Credito.Visible = false;
     //
     // Dias_Credito
     //
     Dias_Credito.HeaderText = "Dias_Credito";
     Dias_Credito.Name = "Dias_Credito";
     Dias_Credito.ReadOnly = true;
     Dias_Credito.Visible = false;
     //
     // Saldo
     //
     Saldo.HeaderText = "Saldo";
     Saldo.Name = "Saldo";
     Saldo.ReadOnly = true;
     Saldo.Visible = false;
     //
     // pictureBox_Logo
     //
     pictureBox_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Modificar;
     pictureBox_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pictureBox_Logo.Location = new System.Drawing.Point(799, 22);
     pictureBox_Logo.Name = "pictureBox_Logo";
     pictureBox_Logo.Size = new System.Drawing.Size(65, 44);
     pictureBox_Logo.TabIndex = 24;
     pictureBox_Logo.TabStop = false;
     //
     // dateTimePicker_FechaAbono
     //
     dateTimePicker_FechaAbono.Location = new System.Drawing.Point(314, 300);
     dateTimePicker_FechaAbono.Name = "dateTimePicker_FechaAbono";
     dateTimePicker_FechaAbono.Size = new System.Drawing.Size(200, 20);
     dateTimePicker_FechaAbono.TabIndex = 40;
     //
     // lbl_Fecha
     //
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(376, 283);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(85, 13);
     lbl_Fecha.TabIndex = 41;
     lbl_Fecha.Text = "Fecha de abono";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Abono
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(867, 389);
     Controls.Add(pictureBox_Logo);
     Controls.Add(groupBox);
     Controls.Add(menuStrip1);
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(873, 413);
     MinimumSize = new System.Drawing.Size(873, 413);
     Icon = global::Shajobe.Properties.Resources.Caja_ICO;
     Name = "Abono";
     Text = "Abono";
     Load += new System.EventHandler(Abono_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     groupBox.ResumeLayout(false);
     groupBox.PerformLayout();
     groupBox_listaAbonos.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Abonos)).EndInit();
     groupBoxLista_Clientes.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Clientes)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pictureBox_Logo)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 12
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tipo_pieza));
     groupBoxdatos              = new System.Windows.Forms.GroupBox();
     txt_Descripcion            = new System.Windows.Forms.TextBox();
     txt_Nombre                 = new System.Windows.Forms.TextBox();
     txt_Lote                   = new System.Windows.Forms.TextBox();
     lbl_Descripcion            = new System.Windows.Forms.Label();
     lbl_Nombre                 = new System.Windows.Forms.Label();
     lbl_Lote                   = new System.Windows.Forms.Label();
     menuStrip1                 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator         = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1        = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider1             = new System.Windows.Forms.ErrorProvider(components);
     Pic_Tipopieza              = new System.Windows.Forms.PictureBox();
     groupBoxdatos.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(Pic_Tipopieza)).BeginInit();
     SuspendLayout();
     pic_Logo                   = new System.Windows.Forms.PictureBox();
     components                 = new System.ComponentModel.Container();
     groupBoxdatos              = new System.Windows.Forms.GroupBox();
     txt_Descripcion            = new System.Windows.Forms.TextBox();
     txt_Nombre                 = new System.Windows.Forms.TextBox();
     txt_Lote                   = new System.Windows.Forms.TextBox();
     lbl_Descripcion            = new System.Windows.Forms.Label();
     lbl_Nombre                 = new System.Windows.Forms.Label();
     lbl_Lote                   = new System.Windows.Forms.Label();
     menuStrip1                 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator         = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1        = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider1             = new System.Windows.Forms.ErrorProvider(components);
     Pic_Tipopieza              = new System.Windows.Forms.PictureBox();
     groupBoxdatos.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(Pic_Tipopieza)).BeginInit();
     SuspendLayout();
     #endregion
     //
     // groupBoxdatos
     //
     groupBoxdatos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     groupBoxdatos.Controls.Add(txt_Descripcion);
     groupBoxdatos.Controls.Add(txt_Nombre);
     groupBoxdatos.Controls.Add(txt_Lote);
     groupBoxdatos.Controls.Add(lbl_Descripcion);
     groupBoxdatos.Controls.Add(lbl_Nombre);
     groupBoxdatos.Controls.Add(lbl_Lote);
     groupBoxdatos.Location = new System.Drawing.Point(11, 60);
     groupBoxdatos.Name     = "groupBoxdatos";
     groupBoxdatos.Size     = new System.Drawing.Size(418, 150);
     groupBoxdatos.TabIndex = 75;
     groupBoxdatos.TabStop  = false;
     groupBoxdatos.Text     = "Datos de tipo de piezas";
     //
     // txt_Descripcion
     //
     txt_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
     txt_Descripcion.Location  = new System.Drawing.Point(126, 87);
     txt_Descripcion.MaxLength = 50;
     txt_Descripcion.Name      = "txt_Descripcion";
     txt_Descripcion.Size      = new System.Drawing.Size(270, 40);
     txt_Descripcion.TabIndex  = 73;
     txt_Descripcion.Multiline = true;
     txt_Descripcion.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Descripcion_KeyPress);
     //
     // txt_Nombre
     //
     txt_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)));
     txt_Nombre.Location  = new System.Drawing.Point(126, 62);
     txt_Nombre.MaxLength = 25;
     txt_Nombre.Name      = "txt_Nombre";
     txt_Nombre.Size      = new System.Drawing.Size(127, 20);
     txt_Nombre.TabIndex  = 72;
     txt_Nombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Nombre_KeyPress);
     //
     // txt_Lote
     //
     txt_Lote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                             | System.Windows.Forms.AnchorStyles.Left)));
     txt_Lote.Location  = new System.Drawing.Point(126, 37);
     txt_Lote.Name      = "txt_Lote";
     txt_Lote.MaxLength = 2;
     txt_Lote.Size      = new System.Drawing.Size(127, 20);
     txt_Lote.TabIndex  = 70;
     txt_Lote.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Lote_KeyPress);
     //
     // lbl_Descripcion
     //
     lbl_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Descripcion.AutoSize = true;
     lbl_Descripcion.Location = new System.Drawing.Point(27, 91);
     lbl_Descripcion.Name     = "lbl_Descripcion";
     lbl_Descripcion.Size     = new System.Drawing.Size(34, 13);
     lbl_Descripcion.TabIndex = 71;
     lbl_Descripcion.Text     = "Descripción";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(27, 66);
     lbl_Nombre.Name     = "lbl_Nombre";
     lbl_Nombre.Size     = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 69;
     lbl_Nombre.Text     = "Nombre";
     //
     // lbl_Lote
     //
     lbl_Lote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                             | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Lote.AutoSize = true;
     lbl_Lote.Location = new System.Drawing.Point(28, 44);
     lbl_Lote.Name     = "lbl_Lote";
     lbl_Lote.Size     = new System.Drawing.Size(34, 13);
     lbl_Lote.TabIndex = 68;
     lbl_Lote.Text     = "Numero de Lote";
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         archivoToolStripMenuItem,
         editarToolStripMenuItem,
         ayudaToolStripMenuItem
     });
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new System.Drawing.Size(448, 24);
     menuStrip1.TabIndex = 77;
     menuStrip1.Text     = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         nuevoToolStripMenuItem,
         abrirToolStripMenuItem,
         toolStripSeparator,
         guardarToolStripMenuItem,
         toolStripSeparator1,
         salirToolStripMenuItem
     });
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name         = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size         = new System.Drawing.Size(151, 22);
     nuevoToolStripMenuItem.Text         = "&Nuevo";
     nuevoToolStripMenuItem.Click       += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name         = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size         = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text         = "&Abrir";
     abrirToolStripMenuItem.Click       += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name         = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size         = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text         = "&Guardar";
     guardarToolStripMenuItem.Click       += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name   = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size   = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text   = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         modificarToolStripMenuItem,
         eliminarToolStripMenuItem
     });
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image   = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name    = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size    = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text    = "Modificar";
     modificarToolStripMenuItem.Click  += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image   = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name    = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size    = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text    = "Eliminar";
     eliminarToolStripMenuItem.Visible = false;
     eliminarToolStripMenuItem.Click  += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         acercadeToolStripMenuItem
     });
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Pic_Tipopieza
     //
     Pic_Tipopieza.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     Pic_Tipopieza.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     Pic_Tipopieza.Location = new System.Drawing.Point(351, 25);
     Pic_Tipopieza.Name     = "Pic_Tipopieza";
     Pic_Tipopieza.Size     = new System.Drawing.Size(85, 67);
     Pic_Tipopieza.TabIndex = 79;
     Pic_Tipopieza.TabStop  = false;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(280, 200);
     pic_Logo.Name     = "pic_Logo";
     pic_Logo.Size     = new System.Drawing.Size(152, 70);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop  = false;
     pic_Logo.SendToBack();
     //
     // Tipo de pieza
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize          = new System.Drawing.Size(448, 284);
     Controls.Add(Pic_Tipopieza);
     Controls.Add(menuStrip1);
     Controls.Add(pic_Logo);
     Controls.Add(groupBoxdatos);
     BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     FormClosing  += new System.Windows.Forms.FormClosingEventHandler(Tipo_PiezaFormClosing);
     Icon          = global::Sistema_Shajobe.Properties.Resources.MateriaPrima_ICO;
     MaximizeBox   = false;
     MaximumSize   = new System.Drawing.Size(454, 306);
     MinimumSize   = new System.Drawing.Size(454, 306);
     Name          = "TipoPieza";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text          = "Tipo de Pieza";
     Load         += new System.EventHandler(Tipo_pieza_Load);
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(Pic_Tipopieza)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 13
0
        private void InitializeComponent()
        {
            //this.components = new System.ComponentModel.Container();
            this.SuspendLayout();

            #region Bars
            // Component init for various toolbars

            // Status Bar
            // Bottom bar of application
            statusBar = new StatusStrip();
            statusBar.Name = "statusBar";
            statusBar.Location = new Point(0, 590);

            // Tool Bar
            // Main toolbar
            toolStrip = new ToolStrip();
            toolStrip.Location = new Point(0, 24);
            toolStrip.Name = "toolStrip";
            toolStrip.Items.Add("Write Tag", null, click_write_tag);
            toolStrip.Items.Add("Tag from File", null, click_tag_from_file);
            toolStrip.Items.Add("Tag from Filename", null, click_tag_from_filename);

            // Menu Bar
            // Top bar of application
            menuBar = new MenuStrip();
            menuBar.SuspendLayout();
            menuBar.Name = "menuBar";
            menuBar.Location = new Point(0, 0);

            #region Menu Bar Items

            //  File
            mb_file = new ToolStripMenuItem();
            mb_file.Name = "mb_file";
            mb_file.Text = "File";

            //      Open
            mb_file_open = new ToolStripMenuItem();
            mb_file_open.Name = "mb_file_open";
            mb_file_open.Text = "Open File(s)";
            mb_file_open.Click += new EventHandler(mb_file_open_Click);

            //      Exit
            mb_file_exit = new ToolStripMenuItem();
            mb_file_exit.Name = "mb_file_exit";
            mb_file_exit.Text = "Exit";
            mb_file_exit.Click += new EventHandler(mb_file_exit_Click);

            mb_file.DropDownItems.AddRange(new ToolStripItem[] {
                mb_file_open,
                mb_file_exit});

            // View
            mb_view = new ToolStripMenuItem();
            mb_view.Name = "mb_view";
            mb_view.Text = "View";

            //      Columns
            mb_view_columns = new ToolStripMenuItem();
            mb_view_columns.Name = "mb_view_columns";
            mb_view_columns.Text = "Columns...";
            mb_view_columns.Click += new EventHandler(mb_view_columns_Click);

            mb_view.DropDownItems.AddRange(new ToolStripItem[] {
                mb_view_columns});

            //  Help
            mb_help = new ToolStripMenuItem();
            mb_help.Name = "mb_help";
            mb_help.Text = "Help";

            //      About
            mb_help_about = new ToolStripMenuItem();
            mb_help_about.Name = "mb_help";
            mb_help_about.Text = "About";

            mb_help.DropDownItems.AddRange(new ToolStripItem[] {
                mb_help_about});

            menuBar.Items.AddRange(new ToolStripItem[] {
                mb_file,
                mb_view,
                mb_help});

            #endregion

            #endregion

            #region Main Interface
            // Main window components

            // Main window splitter
            mainSplit = new SplitContainer();
            ((System.ComponentModel.ISupportInitialize)(mainSplit)).BeginInit();
            mainSplit.Panel1.SuspendLayout();
            mainSplit.Panel2.SuspendLayout();
            mainSplit.SuspendLayout();

            mainSplit.BorderStyle = BorderStyle.Fixed3D;
            mainSplit.Dock = DockStyle.Fill;
            mainSplit.FixedPanel = FixedPanel.Panel1;
            mainSplit.Location = new Point(0, 49);
            mainSplit.Name = "mainSplit";

            // Control Side
            mainSplit.Panel1MinSize = 300;

            // File Side
            mainSplit.Panel2.Controls.Add(fileList);
            mainSplit.Size = new Size(984, 541);
            mainSplit.SplitterDistance = 300;
            mainSplit.TabIndex = 3;

            // File tag controls
            controlGrid = new DataGridView();
            controlGrid.Dock = DockStyle.Fill;
            controlGrid.AllowUserToAddRows = false;
            controlGrid.CellValueChanged += new DataGridViewCellEventHandler(control_grid_value_change);
            controlGrid.RowHeadersVisible = false;

            DataGridViewColumn cg_property = new DataGridViewTextBoxColumn();
            cg_property.HeaderText = "Property";
            cg_property.ReadOnly = true;
            cg_property.SortMode = DataGridViewColumnSortMode.NotSortable;

            DataGridViewColumn cg_value = new DataGridViewTextBoxColumn();
            cg_value.HeaderText = "Value";
            cg_value.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            cg_value.SortMode = DataGridViewColumnSortMode.NotSortable;

            controlGrid.Columns.AddRange(new DataGridViewColumn[] {cg_property, cg_value});

            foreach (String property in properties)
                controlGrid.Rows.Add(new String[] { property, "" });

            // File list view
            fileList = new RightClickableListView();

            fileList.Name = "fileList";
            fileList.AllowColumnReorder = true;
            fileList.AllowDrop = true; // Drag-n-Drop
            fileList.Dock = DockStyle.Fill;
            fileList.Location = new Point(0, 0);
            fileList.View = View.Details; // Details View
            fileList.FullRowSelect = true;
            fileList.MultiSelect = true;
            fileList.HideSelection = false;
            fileList.KeyDown += new KeyEventHandler(fileList_key_press);
            fileList.ColumnContextMenuClicked += new RightClickableListView.ColumnContextMenuHandler(fileList_right_click);
            fileList.ItemSelectionChanged += new ListViewItemSelectionChangedEventHandler(fileList_selection);

            #endregion

            #region Dialogs
            // Dialog components

            openFileDialog = new OpenFileDialog();
            openFileDialog.FileName = "openFileDialog";

            #endregion

            #region Menus
            headerContext = new ContextMenu();

            foreach (String header in MainWindow.headers)
            {
                MenuItem item = new MenuItem(header);
                item.Click += new EventHandler(header_menu_item_click);
                headerContext.MenuItems.Add(item);
            }

            #endregion

            #region Main Window
            // Settings for main window

            AutoScaleDimensions = new SizeF(6F, 13F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(984, 612);
            MinimumSize = new Size(700, 500);

            Name = "MainWindow";
            Text = "File Tag";

            #endregion

            #region Add Controls

            Controls.Add(mainSplit);
            Controls.Add(toolStrip);
            Controls.Add(statusBar);
            Controls.Add(menuBar);
            MainMenuStrip = menuBar;

            mainSplit.Panel1.Controls.Add(controlGrid);
            mainSplit.Panel2.Controls.Add(fileList);

            #endregion

            #region Resume Layouts

            menuBar.ResumeLayout(false);
            menuBar.PerformLayout();

            mainSplit.Panel1.ResumeLayout(false);
            mainSplit.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(mainSplit)).EndInit();
            mainSplit.ResumeLayout(false);

            ResumeLayout(false);
            PerformLayout();

            #endregion
        }
Ejemplo n.º 14
0
        public void LoadMenuStrip(MenuStrip ms, String fileName)
        {
            ms.SuspendLayout();
            if (fileName != null)
            {
                try
                {
                    String tempStr;
                    tempStr = fileName.Split(new char[] { '.' })[fileName.Split(new char[] { '.' }).Length - 1];
                    if (tempStr.ToUpper() == "XML" && File.Exists(fileName))
                    {
                        XmlDocument doc = new XmlDocument();
                        doc.Load(fileName);
                        XmlNode root = doc.SelectSingleNode("/root/Menus");
                        for (int i = 0; i < root.ChildNodes.Count; i++)
                        {
                            XmlElement elem = (XmlElement)root.ChildNodes[i];
                            ToolStripMenuItem tempMenu;
                            AddToolStripMenu(out tempMenu, elem);
                            ms.Items.Add(tempMenu);
                        }

                    }
                }
                catch (System.Exception ex)
                {
                    Trace.WriteLine("Error:加载菜单栏错误"+ex.Message);
                }
            }

            ms.ResumeLayout(false);
            ms.PerformLayout();
        }
Ejemplo n.º 15
0
 private void Diseño_Forma()
 {
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Caja));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     movimientoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     retirarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ingresarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     realizarCorteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     pic_Caja = new System.Windows.Forms.PictureBox();
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     dateTime_Fecha = new System.Windows.Forms.DateTimePicker();
     combo_Concepto = new System.Windows.Forms.ComboBox();
     lbl_Unidad = new System.Windows.Forms.Label();
     txt_DineroActual = new System.Windows.Forms.TextBox();
     txt_Movimiento = new System.Windows.Forms.TextBox();
     txt_DineroCaja = new System.Windows.Forms.TextBox();
     lbl_Fecha = new System.Windows.Forms.Label();
     lbl_Concepto = new System.Windows.Forms.Label();
     lbl_Movimiento = new System.Windows.Forms.Label();
     lbl_MontoInicial = new System.Windows.Forms.Label();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).BeginInit();
     groupBoxdatos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     movimientoToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(572, 24);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(153, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // movimientoToolStripMenuItem
     //
     movimientoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     retirarToolStripMenuItem,
     ingresarToolStripMenuItem,
     realizarCorteToolStripMenuItem});
     movimientoToolStripMenuItem.Name = "movimientoToolStripMenuItem";
     movimientoToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
     movimientoToolStripMenuItem.Text = "Movimiento";
     //
     // retirarToolStripMenuItem
     //
     retirarToolStripMenuItem.Name = "retirarToolStripMenuItem";
     retirarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Retirar;
     retirarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     retirarToolStripMenuItem.Text = "Retirar";
     retirarToolStripMenuItem.Click += new System.EventHandler(retirarToolStripMenuItem_Click);
     //
     // ingresarToolStripMenuItem
     //
     ingresarToolStripMenuItem.Name = "ingresarToolStripMenuItem";
     ingresarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Ingresar;
     ingresarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     ingresarToolStripMenuItem.Text = "Ingresar";
     ingresarToolStripMenuItem.Click += new System.EventHandler(ingresarToolStripMenuItem_Click);
     //
     // realizarCorteToolStripMenuItem
     //
     realizarCorteToolStripMenuItem.Name = "realizarCorteToolStripMenuItem";
     realizarCorteToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Calcular;
     realizarCorteToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     realizarCorteToolStripMenuItem.Text = "Realizar corte";
     realizarCorteToolStripMenuItem.Click += new System.EventHandler(CorteCajaToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Caja
     //
     pic_Caja.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Caja;
     pic_Caja.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Caja.Location = new System.Drawing.Point(473, 25);
     pic_Caja.Name = "pic_Caja";
     pic_Caja.Size = new System.Drawing.Size(85, 67);
     pic_Caja.TabIndex = 23;
     pic_Caja.TabStop = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.Controls.Add(dateTime_Fecha);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(combo_Concepto);
     groupBoxdatos.Controls.Add(lbl_Unidad);
     groupBoxdatos.Controls.Add(txt_DineroActual);
     groupBoxdatos.Controls.Add(txt_Movimiento);
     groupBoxdatos.Controls.Add(txt_DineroCaja);
     groupBoxdatos.Controls.Add(lbl_Fecha);
     groupBoxdatos.Controls.Add(lbl_Concepto);
     groupBoxdatos.Controls.Add(lbl_Movimiento);
     groupBoxdatos.Controls.Add(lbl_MontoInicial);
     groupBoxdatos.Location = new System.Drawing.Point(4, 43);
     groupBoxdatos.Name = "groupBoxdatos";
     groupBoxdatos.Size = new System.Drawing.Size(555, 186);
     groupBoxdatos.TabIndex = 22;
     groupBoxdatos.TabStop = false;
     groupBoxdatos.Text = "Datos de movimientos de caja";
     //
     // dateTime_Fecha
     //
     dateTime_Fecha.Location = new System.Drawing.Point(126, 89);
     dateTime_Fecha.Name = "dateTime_Fecha";
     dateTime_Fecha.Size = new System.Drawing.Size(200, 20);
     dateTime_Fecha.TabIndex = 58;
     dateTime_Fecha.Enabled = false;
     //
     // combo_Concepto
     //
     combo_Concepto.FormattingEnabled = true;
     combo_Concepto.Location = new System.Drawing.Point(126, 116);
     combo_Concepto.Name = "combo_Concepto";
     combo_Concepto.Size = new System.Drawing.Size(156, 21);
     combo_Concepto.TabIndex = 57;
     combo_Concepto.Enabled = false;
     //
     // lbl_Unidad
     //
     lbl_Unidad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(27, 151);
     lbl_Unidad.Name = "lbl_Unidad";
     lbl_Unidad.Size = new System.Drawing.Size(70, 13);
     lbl_Unidad.TabIndex = 55;
     lbl_Unidad.Text = "Dinero actual";
     //
     // txt_DineroActual
     //
     txt_DineroActual.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroActual.Enabled = false;
     txt_DineroActual.Location = new System.Drawing.Point(126, 144);
     txt_DineroActual.MaxLength = 9;
     txt_DineroActual.Name = "txt_DineroActual";
     txt_DineroActual.Size = new System.Drawing.Size(127, 20);
     txt_DineroActual.TabIndex = 53;
     //
     // txt_Movimiento
     //
     txt_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Movimiento.Enabled = false;
     txt_Movimiento.Location = new System.Drawing.Point(126, 62);
     txt_Movimiento.MaxLength = 25;
     txt_Movimiento.Name = "txt_Movimiento";
     txt_Movimiento.Size = new System.Drawing.Size(127, 20);
     txt_Movimiento.TabIndex = 46;
     //
     // txt_DineroCaja
     //
     txt_DineroCaja.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroCaja.Enabled = false;
     txt_DineroCaja.Location = new System.Drawing.Point(126, 35);
     txt_DineroCaja.MaxLength = 8;
     txt_DineroCaja.Name = "txt_DineroCaja";
     txt_DineroCaja.Size = new System.Drawing.Size(127, 20);
     txt_DineroCaja.TabIndex = 37;
     //
     // lbl_Fecha
     //
     lbl_Fecha.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(27, 96);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 44;
     lbl_Fecha.Text = "Fecha";
     //
     // lbl_Concepto
     //
     lbl_Concepto.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Concepto.AutoSize = true;
     lbl_Concepto.Location = new System.Drawing.Point(27, 124);
     lbl_Concepto.Name = "lbl_Concepto";
     lbl_Concepto.Size = new System.Drawing.Size(53, 13);
     lbl_Concepto.TabIndex = 38;
     lbl_Concepto.Text = "Concepto";
     //
     // lbl_Movimiento
     //
     lbl_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Movimiento.AutoSize = true;
     lbl_Movimiento.Location = new System.Drawing.Point(27, 69);
     lbl_Movimiento.Name = "lbl_Movimiento";
     lbl_Movimiento.Size = new System.Drawing.Size(61, 13);
     lbl_Movimiento.TabIndex = 36;
     lbl_Movimiento.Text = "Movimiento";
     //
     // lbl_MontoInicial
     //
     lbl_MontoInicial.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_MontoInicial.AutoSize = true;
     lbl_MontoInicial.Location = new System.Drawing.Point(27, 42);
     lbl_MontoInicial.Name = "lbl_MontoInicial";
     lbl_MontoInicial.Size = new System.Drawing.Size(76, 13);
     lbl_MontoInicial.TabIndex = 35;
     lbl_MontoInicial.Text = "Dinero en caja";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(380, 80);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Caja
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(572, 238);
     Controls.Add(pic_Caja);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     Icon = global::Sistema_Shajobe.Properties.Resources.Caja_ICO;
     MaximizeBox = false;
     Name = "Caja";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text = "Caja";
     Load += new System.EventHandler(Caja_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 16
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent() {
			components = new System.ComponentModel.Container();
			var resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
			toolStripContainer1 = new ToolStripContainer();
			panel1 = new Panel();
			shapeContainer1 = new ShapeContainer();
			menuStrip1 = new MenuStrip();
			fileToolStripMenuItem = new ToolStripMenuItem();
			newToolStripMenuItem = new ToolStripMenuItem();
			openToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator = new ToolStripSeparator();
			saveToolStripMenuItem = new ToolStripMenuItem();
			saveAsToolStripMenuItem = new ToolStripMenuItem();
			exportToolStripMenuItem = new ToolStripMenuItem();
			exportImageToolStripMenuItem = new ToolStripMenuItem();
			comeImmagineVettorialeToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator1 = new ToolStripSeparator();
			printToolStripMenuItem = new ToolStripMenuItem();
			printPreviewToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator2 = new ToolStripSeparator();
			exitToolStripMenuItem = new ToolStripMenuItem();
			editToolStripMenuItem = new ToolStripMenuItem();
			undoToolStripMenuItem = new ToolStripMenuItem();
			redoToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator3 = new ToolStripSeparator();
			cutToolStripMenuItem = new ToolStripMenuItem();
			copyToolStripMenuItem = new ToolStripMenuItem();
			pasteToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator4 = new ToolStripSeparator();
			selectAllToolStripMenuItem = new ToolStripMenuItem();
			objectsTSMI = new ToolStripMenuItem();
			lineKindTSMI = new ToolStripMenuItem();
			toolsToolStripMenuItem = new ToolStripMenuItem();
			customizeToolStripMenuItem = new ToolStripMenuItem();
			optionsToolStripMenuItem = new ToolStripMenuItem();
			showTSMI = new ToolStripMenuItem();
			hideTSMI = new ToolStripMenuItem();
			helpToolStripMenuItem = new ToolStripMenuItem();
			contentsToolStripMenuItem = new ToolStripMenuItem();
			indexToolStripMenuItem = new ToolStripMenuItem();
			searchToolStripMenuItem = new ToolStripMenuItem();
			toolStripSeparator5 = new ToolStripSeparator();
			aboutToolStripMenuItem = new ToolStripMenuItem();
			toolStrip1 = new ToolStrip();
			newToolStripButton = new ToolStripButton();
			saveToolStripButton = new ToolStripButton();
			openToolStripButton = new ToolStripButton();
			printToolStripButton = new ToolStripButton();
			toolStripSeparator6 = new ToolStripSeparator();
			cutToolStripButton = new ToolStripButton();
			copyToolStripButton = new ToolStripButton();
			pasteToolStripButton = new ToolStripButton();
			toolStripSeparator7 = new ToolStripSeparator();
			libraryTS = new ToolStripSplitButton();
			linkModeTS = new CheckableToolStripSplitButton();
			toolStripSeparator8 = new ToolStripSeparator();
			fontTS = new CheckableToolStripSplitButton();
			altriToolStripMenuItem = new ToolStripMenuItem();
			fColorTS = new CheckableToolStripSplitButton();
			altriToolStripMenuItem1 = new ToolStripMenuItem();
			bColorTS = new CheckableToolStripSplitButton();
			altriToolStripMenuItem2 = new ToolStripMenuItem();
			borderColorTS = new CheckableToolStripSplitButton();
			altriToolStripMenuItem3 = new ToolStripMenuItem();
			toolStripSeparator9 = new ToolStripSeparator();
			resizeTS = new ToolStripButton();
			gridTS = new ToolStripButton();
			toolStripSeparator10 = new ToolStripSeparator();
			helpToolStripButton = new ToolStripButton();
			imageList1 = new ImageList(components);
			fColorDialog = new ColorDialog();
			fontDialog1 = new FontDialog();
			bColorDialog = new ColorDialog();
			printDocument1 = new System.Drawing.Printing.PrintDocument();
			printDialog1 = new PrintDialog();
			printPreviewDialog1 = new PrintPreviewDialog();
			openFileDialog1 = new OpenFileDialog();
			saveFileDialog1 = new SaveFileDialog();
			saveFileDialog2 = new SaveFileDialog();
			borderColorDialog = new ColorDialog();
			saveFileDialog3 = new SaveFileDialog();
			toolStripContainer1.ContentPanel.SuspendLayout();
			toolStripContainer1.TopToolStripPanel.SuspendLayout();
			toolStripContainer1.SuspendLayout();
			panel1.SuspendLayout();
			menuStrip1.SuspendLayout();
			toolStrip1.SuspendLayout();
			SuspendLayout();
			// 
			// toolStripContainer1
			// 
			// 
			// toolStripContainer1.ContentPanel
			// 
			toolStripContainer1.ContentPanel.Controls.Add(panel1);
			toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(804, 529);
			toolStripContainer1.Dock = DockStyle.Fill;
			toolStripContainer1.Location = new System.Drawing.Point(0, 0);
			toolStripContainer1.Name = "toolStripContainer1";
			toolStripContainer1.Size = new System.Drawing.Size(804, 578);
			toolStripContainer1.TabIndex = 1;
			toolStripContainer1.Text = "toolStripContainer1";
			// 
			// toolStripContainer1.TopToolStripPanel
			// 
			toolStripContainer1.TopToolStripPanel.Controls.Add(menuStrip1);
			toolStripContainer1.TopToolStripPanel.Controls.Add(toolStrip1);
			// 
			// panel1
			// 
			panel1.AutoScroll = true;
			panel1.AutoSize = true;
			panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			panel1.Controls.Add(shapeContainer1);
			panel1.Dock = DockStyle.Fill;
			panel1.Location = new System.Drawing.Point(0, 0);
			panel1.Name = "panel1";
			panel1.Size = new System.Drawing.Size(804, 529);
			panel1.TabIndex = 1;
			// 
			// shapeContainer1
			// 
			shapeContainer1.BackColor = System.Drawing.Color.White;
			shapeContainer1.Location = new System.Drawing.Point(0, 0);
			shapeContainer1.Name = "shapeContainer1";
			shapeContainer1.Size = new System.Drawing.Size(804, 529);
			shapeContainer1.TabIndex = 1;
			shapeContainer1.Link += new System.EventHandler(ShapeContainer1Link);
			shapeContainer1.Click += new System.EventHandler<ShapeEventArgs>(ShapeContainer1Click);
			shapeContainer1.MouseClick += new MouseEventHandler(ShapeContainer1MouseClick);
			shapeContainer1.MouseDown += new MouseEventHandler(ShapeContainer1MouseDown);
			// 
			// menuStrip1
			// 
			menuStrip1.Dock = DockStyle.None;
			menuStrip1.Items.AddRange(new ToolStripItem[] {
            fileToolStripMenuItem,
            editToolStripMenuItem,
            objectsTSMI,
            lineKindTSMI,
            toolsToolStripMenuItem,
            helpToolStripMenuItem});
			menuStrip1.Location = new System.Drawing.Point(0, 0);
			menuStrip1.Name = "menuStrip1";
			menuStrip1.Size = new System.Drawing.Size(804, 24);
			menuStrip1.TabIndex = 0;
			menuStrip1.Text = "menuStrip1";
			// 
			// fileToolStripMenuItem
			// 
			fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            newToolStripMenuItem,
            openToolStripMenuItem,
            toolStripSeparator,
            saveToolStripMenuItem,
            saveAsToolStripMenuItem,
            exportToolStripMenuItem,
            toolStripSeparator1,
            printToolStripMenuItem,
            printPreviewToolStripMenuItem,
            toolStripSeparator2,
            exitToolStripMenuItem});
			fileToolStripMenuItem.Name = "fileToolStripMenuItem";
			fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
			fileToolStripMenuItem.Text = "&File";
			// 
			// newToolStripMenuItem
			// 
			newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
			newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			newToolStripMenuItem.Name = "newToolStripMenuItem";
			newToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.N;
			newToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			newToolStripMenuItem.Text = "Nuovo...";
			newToolStripMenuItem.Click += new System.EventHandler(NewToolStripMenuItemClick);
			// 
			// openToolStripMenuItem
			// 
			openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
			openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			openToolStripMenuItem.Name = "openToolStripMenuItem";
			openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O;
			openToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			openToolStripMenuItem.Text = "Apri...";
			openToolStripMenuItem.Click += new System.EventHandler(OpenToolStripMenuItemClick);
			// 
			// toolStripSeparator
			// 
			toolStripSeparator.Name = "toolStripSeparator";
			toolStripSeparator.Size = new System.Drawing.Size(191, 6);
			// 
			// saveToolStripMenuItem
			// 
			saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
			saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			saveToolStripMenuItem.Name = "saveToolStripMenuItem";
			saveToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.S));
			saveToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			saveToolStripMenuItem.Text = "Salva";
			saveToolStripMenuItem.Click += new System.EventHandler(SaveToolStripMenuItemClick);
			// 
			// saveAsToolStripMenuItem
			// 
			saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
			saveAsToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			saveAsToolStripMenuItem.Text = "Salva come...";
			saveAsToolStripMenuItem.Click += new System.EventHandler(SaveAsToolStripMenuItemClick);
			// 
			// exportToolStripMenuItem
			// 
			exportToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            exportImageToolStripMenuItem,
            comeImmagineVettorialeToolStripMenuItem});
			exportToolStripMenuItem.Name = "exportToolStripMenuItem";
			exportToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			exportToolStripMenuItem.Text = "Esporta";
			// 
			// exportImageToolStripMenuItem
			// 
			exportImageToolStripMenuItem.Name = "exportImageToolStripMenuItem";
			exportImageToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
			exportImageToolStripMenuItem.Text = "Come immagine...";
			exportImageToolStripMenuItem.Click += new System.EventHandler(ExportImageToolStripMenuItemClick);
			// 
			// comeImmagineVettorialeToolStripMenuItem
			// 
			comeImmagineVettorialeToolStripMenuItem.Name = "comeImmagineVettorialeToolStripMenuItem";
			comeImmagineVettorialeToolStripMenuItem.Size = new System.Drawing.Size(224, 22);
			comeImmagineVettorialeToolStripMenuItem.Text = "Come immagine vettoriale...";
			comeImmagineVettorialeToolStripMenuItem.Click += new System.EventHandler(ComeImmagineVettorialeToolStripMenuItemClick);
			// 
			// toolStripSeparator1
			// 
			toolStripSeparator1.Name = "toolStripSeparator1";
			toolStripSeparator1.Size = new System.Drawing.Size(191, 6);
			// 
			// printToolStripMenuItem
			// 
			printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image")));
			printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			printToolStripMenuItem.Name = "printToolStripMenuItem";
			printToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.P));
			printToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			printToolStripMenuItem.Text = "&Stampa...";
			printToolStripMenuItem.Click += new System.EventHandler(PrintToolStripMenuItemClick);
			// 
			// printPreviewToolStripMenuItem
			// 
			printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image")));
			printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem";
			printPreviewToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			printPreviewToolStripMenuItem.Text = "Anteprima di stampa...";
			printPreviewToolStripMenuItem.Click += new System.EventHandler(PrintPreviewToolStripMenuItemClick);
			// 
			// toolStripSeparator2
			// 
			toolStripSeparator2.Name = "toolStripSeparator2";
			toolStripSeparator2.Size = new System.Drawing.Size(191, 6);
			// 
			// exitToolStripMenuItem
			// 
			exitToolStripMenuItem.Name = "exitToolStripMenuItem";
			exitToolStripMenuItem.Size = new System.Drawing.Size(194, 22);
			exitToolStripMenuItem.Text = "Esci";
			exitToolStripMenuItem.Click += new System.EventHandler(ExitToolStripMenuItemClick);
			// 
			// editToolStripMenuItem
			// 
			editToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            undoToolStripMenuItem,
            redoToolStripMenuItem,
            toolStripSeparator3,
            cutToolStripMenuItem,
            copyToolStripMenuItem,
            pasteToolStripMenuItem,
            toolStripSeparator4,
            selectAllToolStripMenuItem});
			editToolStripMenuItem.Enabled = false;
			editToolStripMenuItem.Name = "editToolStripMenuItem";
			editToolStripMenuItem.Size = new System.Drawing.Size(39, 20);
			editToolStripMenuItem.Text = "&Edit";
			editToolStripMenuItem.Visible = false;
			// 
			// undoToolStripMenuItem
			// 
			undoToolStripMenuItem.Enabled = false;
			undoToolStripMenuItem.Name = "undoToolStripMenuItem";
			undoToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.Z));
			undoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			undoToolStripMenuItem.Text = "&Undo";
			// 
			// redoToolStripMenuItem
			// 
			redoToolStripMenuItem.Enabled = false;
			redoToolStripMenuItem.Name = "redoToolStripMenuItem";
			redoToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.Y));
			redoToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			redoToolStripMenuItem.Text = "&Redo";
			// 
			// toolStripSeparator3
			// 
			toolStripSeparator3.Name = "toolStripSeparator3";
			toolStripSeparator3.Size = new System.Drawing.Size(141, 6);
			// 
			// cutToolStripMenuItem
			// 
			cutToolStripMenuItem.Enabled = false;
			cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
			cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			cutToolStripMenuItem.Name = "cutToolStripMenuItem";
			cutToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.X));
			cutToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			cutToolStripMenuItem.Text = "Cu&t";
			// 
			// copyToolStripMenuItem
			// 
			copyToolStripMenuItem.Enabled = false;
			copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
			copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			copyToolStripMenuItem.Name = "copyToolStripMenuItem";
			copyToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.C));
			copyToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			copyToolStripMenuItem.Text = "&Copy";
			// 
			// pasteToolStripMenuItem
			// 
			pasteToolStripMenuItem.Enabled = false;
			pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
			pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
			pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
			pasteToolStripMenuItem.ShortcutKeys = ((Keys.Control | Keys.V));
			pasteToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			pasteToolStripMenuItem.Text = "&Paste";
			// 
			// toolStripSeparator4
			// 
			toolStripSeparator4.Name = "toolStripSeparator4";
			toolStripSeparator4.Size = new System.Drawing.Size(141, 6);
			// 
			// selectAllToolStripMenuItem
			// 
			selectAllToolStripMenuItem.Enabled = false;
			selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
			selectAllToolStripMenuItem.Size = new System.Drawing.Size(144, 22);
			selectAllToolStripMenuItem.Text = "Select &All";
			// 
			// objectsTSMI
			// 
			objectsTSMI.Name = "objectsTSMI";
			objectsTSMI.Size = new System.Drawing.Size(59, 20);
			objectsTSMI.Text = "Oggetti";
			// 
			// lineKindTSMI
			// 
			lineKindTSMI.Name = "lineKindTSMI";
			lineKindTSMI.Size = new System.Drawing.Size(47, 20);
			lineKindTSMI.Text = "Linee";
			// 
			// toolsToolStripMenuItem
			// 
			toolsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            customizeToolStripMenuItem,
            optionsToolStripMenuItem,
            showTSMI,
            hideTSMI});
			toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
			toolsToolStripMenuItem.Size = new System.Drawing.Size(71, 20);
			toolsToolStripMenuItem.Text = "&Strumenti";
			// 
			// customizeToolStripMenuItem
			// 
			customizeToolStripMenuItem.Enabled = false;
			customizeToolStripMenuItem.Name = "customizeToolStripMenuItem";
			customizeToolStripMenuItem.Size = new System.Drawing.Size(186, 22);
			customizeToolStripMenuItem.Text = "&Customize";
			customizeToolStripMenuItem.Visible = false;
			// 
			// optionsToolStripMenuItem
			// 
			optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
			optionsToolStripMenuItem.Size = new System.Drawing.Size(186, 22);
			optionsToolStripMenuItem.Text = "&Opzioni";
			optionsToolStripMenuItem.Click += new System.EventHandler(OptionsToolStripMenuItemClick);
			// 
			// showTSMI
			// 
			showTSMI.Name = "showTSMI";
			showTSMI.Size = new System.Drawing.Size(186, 22);
			showTSMI.Text = "Mostra tutti i punti";
			showTSMI.Click += new System.EventHandler(ShowTsmiClick);
			// 
			// hideTSMI
			// 
			hideTSMI.Name = "hideTSMI";
			hideTSMI.Size = new System.Drawing.Size(186, 22);
			hideTSMI.Text = "Nascondi tutti i punti";
			hideTSMI.Click += new System.EventHandler(HideTsmiClick);
			// 
			// helpToolStripMenuItem
			// 
			helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            contentsToolStripMenuItem,
            indexToolStripMenuItem,
            searchToolStripMenuItem,
            toolStripSeparator5,
            aboutToolStripMenuItem});
			helpToolStripMenuItem.Name = "helpToolStripMenuItem";
			helpToolStripMenuItem.Size = new System.Drawing.Size(24, 20);
			helpToolStripMenuItem.Text = "&?";
			// 
			// contentsToolStripMenuItem
			// 
			contentsToolStripMenuItem.Enabled = false;
			contentsToolStripMenuItem.Name = "contentsToolStripMenuItem";
			contentsToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
			contentsToolStripMenuItem.Text = "&Contents";
			// 
			// indexToolStripMenuItem
			// 
			indexToolStripMenuItem.Enabled = false;
			indexToolStripMenuItem.Name = "indexToolStripMenuItem";
			indexToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
			indexToolStripMenuItem.Text = "&Index";
			// 
			// searchToolStripMenuItem
			// 
			searchToolStripMenuItem.Enabled = false;
			searchToolStripMenuItem.Name = "searchToolStripMenuItem";
			searchToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
			searchToolStripMenuItem.Text = "&Search";
			// 
			// toolStripSeparator5
			// 
			toolStripSeparator5.Name = "toolStripSeparator5";
			toolStripSeparator5.Size = new System.Drawing.Size(162, 6);
			// 
			// aboutToolStripMenuItem
			// 
			aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
			aboutToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
			aboutToolStripMenuItem.Text = "Informazioni su...";
			aboutToolStripMenuItem.Click += new System.EventHandler(AboutToolStripMenuItemClick);
			// 
			// toolStrip1
			// 
			toolStrip1.Dock = DockStyle.None;
			toolStrip1.Items.AddRange(new ToolStripItem[] {
            newToolStripButton,
            saveToolStripButton,
            openToolStripButton,
            printToolStripButton,
            toolStripSeparator6,
            cutToolStripButton,
            copyToolStripButton,
            pasteToolStripButton,
            toolStripSeparator7,
            libraryTS,
            linkModeTS,
            toolStripSeparator8,
            fontTS,
            fColorTS,
            bColorTS,
            borderColorTS,
            toolStripSeparator9,
            resizeTS,
            gridTS,
            toolStripSeparator10,
            helpToolStripButton});
			toolStrip1.Location = new System.Drawing.Point(3, 24);
			toolStrip1.Name = "toolStrip1";
			toolStrip1.Size = new System.Drawing.Size(360, 25);
			toolStrip1.TabIndex = 1;
			// 
			// newToolStripButton
			// 
			newToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
			newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			newToolStripButton.Name = "newToolStripButton";
			newToolStripButton.Size = new System.Drawing.Size(23, 22);
			newToolStripButton.Text = "Nuovo";
			newToolStripButton.Click += new System.EventHandler(NewToolStripButtonClick);
			// 
			// saveToolStripButton
			// 
			saveToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
			saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			saveToolStripButton.Name = "saveToolStripButton";
			saveToolStripButton.Size = new System.Drawing.Size(23, 22);
			saveToolStripButton.Text = "Salva";
			saveToolStripButton.Click += new System.EventHandler(SaveToolStripButtonClick);
			// 
			// openToolStripButton
			// 
			openToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
			openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			openToolStripButton.Name = "openToolStripButton";
			openToolStripButton.Size = new System.Drawing.Size(23, 22);
			openToolStripButton.Text = "Apri";
			openToolStripButton.Click += new System.EventHandler(OpenToolStripButtonClick);
			// 
			// printToolStripButton
			// 
			printToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
			printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			printToolStripButton.Name = "printToolStripButton";
			printToolStripButton.Size = new System.Drawing.Size(23, 22);
			printToolStripButton.Text = "Stampa";
			printToolStripButton.Click += new System.EventHandler(PrintToolStripButtonClick);
			// 
			// toolStripSeparator6
			// 
			toolStripSeparator6.Name = "toolStripSeparator6";
			toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
			// 
			// cutToolStripButton
			// 
			cutToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			cutToolStripButton.Enabled = false;
			cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
			cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			cutToolStripButton.Name = "cutToolStripButton";
			cutToolStripButton.Size = new System.Drawing.Size(23, 22);
			cutToolStripButton.Text = "C&ut";
			cutToolStripButton.Visible = false;
			// 
			// copyToolStripButton
			// 
			copyToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			copyToolStripButton.Enabled = false;
			copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
			copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			copyToolStripButton.Name = "copyToolStripButton";
			copyToolStripButton.Size = new System.Drawing.Size(23, 22);
			copyToolStripButton.Text = "&Copy";
			copyToolStripButton.Visible = false;
			// 
			// pasteToolStripButton
			// 
			pasteToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			pasteToolStripButton.Enabled = false;
			pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
			pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			pasteToolStripButton.Name = "pasteToolStripButton";
			pasteToolStripButton.Size = new System.Drawing.Size(23, 22);
			pasteToolStripButton.Text = "&Paste";
			pasteToolStripButton.Visible = false;
			// 
			// toolStripSeparator7
			// 
			toolStripSeparator7.Name = "toolStripSeparator7";
			toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
			toolStripSeparator7.Visible = false;
			// 
			// libraryTS
			// 
			libraryTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			libraryTS.Image = global::DiagramDrawer.Properties.Resources.Book;
			libraryTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			libraryTS.Name = "libraryTS";
			libraryTS.Size = new System.Drawing.Size(32, 22);
			libraryTS.Text = "Libreria";
			libraryTS.ButtonClick += new System.EventHandler(LibraryTsButtonClick);
			// 
			// linkModeTS
			// 
			linkModeTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			linkModeTS.DoubleClickEnabled = true;
			linkModeTS.Image = global::DiagramDrawer.Properties.Resources.NoArrow;
			linkModeTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			linkModeTS.Name = "linkModeTS";
			linkModeTS.Size = new System.Drawing.Size(32, 22);
			linkModeTS.Text = "Tipo di linea";
			linkModeTS.DoubleClick += new System.EventHandler(TsDoubleClick);
			linkModeTS.ButtonClick += new System.EventHandler(TsButtonClick);
			// 
			// toolStripSeparator8
			// 
			toolStripSeparator8.Name = "toolStripSeparator8";
			toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
			// 
			// fontTS
			// 
			fontTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			fontTS.DoubleClickEnabled = true;
			fontTS.DropDownItems.AddRange(new ToolStripItem[] {
            altriToolStripMenuItem});
			fontTS.Image = ((System.Drawing.Image)(resources.GetObject("fontTS.Image")));
			fontTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			fontTS.Name = "fontTS";
			fontTS.Size = new System.Drawing.Size(32, 22);
			fontTS.Text = "Cambia font";
			fontTS.DoubleClick += new System.EventHandler(TsDoubleClick);
			fontTS.ButtonClick += new System.EventHandler(TsButtonClick);
			// 
			// altriToolStripMenuItem
			// 
			altriToolStripMenuItem.Name = "altriToolStripMenuItem";
			altriToolStripMenuItem.Size = new System.Drawing.Size(105, 22);
			altriToolStripMenuItem.Text = "Altri...";
			altriToolStripMenuItem.Click += new System.EventHandler(AltriToolStripMenuItemClick);
			// 
			// fColorTS
			// 
			fColorTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			fColorTS.DoubleClickEnabled = true;
			fColorTS.DropDownItems.AddRange(new ToolStripItem[] {
            altriToolStripMenuItem1});
			fColorTS.Image = global::DiagramDrawer.Properties.Resources.FontColor;
			fColorTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			fColorTS.Name = "fColorTS";
			fColorTS.Size = new System.Drawing.Size(32, 22);
			fColorTS.Text = "Cambia il colore del testo";
			fColorTS.DoubleClick += new System.EventHandler(TsDoubleClick);
			fColorTS.ButtonClick += new System.EventHandler(TsButtonClick);
			// 
			// altriToolStripMenuItem1
			// 
			altriToolStripMenuItem1.Name = "altriToolStripMenuItem1";
			altriToolStripMenuItem1.Size = new System.Drawing.Size(105, 22);
			altriToolStripMenuItem1.Text = "Altri...";
			altriToolStripMenuItem1.Click += new System.EventHandler(AltriToolStripMenuItem1Click);
			// 
			// bColorTS
			// 
			bColorTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			bColorTS.DoubleClickEnabled = true;
			bColorTS.DropDownItems.AddRange(new ToolStripItem[] {
            altriToolStripMenuItem2});
			bColorTS.Image = global::DiagramDrawer.Properties.Resources.Fill;
			bColorTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			bColorTS.Name = "bColorTS";
			bColorTS.Size = new System.Drawing.Size(32, 22);
			bColorTS.Text = "Cambia il colore dello sfondo";
			bColorTS.DoubleClick += new System.EventHandler(TsDoubleClick);
			bColorTS.ButtonClick += new System.EventHandler(TsButtonClick);
			// 
			// altriToolStripMenuItem2
			// 
			altriToolStripMenuItem2.Name = "altriToolStripMenuItem2";
			altriToolStripMenuItem2.Size = new System.Drawing.Size(105, 22);
			altriToolStripMenuItem2.Text = "Altri...";
			altriToolStripMenuItem2.Click += new System.EventHandler(AltriToolStripMenuItem2Click);
			// 
			// borderColorTS
			// 
			borderColorTS.AutoToolTip = false;
			borderColorTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			borderColorTS.DropDownItems.AddRange(new ToolStripItem[] {
            altriToolStripMenuItem3});
			borderColorTS.Image = global::DiagramDrawer.Properties.Resources.Border;
			borderColorTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			borderColorTS.Name = "borderColorTS";
			borderColorTS.Size = new System.Drawing.Size(32, 22);
			borderColorTS.Text = "Cambia il colore del bordo";
			borderColorTS.DoubleClick += new System.EventHandler(TsDoubleClick);
			borderColorTS.ButtonClick += new System.EventHandler(TsButtonClick);
			// 
			// altriToolStripMenuItem3
			// 
			altriToolStripMenuItem3.Name = "altriToolStripMenuItem3";
			altriToolStripMenuItem3.Size = new System.Drawing.Size(105, 22);
			altriToolStripMenuItem3.Text = "Altri...";
			altriToolStripMenuItem3.Click += new System.EventHandler(AltriToolStripMenuItem3Click);
			// 
			// toolStripSeparator9
			// 
			toolStripSeparator9.Name = "toolStripSeparator9";
			toolStripSeparator9.Size = new System.Drawing.Size(6, 25);
			// 
			// resizeTS
			// 
			resizeTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			resizeTS.Image = ((System.Drawing.Image)(resources.GetObject("resizeTS.Image")));
			resizeTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			resizeTS.Name = "resizeTS";
			resizeTS.Size = new System.Drawing.Size(23, 22);
			resizeTS.Text = "Ridimensiona foglio";
			resizeTS.Click += new System.EventHandler(ResizeButtonClick);
			// 
			// gridTS
			// 
			gridTS.DisplayStyle = ToolStripItemDisplayStyle.Image;
			gridTS.DoubleClickEnabled = true;
			gridTS.Image = global::DiagramDrawer.Properties.Resources.Grid;
			gridTS.ImageTransparentColor = System.Drawing.Color.Magenta;
			gridTS.Name = "gridTS";
			gridTS.Size = new System.Drawing.Size(23, 22);
			gridTS.Text = "Griglia";
			gridTS.DoubleClick += new System.EventHandler(GridTsDoubleClick);
			gridTS.Click += new System.EventHandler(GridTsClick);
			// 
			// toolStripSeparator10
			// 
			toolStripSeparator10.Name = "toolStripSeparator10";
			toolStripSeparator10.Size = new System.Drawing.Size(6, 25);
			toolStripSeparator10.Visible = false;
			// 
			// helpToolStripButton
			// 
			helpToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image;
			helpToolStripButton.Enabled = false;
			helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
			helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
			helpToolStripButton.Name = "helpToolStripButton";
			helpToolStripButton.Size = new System.Drawing.Size(23, 22);
			helpToolStripButton.Text = "He&lp";
			helpToolStripButton.Visible = false;
			// 
			// imageList1
			// 
			imageList1.ImageStream = ((ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
			imageList1.TransparentColor = System.Drawing.Color.Magenta;
			imageList1.Images.SetKeyName(0, "ellipse.bmp");
			imageList1.Images.SetKeyName(1, "rectangle.bmp");
			imageList1.Images.SetKeyName(2, "Simple.bmp");
			imageList1.Images.SetKeyName(3, "Point1.bmp");
			imageList1.Images.SetKeyName(4, "Point2.bmp");
			// 
			// fColorDialog
			// 
			fColorDialog.AnyColor = true;
			// 
			// fontDialog1
			// 
			fontDialog1.FontMustExist = true;
			// 
			// bColorDialog
			// 
			bColorDialog.AnyColor = true;
			bColorDialog.Color = System.Drawing.Color.White;
			// 
			// printDocument1
			// 
			printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(PrintDocument1PrintPage);
			// 
			// printDialog1
			// 
			printDialog1.Document = printDocument1;
			printDialog1.UseEXDialog = true;
			// 
			// printPreviewDialog1
			// 
			printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
			printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
			printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
			printPreviewDialog1.Document = printDocument1;
			printPreviewDialog1.Enabled = true;
			printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
			printPreviewDialog1.Name = "printPreviewDialog1";
			printPreviewDialog1.Visible = false;
			// 
			// openFileDialog1
			// 
			openFileDialog1.DefaultExt = "xml";
			openFileDialog1.FileName = "openFileDialog1";
			openFileDialog1.Filter = "File xml (*.xml)|*.xml|Tutti i files (*.*)|*.*";
			// 
			// saveFileDialog1
			// 
			saveFileDialog1.DefaultExt = "xml";
			saveFileDialog1.FileName = "diagram";
			saveFileDialog1.Filter = "File xml (*.xml)|*.xml|Tutti i files (*.*)|*.*";
			saveFileDialog1.RestoreDirectory = true;
			// 
			// saveFileDialog2
			// 
			saveFileDialog2.FileName = "export";
			saveFileDialog2.Filter = "File png (*.png)|*.png|File jpeg (*.jpg,*.jpeg)|*.jpg,*.jpeg|File bitmap (*.bmp)|" +
				"*.bmp|File gif (*.gif)|*.gif|File tiff (*.tif,*.tiff)|*.tif,*.tiff";
			saveFileDialog2.RestoreDirectory = true;
			// 
			// borderColorDialog
			// 
			borderColorDialog.AnyColor = true;
			// 
			// saveFileDialog3
			// 
			saveFileDialog3.DefaultExt = "svg";
			saveFileDialog3.Filter = "File svg (*.svg)|*.svg|Tutti i files (*.*)|*.*";
			// 
			// MainForm
			// 
			ClientSize = new System.Drawing.Size(804, 578);
			Controls.Add(toolStripContainer1);
			MainMenuStrip = menuStrip1;
			Name = "MainForm";
			Text = "Diagram Drawer";
			FormClosing += new FormClosingEventHandler(MainForm_FormClosing);
			toolStripContainer1.ContentPanel.ResumeLayout(false);
			toolStripContainer1.ContentPanel.PerformLayout();
			toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
			toolStripContainer1.TopToolStripPanel.PerformLayout();
			toolStripContainer1.ResumeLayout(false);
			toolStripContainer1.PerformLayout();
			panel1.ResumeLayout(false);
			menuStrip1.ResumeLayout(false);
			menuStrip1.PerformLayout();
			toolStrip1.ResumeLayout(false);
			toolStrip1.PerformLayout();
			ResumeLayout (false);

		}
Ejemplo n.º 17
0
        internal bool SetWindowStates(MdiWindowManager wm)
        {
            /*
             *      MDI WindowState behaviour:
             *      - If the active window is maximized, all other maximized windows are normalized.
             *      - If a normal window gets focus and the original active window was maximized,
             *        the normal window gets maximized and the original window gets normalized.
             *      - If a minimized window gets focus and the original window was maximized,
             *        the minimzed window gets maximized and the original window gets normalized.
             *        If the ex-minimized window gets deactivated, it will be normalized.
             */
            Form form = wm.form;

            if (setting_windowstates)
            {
                return(false);
            }

            if (!form.Visible)
            {
                return(false);
            }

            bool is_active     = wm.IsActive;
            bool maximize_this = false;

            if (!is_active)
            {
                return(false);
            }

            ArrayList minimize_these  = new ArrayList();
            ArrayList normalize_these = new ArrayList();

            setting_windowstates = true;
            foreach (Form frm in mdi_child_list)
            {
                if (frm == form)
                {
                    continue;
                }
                else if (!frm.Visible)
                {
                    continue;
                }
                if (frm.WindowState == FormWindowState.Maximized && is_active)
                {
                    maximize_this = true;
                    if (((MdiWindowManager)frm.window_manager).was_minimized)
                    {
                        minimize_these.Add(frm);
                    }
                    else
                    {
                        normalize_these.Add(frm);
                    }
                }
            }

            if (maximize_this && form.WindowState != FormWindowState.Maximized)
            {
                wm.was_minimized = form.window_state == FormWindowState.Minimized;
                form.WindowState = FormWindowState.Maximized;
            }

            foreach (Form frm in minimize_these)
            {
                frm.WindowState = FormWindowState.Minimized;
            }

            foreach (Form frm in normalize_these)
            {
                frm.WindowState = FormWindowState.Normal;
            }


            SetParentText(false);

            XplatUI.RequestNCRecalc(ParentForm.Handle);
            XplatUI.RequestNCRecalc(Handle);

            SizeScrollBars();

            setting_windowstates = false;

            if (form.MdiParent.MainMenuStrip != null)
            {
                form.MdiParent.MainMenuStrip.RefreshMdiItems();
            }

            // Implicit menu strip merging
            // - When child is activated
            // - Parent form must have a MainMenuStrip
            // - Find the first menustrip on the child
            // - Merge
            MenuStrip parent_menu = form.MdiParent.MainMenuStrip;

            if (parent_menu != null)
            {
                if (parent_menu.IsCurrentlyMerged)
                {
                    ToolStripManager.RevertMerge(parent_menu);
                }

                MenuStrip child_menu = LookForChildMenu(form);

                if (form.WindowState != FormWindowState.Maximized)
                {
                    RemoveControlMenuItems(wm);
                }

                if (form.WindowState == FormWindowState.Maximized)
                {
                    bool found = false;

                    foreach (ToolStripItem tsi in parent_menu.Items)
                    {
                        if (tsi is MdiControlStrip.SystemMenuItem)
                        {
                            (tsi as MdiControlStrip.SystemMenuItem).MdiForm = form;
                            found = true;
                        }
                        else if (tsi is MdiControlStrip.ControlBoxMenuItem)
                        {
                            (tsi as MdiControlStrip.ControlBoxMenuItem).MdiForm = form;
                            found = true;
                        }
                    }

                    if (!found)
                    {
                        parent_menu.SuspendLayout();
                        parent_menu.Items.Insert(0, new MdiControlStrip.SystemMenuItem(form));
                        parent_menu.Items.Add(new MdiControlStrip.ControlBoxMenuItem(form, MdiControlStrip.ControlBoxType.Close));
                        parent_menu.Items.Add(new MdiControlStrip.ControlBoxMenuItem(form, MdiControlStrip.ControlBoxType.Max));
                        parent_menu.Items.Add(new MdiControlStrip.ControlBoxMenuItem(form, MdiControlStrip.ControlBoxType.Min));
                        parent_menu.ResumeLayout();
                    }
                }

                if (child_menu != null)
                {
                    ToolStripManager.Merge(child_menu, parent_menu);
                }
            }

            return(maximize_this);
        }
Ejemplo n.º 18
0
        public ViewContainer(string ViewNm, bool isEnabled)
        {
            MenuStrip menuStrip = new MenuStrip();
            menuStrip.SuspendLayout();

            //
            //StripMenuItem: Cam_Persp
            //
            //cam_Persp.Name = "Cam_Persp";
            //cam_Persp.Size = new System.Drawing.Size(152, 22);
            //cam_Persp.Text = "Persp";

            //
            //StripMenuItem: Cam_Top
            //
            //cam_Top.Name = "Cam_Top";
            //cam_Top.Size = new System.Drawing.Size(152, 22);
            //cam_Top.Text = "Top";

            //
            //StripMenuItem: Cam_Side
            //
            //cam_Side.Name = "Cam_Side";
            //cam_Side.Size = new System.Drawing.Size(152, 22);
            //cam_Side.Text = "Side";

            //
            //StripMenuItem: Cam_Front
            //
            //cam_Front.Name = "Cam_Front";
            //cam_Front.Size = new System.Drawing.Size(152, 22);
            //cam_Front.Text = "Front";

            //
            //StripMenuItem: CamList
            //
            //cam_List.DropDownItems.AddRange(new ToolStripMenuItem[]
                //{
              //      cam_Front,
                //    cam_Persp,
                  //  cam_Side,
                    //cam_Top
                //});
            cam_List.Name = "CamsList";
            cam_List.Size = new System.Drawing.Size(37, 20);
            cam_List.Text = "视图列表";

            cam_List.Click+=cam_List_Click;

            //
            //StripMenuItem:camContr
            //
            cam_Contr.Name = "CamContr";
            cam_Contr.Text = "视图控制";
            cam_Contr.Size=new System.Drawing.Size(37,20);
            ToolStripMenuItem newCam = new ToolStripMenuItem();
            newCam.Name = "New Camera";
            newCam.Text = "新建视图";
            newCam.Size = new System.Drawing.Size(37, 20);
            newCam.Click += new EventHandler(delegate(object sender, EventArgs e)
                {
                    new dCamera(SceneEntry.Scene);
                });
            cam_Contr.DropDownItems.AddRange(
                new ToolStripMenuItem[]{newCam}
                );
            //
            //MenuStrip
            //
            menuStrip.Items.AddRange(new ToolStripItem[]
                {
                    cam_List,
                    cam_Contr
                });
            menuStrip.Location = new System.Drawing.Point(0, 0);
            menuStrip.Name = "ViewMenuStrip";
            menuStrip.Size = new System.Drawing.Size(650, 25);
            menuStrip.TabIndex = 3;
            menuStrip.Text = "视图";

            ((System.ComponentModel.ISupportInitialize)
                    this).BeginInit();
            this.Panel1.SuspendLayout();
            this.Panel2.SuspendLayout();
            this.SuspendLayout();

            this.Dock = DockStyle.Fill;
            this.Location = new System.Drawing.Point(0, 0);
            this.Name = "SplitView";
            this.Orientation = Orientation.Horizontal;

            this.Panel1.Controls.Add(menuStrip);

            //a = _entry;
            //result.Panel2.Controls.Add(_entry);
            SceneEntry = new WinFormsContentLoading.SceneEntry();
            SceneEntry.Dock = System.Windows.Forms.DockStyle.Fill;
            SceneEntry.Location = new System.Drawing.Point(0, 0);
            SceneEntry.Name = ViewNm;
            SceneEntry.Size = new System.Drawing.Size(642, 407);
            SceneEntry.TabIndex = 11;
            SceneEntry.Text = "modelViewerControl";
            SceneEntry.IsActivate = isEnabled;

            this.Panel2.Controls.Add(SceneEntry);

            this.Size = new System.Drawing.Size(640, 480);
            this.SplitterDistance = 10;
            this.TabIndex = 3;
            this.AutoScaleMode = AutoScaleMode.Font;

            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
        }
			public Childform ()
			{

				menuStrip1 = new MenuStrip ();
				fileToolStripMenuItem = new ToolStripMenuItem ();
				toolStripSeparator = new ToolStripSeparator ();
				printToolStripMenuItem = new ToolStripMenuItem ();
				editToolStripMenuItem = new ToolStripMenuItem ();
				toolStripSeparator3 = new ToolStripSeparator ();
				copyToolStripMenuItem = new ToolStripMenuItem ();
				toolStripSeparator4 = new ToolStripSeparator ();
				selectAllToolStripMenuItem = new ToolStripMenuItem ();
				toolsToolStripMenuItem = new ToolStripMenuItem ();
				addToolStripMenuItem = new ToolStripMenuItem ();
				deleteToolStripMenuItem = new ToolStripMenuItem ();
				filterToolStripMenuItem = new ToolStripMenuItem ();
				helpToolStripMenuItem = new ToolStripMenuItem ();
				searchToolStripMenuItem = new ToolStripMenuItem ();
				menuStrip1.SuspendLayout ();
				SuspendLayout ();

				menuStrip1.Items.AddRange (new ToolStripItem[] {
            fileToolStripMenuItem,
	    editToolStripMenuItem,
	    toolsToolStripMenuItem,
	    helpToolStripMenuItem});
				menuStrip1.Location = new Point (0, 0);
				menuStrip1.Name = "menuStrip1";
				menuStrip1.RenderMode = ToolStripRenderMode.System;
				menuStrip1.Size = new Size (337, 24);
				menuStrip1.TabIndex = 2;
				menuStrip1.Text = "menuStrip1";
				menuStrip1.Visible = false;

				fileToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
            toolStripSeparator,
            printToolStripMenuItem});
				fileToolStripMenuItem.MergeAction = MergeAction.MatchOnly;
				fileToolStripMenuItem.Name = "fileToolStripMenuItem";
				fileToolStripMenuItem.Size = new Size (35, 20);
				fileToolStripMenuItem.Text = "&File";
				toolStripSeparator.MergeAction = MergeAction.Insert;
				toolStripSeparator.MergeIndex = 3;
				toolStripSeparator.Name = "toolStripSeparator";
				toolStripSeparator.Size = new Size (149, 6);
				printToolStripMenuItem.MergeAction = MergeAction.Insert;
				printToolStripMenuItem.MergeIndex = 2;
				printToolStripMenuItem.Name = "printToolStripMenuItem";
				printToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control |
			Keys.P)));
				printToolStripMenuItem.Size = new Size (152, 22);
				printToolStripMenuItem.Text = "&Print";
				editToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
	    toolStripSeparator3,
	    copyToolStripMenuItem,
	    toolStripSeparator4,
	    selectAllToolStripMenuItem});
				editToolStripMenuItem.MergeAction = MergeAction.Insert;
				editToolStripMenuItem.MergeIndex = 1;
				editToolStripMenuItem.Name = "editToolStripMenuItem";
				editToolStripMenuItem.Size = new Size (59, 20);
				editToolStripMenuItem.Text = "&Paranda";
				toolStripSeparator3.Name = "toolStripSeparator3";
				toolStripSeparator3.Size = new Size (157, 6);
				copyToolStripMenuItem.Name = "copyToolStripMenuItem";
				copyToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control | Keys.C)));
				copyToolStripMenuItem.Size = new Size (160, 22);
				copyToolStripMenuItem.Text = "Kopeeri";
				toolStripSeparator4.Name = "toolStripSeparator4";
				toolStripSeparator4.Size = new Size (157, 6);
				selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
				selectAllToolStripMenuItem.Size = new Size (160, 22);
				selectAllToolStripMenuItem.Text = "selectAllToolStripMenuItem";
				toolsToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
	    addToolStripMenuItem,
	    deleteToolStripMenuItem,
	    filterToolStripMenuItem});
				toolsToolStripMenuItem.MergeAction = MergeAction.Insert;
				toolsToolStripMenuItem.MergeIndex = 2;
				toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
				toolsToolStripMenuItem.Size = new Size (60, 20);
				toolsToolStripMenuItem.Text = "&Tegevus";
				addToolStripMenuItem.Name = "addToolStripMenuItem";
				addToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control | Keys.N)));
				addToolStripMenuItem.Size = new Size (160, 22);
				addToolStripMenuItem.Text = "Lisa";
				deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
				deleteToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control |
			Keys.T)));
				deleteToolStripMenuItem.Size = new Size (160, 22);
				deleteToolStripMenuItem.Text = "Kustuta";
				filterToolStripMenuItem.ImageTransparentColor =
			Color.Silver;
				filterToolStripMenuItem.Name = "filterToolStripMenuItem";
				filterToolStripMenuItem.ShortcutKeys = Keys.F11;
				filterToolStripMenuItem.Size = new Size (160, 22);
				filterToolStripMenuItem.Text = "Tingimus";
				helpToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
	    searchToolStripMenuItem});
				helpToolStripMenuItem.MergeAction = MergeAction.MatchOnly;
				helpToolStripMenuItem.Name = "helpToolStripMenuItem";
				helpToolStripMenuItem.Size = new Size (34, 20);
				helpToolStripMenuItem.Text = "&Abi";
				searchToolStripMenuItem.MergeAction = MergeAction.Insert;
				searchToolStripMenuItem.MergeIndex = 1;
				searchToolStripMenuItem.Name = "searchToolStripMenuItem";
				searchToolStripMenuItem.ShortcutKeys = Keys.F1;
				searchToolStripMenuItem.Size = new Size (160, 22);
				searchToolStripMenuItem.Text = "&Otsi teemat";

				AutoScaleDimensions = new SizeF (6F, 13F);
				ClientSize = new Size (337, 272);
				Controls.Add (menuStrip1);
			}
Ejemplo n.º 20
0
 private void Diseño_Forma()
 {
     pic_Logo   = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Caja));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator             = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2            = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     movimientoToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     retirarToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     ingresarToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     realizarCorteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     pic_Caja         = new System.Windows.Forms.PictureBox();
     groupBoxdatos    = new System.Windows.Forms.GroupBox();
     dateTime_Fecha   = new System.Windows.Forms.DateTimePicker();
     combo_Concepto   = new System.Windows.Forms.ComboBox();
     lbl_Unidad       = new System.Windows.Forms.Label();
     txt_DineroActual = new System.Windows.Forms.TextBox();
     txt_Movimiento   = new System.Windows.Forms.TextBox();
     txt_DineroCaja   = new System.Windows.Forms.TextBox();
     lbl_Fecha        = new System.Windows.Forms.Label();
     lbl_Concepto     = new System.Windows.Forms.Label();
     lbl_Movimiento   = new System.Windows.Forms.Label();
     lbl_MontoInicial = new System.Windows.Forms.Label();
     errorProvider1   = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).BeginInit();
     groupBoxdatos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         archivoToolStripMenuItem,
         movimientoToolStripMenuItem,
         ayudaToolStripMenuItem
     });
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new System.Drawing.Size(572, 24);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text     = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         nuevoToolStripMenuItem,
         toolStripSeparator,
         guardarToolStripMenuItem,
         toolStripSeparator2,
         salirToolStripMenuItem
     });
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name         = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size         = new System.Drawing.Size(156, 22);
     nuevoToolStripMenuItem.Text         = "&Nuevo";
     nuevoToolStripMenuItem.Click       += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(153, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name         = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size         = new System.Drawing.Size(156, 22);
     guardarToolStripMenuItem.Text         = "&Guardar";
     guardarToolStripMenuItem.Click       += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name   = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
     salirToolStripMenuItem.Text   = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // movimientoToolStripMenuItem
     //
     movimientoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         retirarToolStripMenuItem,
         ingresarToolStripMenuItem,
         realizarCorteToolStripMenuItem
     });
     movimientoToolStripMenuItem.Name = "movimientoToolStripMenuItem";
     movimientoToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
     movimientoToolStripMenuItem.Text = "Movimiento";
     //
     // retirarToolStripMenuItem
     //
     retirarToolStripMenuItem.Name   = "retirarToolStripMenuItem";
     retirarToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Retirar;
     retirarToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     retirarToolStripMenuItem.Text   = "Retirar";
     retirarToolStripMenuItem.Click += new System.EventHandler(retirarToolStripMenuItem_Click);
     //
     // ingresarToolStripMenuItem
     //
     ingresarToolStripMenuItem.Name   = "ingresarToolStripMenuItem";
     ingresarToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Ingresar;
     ingresarToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     ingresarToolStripMenuItem.Text   = "Ingresar";
     ingresarToolStripMenuItem.Click += new System.EventHandler(ingresarToolStripMenuItem_Click);
     //
     // realizarCorteToolStripMenuItem
     //
     realizarCorteToolStripMenuItem.Name   = "realizarCorteToolStripMenuItem";
     realizarCorteToolStripMenuItem.Image  = global::Sistema_Shajobe.Properties.Resources.Calcular;
     realizarCorteToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     realizarCorteToolStripMenuItem.Text   = "Realizar corte";
     realizarCorteToolStripMenuItem.Click += new System.EventHandler(CorteCajaToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         acercadeToolStripMenuItem
     });
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Caja
     //
     pic_Caja.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Caja;
     pic_Caja.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Caja.Location = new System.Drawing.Point(473, 25);
     pic_Caja.Name     = "pic_Caja";
     pic_Caja.Size     = new System.Drawing.Size(85, 67);
     pic_Caja.TabIndex = 23;
     pic_Caja.TabStop  = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.Controls.Add(dateTime_Fecha);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(combo_Concepto);
     groupBoxdatos.Controls.Add(lbl_Unidad);
     groupBoxdatos.Controls.Add(txt_DineroActual);
     groupBoxdatos.Controls.Add(txt_Movimiento);
     groupBoxdatos.Controls.Add(txt_DineroCaja);
     groupBoxdatos.Controls.Add(lbl_Fecha);
     groupBoxdatos.Controls.Add(lbl_Concepto);
     groupBoxdatos.Controls.Add(lbl_Movimiento);
     groupBoxdatos.Controls.Add(lbl_MontoInicial);
     groupBoxdatos.Location = new System.Drawing.Point(4, 43);
     groupBoxdatos.Name     = "groupBoxdatos";
     groupBoxdatos.Size     = new System.Drawing.Size(555, 186);
     groupBoxdatos.TabIndex = 22;
     groupBoxdatos.TabStop  = false;
     groupBoxdatos.Text     = "Datos de movimientos de caja";
     //
     // dateTime_Fecha
     //
     dateTime_Fecha.Location = new System.Drawing.Point(126, 89);
     dateTime_Fecha.Name     = "dateTime_Fecha";
     dateTime_Fecha.Size     = new System.Drawing.Size(200, 20);
     dateTime_Fecha.TabIndex = 58;
     dateTime_Fecha.Enabled  = false;
     //
     // combo_Concepto
     //
     combo_Concepto.FormattingEnabled = true;
     combo_Concepto.Location          = new System.Drawing.Point(126, 116);
     combo_Concepto.Name     = "combo_Concepto";
     combo_Concepto.Size     = new System.Drawing.Size(156, 21);
     combo_Concepto.TabIndex = 57;
     combo_Concepto.Enabled  = false;
     //
     // lbl_Unidad
     //
     lbl_Unidad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                               | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(27, 151);
     lbl_Unidad.Name     = "lbl_Unidad";
     lbl_Unidad.Size     = new System.Drawing.Size(70, 13);
     lbl_Unidad.TabIndex = 55;
     lbl_Unidad.Text     = "Dinero actual";
     //
     // txt_DineroActual
     //
     txt_DineroActual.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroActual.Enabled   = false;
     txt_DineroActual.Location  = new System.Drawing.Point(126, 144);
     txt_DineroActual.MaxLength = 9;
     txt_DineroActual.Name      = "txt_DineroActual";
     txt_DineroActual.Size      = new System.Drawing.Size(127, 20);
     txt_DineroActual.TabIndex  = 53;
     //
     // txt_Movimiento
     //
     txt_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     txt_Movimiento.Enabled   = false;
     txt_Movimiento.Location  = new System.Drawing.Point(126, 62);
     txt_Movimiento.MaxLength = 25;
     txt_Movimiento.Name      = "txt_Movimiento";
     txt_Movimiento.Size      = new System.Drawing.Size(127, 20);
     txt_Movimiento.TabIndex  = 46;
     //
     // txt_DineroCaja
     //
     txt_DineroCaja.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     txt_DineroCaja.Enabled   = false;
     txt_DineroCaja.Location  = new System.Drawing.Point(126, 35);
     txt_DineroCaja.MaxLength = 8;
     txt_DineroCaja.Name      = "txt_DineroCaja";
     txt_DineroCaja.Size      = new System.Drawing.Size(127, 20);
     txt_DineroCaja.TabIndex  = 37;
     //
     // lbl_Fecha
     //
     lbl_Fecha.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                              | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(27, 96);
     lbl_Fecha.Name     = "lbl_Fecha";
     lbl_Fecha.Size     = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 44;
     lbl_Fecha.Text     = "Fecha";
     //
     // lbl_Concepto
     //
     lbl_Concepto.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Concepto.AutoSize = true;
     lbl_Concepto.Location = new System.Drawing.Point(27, 124);
     lbl_Concepto.Name     = "lbl_Concepto";
     lbl_Concepto.Size     = new System.Drawing.Size(53, 13);
     lbl_Concepto.TabIndex = 38;
     lbl_Concepto.Text     = "Concepto";
     //
     // lbl_Movimiento
     //
     lbl_Movimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Movimiento.AutoSize = true;
     lbl_Movimiento.Location = new System.Drawing.Point(27, 69);
     lbl_Movimiento.Name     = "lbl_Movimiento";
     lbl_Movimiento.Size     = new System.Drawing.Size(61, 13);
     lbl_Movimiento.TabIndex = 36;
     lbl_Movimiento.Text     = "Movimiento";
     //
     // lbl_MontoInicial
     //
     lbl_MontoInicial.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     lbl_MontoInicial.AutoSize = true;
     lbl_MontoInicial.Location = new System.Drawing.Point(27, 42);
     lbl_MontoInicial.Name     = "lbl_MontoInicial";
     lbl_MontoInicial.Size     = new System.Drawing.Size(76, 13);
     lbl_MontoInicial.TabIndex = 35;
     lbl_MontoInicial.Text     = "Dinero en caja";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage       = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(380, 80);
     pic_Logo.Name     = "pic_Logo";
     pic_Logo.Size     = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop  = false;
     //
     // Caja
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize          = new System.Drawing.Size(572, 238);
     Controls.Add(pic_Caja);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     Icon          = global::Sistema_Shajobe.Properties.Resources.Caja_ICO;
     MaximizeBox   = false;
     Name          = "Caja";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text          = "Caja";
     Load         += new System.EventHandler(Caja_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Caja)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components_ = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     mainMenu_           = new System.Windows.Forms.MenuStrip();
     fileMi_             = new System.Windows.Forms.ToolStripMenuItem();
     exitMi_             = new System.Windows.Forms.ToolStripMenuItem();
     serverMi_           = new System.Windows.Forms.ToolStripMenuItem();
     connectMi_          = new System.Windows.Forms.ToolStripMenuItem();
     disconnecMi_        = new System.Windows.Forms.ToolStripMenuItem();
     separatorS1_        = new System.Windows.Forms.ToolStripMenuItem();
     viewStatusMi_       = new System.Windows.Forms.ToolStripMenuItem();
     viewAttributesMi_   = new System.Windows.Forms.ToolStripMenuItem();
     viewAggregatesMi_   = new System.Windows.Forms.ToolStripMenuItem();
     browseItemsMi_      = new System.Windows.Forms.ToolStripMenuItem();
     outputMi_           = new System.Windows.Forms.ToolStripMenuItem();
     outputClearMi_      = new System.Windows.Forms.ToolStripMenuItem();
     optionsMi_          = new System.Windows.Forms.ToolStripMenuItem();
     clearHistoryMi_     = new System.Windows.Forms.ToolStripMenuItem();
     helpMi_             = new System.Windows.Forms.ToolStripMenuItem();
     aboutMi_            = new System.Windows.Forms.ToolStripMenuItem();
     toolBar_            = new System.Windows.Forms.ToolStrip();
     toolBarImageList_   = new System.Windows.Forms.ImageList(components_);
     connectBtn_         = new System.Windows.Forms.ToolStripButton();
     disconnectBtn_      = new System.Windows.Forms.ToolStripButton();
     viewStatusBtn_      = new System.Windows.Forms.ToolStripButton();
     browseBtn_          = new System.Windows.Forms.ToolStripButton();
     aboutBtn_           = new System.Windows.Forms.ToolStripButton();
     bottomPn_           = new System.Windows.Forms.Panel();
     outputCtrl_         = new System.Windows.Forms.RichTextBox();
     splitterH_          = new System.Windows.Forms.Splitter();
     splitterV_          = new System.Windows.Forms.Splitter();
     leftPn_             = new System.Windows.Forms.Panel();
     trendsCtrl_         = new SampleClients.Hda.Trend.TrendTreeCtrl();
     rightPn_            = new System.Windows.Forms.Panel();
     valuesCtrl_         = new SampleClients.Hda.Item.ItemValuesCtrl();
     selectServerCtrl_   = new SampleClients.Common.SelectServerCtrl();
     statusCtrl_         = new SampleClients.Hda.Server.ServerStatusCtrl();
     updateTimerControl_ = new System.Windows.Forms.Timer(components_);
     mainMenu_.SuspendLayout();
     toolBar_.SuspendLayout();
     bottomPn_.SuspendLayout();
     leftPn_.SuspendLayout();
     rightPn_.SuspendLayout();
     SuspendLayout();
     //
     // mainMenu_
     //
     mainMenu_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         fileMi_,
         serverMi_,
         outputMi_,
         optionsMi_,
         helpMi_
     });
     mainMenu_.Location = new System.Drawing.Point(0, 0);
     mainMenu_.Name     = "mainMenu_";
     mainMenu_.Size     = new System.Drawing.Size(200, 24);
     mainMenu_.TabIndex = 0;
     //
     // fileMi_
     //
     fileMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         exitMi_
     });
     fileMi_.Name = "fileMi_";
     fileMi_.Size = new System.Drawing.Size(37, 20);
     fileMi_.Text = "&File";
     //
     // exitMi_
     //
     exitMi_.Name   = "exitMi_";
     exitMi_.Size   = new System.Drawing.Size(93, 22);
     exitMi_.Text   = "&Exit";
     exitMi_.Click += new System.EventHandler(ExitMI_Click);
     //
     // serverMi_
     //
     serverMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         connectMi_,
         disconnecMi_,
         separatorS1_,
         viewStatusMi_,
         viewAttributesMi_,
         viewAggregatesMi_,
         browseItemsMi_
     });
     serverMi_.Name = "serverMi_";
     serverMi_.Size = new System.Drawing.Size(51, 20);
     serverMi_.Text = "&Server";
     //
     // connectMi_
     //
     connectMi_.Name   = "connectMi_";
     connectMi_.Size   = new System.Drawing.Size(171, 22);
     connectMi_.Text   = "&Connect";
     connectMi_.Click += new System.EventHandler(ConnectMI_Click);
     //
     // disconnecMi_
     //
     disconnecMi_.Name   = "disconnecMi_";
     disconnecMi_.Size   = new System.Drawing.Size(171, 22);
     disconnecMi_.Text   = "&Disconnect";
     disconnecMi_.Click += new System.EventHandler(DisconnectMI_Click);
     //
     // separatorS1_
     //
     separatorS1_.Name = "separatorS1_";
     separatorS1_.Size = new System.Drawing.Size(171, 22);
     separatorS1_.Text = "-";
     //
     // viewStatusMi_
     //
     viewStatusMi_.Name   = "viewStatusMi_";
     viewStatusMi_.Size   = new System.Drawing.Size(171, 22);
     viewStatusMi_.Text   = "&View Status...";
     viewStatusMi_.Click += new System.EventHandler(ViewStatusMI_Click);
     //
     // viewAttributesMi_
     //
     viewAttributesMi_.Name   = "viewAttributesMi_";
     viewAttributesMi_.Size   = new System.Drawing.Size(171, 22);
     viewAttributesMi_.Text   = "View &Attributes...";
     viewAttributesMi_.Click += new System.EventHandler(ViewAttributesMI_Click);
     //
     // viewAggregatesMi_
     //
     viewAggregatesMi_.Name   = "viewAggregatesMi_";
     viewAggregatesMi_.Size   = new System.Drawing.Size(171, 22);
     viewAggregatesMi_.Text   = "View A&ggregates...";
     viewAggregatesMi_.Click += new System.EventHandler(ViewAggregatesMI_Click);
     //
     // browseItemsMi_
     //
     browseItemsMi_.Name   = "browseItemsMi_";
     browseItemsMi_.Size   = new System.Drawing.Size(171, 22);
     browseItemsMi_.Text   = "&Browse Items...";
     browseItemsMi_.Click += new System.EventHandler(BrowseMI_Click);
     //
     // outputMi_
     //
     outputMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         outputClearMi_
     });
     outputMi_.Name = "outputMi_";
     outputMi_.Size = new System.Drawing.Size(57, 20);
     outputMi_.Text = "&Output";
     //
     // outputClearMi_
     //
     outputClearMi_.Name   = "outputClearMi_";
     outputClearMi_.Size   = new System.Drawing.Size(101, 22);
     outputClearMi_.Text   = "&Clear";
     outputClearMi_.Click += new System.EventHandler(OutputClearMI_Click);
     //
     // optionsMi_
     //
     optionsMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         clearHistoryMi_
     });
     optionsMi_.Name = "optionsMi_";
     optionsMi_.Size = new System.Drawing.Size(61, 20);
     optionsMi_.Text = "O&ptions";
     //
     // clearHistoryMi_
     //
     clearHistoryMi_.Name   = "clearHistoryMi_";
     clearHistoryMi_.Size   = new System.Drawing.Size(142, 22);
     clearHistoryMi_.Text   = "&Clear History";
     clearHistoryMi_.Click += new System.EventHandler(ClearHistoryMI_Click);
     //
     // helpMi_
     //
     helpMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         aboutMi_
     });
     helpMi_.Name = "helpMi_";
     helpMi_.Size = new System.Drawing.Size(44, 20);
     helpMi_.Text = "&Help";
     //
     // aboutMi_
     //
     aboutMi_.Name   = "aboutMi_";
     aboutMi_.Size   = new System.Drawing.Size(116, 22);
     aboutMi_.Text   = "&About...";
     aboutMi_.Click += new System.EventHandler(AboutMI_Click);
     //
     // toolBar_
     //
     toolBar_.ImageList = toolBarImageList_;
     toolBar_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         connectBtn_,
         disconnectBtn_,
         viewStatusBtn_,
         browseBtn_,
         aboutBtn_
     });
     toolBar_.Location = new System.Drawing.Point(0, 0);
     toolBar_.Name     = "toolBar_";
     toolBar_.Size     = new System.Drawing.Size(1016, 25);
     toolBar_.TabIndex = 0;
     //
     // toolBarImageList_
     //
     toolBarImageList_.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     toolBarImageList_.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolBarImageList_.ImageStream")));
     toolBarImageList_.TransparentColor = System.Drawing.Color.Teal;
     toolBarImageList_.Images.SetKeyName(0, "");
     toolBarImageList_.Images.SetKeyName(1, "");
     toolBarImageList_.Images.SetKeyName(2, "");
     toolBarImageList_.Images.SetKeyName(3, "");
     toolBarImageList_.Images.SetKeyName(4, "");
     toolBarImageList_.Images.SetKeyName(5, "");
     toolBarImageList_.Images.SetKeyName(6, "");
     toolBarImageList_.Images.SetKeyName(7, "");
     toolBarImageList_.Images.SetKeyName(8, "");
     toolBarImageList_.Images.SetKeyName(9, "");
     toolBarImageList_.Images.SetKeyName(10, "");
     toolBarImageList_.Images.SetKeyName(11, "");
     toolBarImageList_.Images.SetKeyName(12, "");
     toolBarImageList_.Images.SetKeyName(13, "");
     //
     // connectBtn_
     //
     connectBtn_.ImageIndex  = 0;
     connectBtn_.Name        = "connectBtn_";
     connectBtn_.Size        = new System.Drawing.Size(23, 22);
     connectBtn_.ToolTipText = "Connect to Server";
     connectBtn_.Click      += new System.EventHandler(ConnectMI_Click);
     //
     // disconnectBtn_
     //
     disconnectBtn_.ImageIndex  = 1;
     disconnectBtn_.Name        = "disconnectBtn_";
     disconnectBtn_.Size        = new System.Drawing.Size(23, 22);
     disconnectBtn_.ToolTipText = "Disconnect from Server";
     disconnectBtn_.Click      += new System.EventHandler(DisconnectMI_Click);
     //
     // viewStatusBtn_
     //
     viewStatusBtn_.ImageIndex  = 4;
     viewStatusBtn_.Name        = "viewStatusBtn_";
     viewStatusBtn_.Size        = new System.Drawing.Size(23, 22);
     viewStatusBtn_.ToolTipText = "View Server Status";
     viewStatusBtn_.Click      += new System.EventHandler(ViewStatusMI_Click);
     //
     // browseBtn_
     //
     browseBtn_.ImageIndex  = 6;
     browseBtn_.Name        = "browseBtn_";
     browseBtn_.Size        = new System.Drawing.Size(23, 22);
     browseBtn_.ToolTipText = "Browse Address Space";
     browseBtn_.Click      += new System.EventHandler(BrowseMI_Click);
     //
     // aboutBtn_
     //
     aboutBtn_.ImageIndex  = 13;
     aboutBtn_.Name        = "aboutBtn_";
     aboutBtn_.Size        = new System.Drawing.Size(23, 22);
     aboutBtn_.ToolTipText = "About";
     aboutBtn_.Click      += new System.EventHandler(AboutMI_Click);
     //
     // bottomPn_
     //
     bottomPn_.Controls.Add(outputCtrl_);
     bottomPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     bottomPn_.Location = new System.Drawing.Point(0, 568);
     bottomPn_.Name     = "bottomPn_";
     bottomPn_.Size     = new System.Drawing.Size(1016, 123);
     bottomPn_.TabIndex = 3;
     //
     // outputCtrl_
     //
     outputCtrl_.Dock     = System.Windows.Forms.DockStyle.Fill;
     outputCtrl_.Location = new System.Drawing.Point(0, 0);
     outputCtrl_.Name     = "outputCtrl_";
     outputCtrl_.Size     = new System.Drawing.Size(1016, 123);
     outputCtrl_.TabIndex = 0;
     outputCtrl_.Text     = "";
     //
     // splitterH_
     //
     splitterH_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     splitterH_.Location = new System.Drawing.Point(0, 565);
     splitterH_.Name     = "splitterH_";
     splitterH_.Size     = new System.Drawing.Size(1016, 3);
     splitterH_.TabIndex = 4;
     splitterH_.TabStop  = false;
     //
     // splitterV_
     //
     splitterV_.Location = new System.Drawing.Point(317, 52);
     splitterV_.Name     = "splitterV_";
     splitterV_.Size     = new System.Drawing.Size(3, 513);
     splitterV_.TabIndex = 5;
     splitterV_.TabStop  = false;
     //
     // leftPn_
     //
     leftPn_.Controls.Add(trendsCtrl_);
     leftPn_.Dock     = System.Windows.Forms.DockStyle.Left;
     leftPn_.Location = new System.Drawing.Point(0, 52);
     leftPn_.Name     = "leftPn_";
     leftPn_.Padding  = new System.Windows.Forms.Padding(0, 3, 0, 0);
     leftPn_.Size     = new System.Drawing.Size(317, 513);
     leftPn_.TabIndex = 6;
     //
     // trendsCtrl_
     //
     trendsCtrl_.Dock           = System.Windows.Forms.DockStyle.Fill;
     trendsCtrl_.Location       = new System.Drawing.Point(0, 3);
     trendsCtrl_.Name           = "trendsCtrl_";
     trendsCtrl_.Size           = new System.Drawing.Size(317, 510);
     trendsCtrl_.TabIndex       = 0;
     trendsCtrl_.TrendChanged  += new SampleClients.Hda.Trend.TrendTreeCtrl.TrendChangedEventHandler(TrendsCTRL_TrendChanged);
     trendsCtrl_.TrendSelected += new SampleClients.Hda.Trend.TrendTreeCtrl.TrendSelectedEventHandler(TrendsCTRL_TrendSelected);
     //
     // rightPn_
     //
     rightPn_.Controls.Add(valuesCtrl_);
     rightPn_.Dock     = System.Windows.Forms.DockStyle.Fill;
     rightPn_.Location = new System.Drawing.Point(320, 52);
     rightPn_.Name     = "rightPn_";
     rightPn_.Padding  = new System.Windows.Forms.Padding(0, 3, 0, 0);
     rightPn_.Size     = new System.Drawing.Size(696, 513);
     rightPn_.TabIndex = 7;
     //
     // valuesCtrl_
     //
     valuesCtrl_.DisplayGraph = true;
     valuesCtrl_.Dock         = System.Windows.Forms.DockStyle.Fill;
     valuesCtrl_.Location     = new System.Drawing.Point(0, 3);
     valuesCtrl_.Name         = "valuesCtrl_";
     valuesCtrl_.ReadOnly     = false;
     valuesCtrl_.Size         = new System.Drawing.Size(696, 510);
     valuesCtrl_.TabIndex     = 0;
     //
     // selectServerCtrl_
     //
     selectServerCtrl_.Dock     = System.Windows.Forms.DockStyle.Top;
     selectServerCtrl_.Label    = "Server";
     selectServerCtrl_.Location = new System.Drawing.Point(0, 25);
     selectServerCtrl_.Name     = "selectServerCtrl_";
     selectServerCtrl_.Padding  = new System.Windows.Forms.Padding(4, 0, 4, 0);
     selectServerCtrl_.Size     = new System.Drawing.Size(1016, 27);
     selectServerCtrl_.TabIndex = 0;
     //
     // statusCtrl_
     //
     statusCtrl_.Location = new System.Drawing.Point(0, 691);
     statusCtrl_.Name     = "statusCtrl_";
     statusCtrl_.Size     = new System.Drawing.Size(1016, 22);
     statusCtrl_.TabIndex = 8;
     //
     // updateTimerControl_
     //
     updateTimerControl_.Interval = 10000;
     updateTimerControl_.Tick    += new System.EventHandler(UpdateTimerCtrlTick);
     //
     // MainForm
     //
     AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     ClientSize        = new System.Drawing.Size(1016, 713);
     Controls.Add(rightPn_);
     Controls.Add(splitterV_);
     Controls.Add(leftPn_);
     Controls.Add(splitterH_);
     Controls.Add(bottomPn_);
     Controls.Add(statusCtrl_);
     Controls.Add(selectServerCtrl_);
     Controls.Add(toolBar_);
     MainMenuStrip = mainMenu_;
     Name          = "MainForm";
     Text          = "OPC HDA Sample Client";
     mainMenu_.ResumeLayout(false);
     mainMenu_.PerformLayout();
     toolBar_.ResumeLayout(false);
     toolBar_.PerformLayout();
     bottomPn_.ResumeLayout(false);
     leftPn_.ResumeLayout(false);
     rightPn_.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 22
0
 private void Diseño_Forma()
 {
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ingredientes_Empaques));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     presentaciónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     empaqueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     panel_Ingredientes = new System.Windows.Forms.Panel();
     lbl_Cantidad_Mpp = new System.Windows.Forms.Label();
     lbl_Cantidad_Mp = new System.Windows.Forms.Label();
     lbl_Cantidad_PElaborado = new System.Windows.Forms.Label();
     txt_SinRebaba = new System.Windows.Forms.TextBox();
     button5 = new System.Windows.Forms.Button();
     bttn_AgregarSinRebaba = new System.Windows.Forms.Button();
     txt_ConRebaba = new System.Windows.Forms.TextBox();
     bttn_QuitarConRebaba = new System.Windows.Forms.Button();
     bttn_AgregarConRebaba = new System.Windows.Forms.Button();
     txt_ProdElabCant = new System.Windows.Forms.TextBox();
     bttn_QuitarProdElab = new System.Windows.Forms.Button();
     bttn_AgregarProdElab = new System.Windows.Forms.Button();
     groupBox4 = new System.Windows.Forms.GroupBox();
     data_ListaSinRebaba = new System.Windows.Forms.DataGridView();
     Id_MateriaPrimaPp = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombre_p = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidadp = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox3 = new System.Windows.Forms.GroupBox();
     data_SinRebaba = new System.Windows.Forms.DataGridView();
     groupBox5 = new System.Windows.Forms.GroupBox();
     data_ListaConRebaba = new System.Windows.Forms.DataGridView();
     Id_MateriaPrimam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_TipoPiezam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lote = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombre_m = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Tipo_Pieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidadm = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox2 = new System.Windows.Forms.GroupBox();
     data_ConRebaba = new System.Windows.Forms.DataGridView();
     groupBox6 = new System.Windows.Forms.GroupBox();
     data_ListaProdElab = new System.Windows.Forms.DataGridView();
     Id_ProductoElaboradoe = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombree = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidade = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox1 = new System.Windows.Forms.GroupBox();
     data_ProdElaborado = new System.Windows.Forms.DataGridView();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     Id_MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombrep = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fotop = new System.Windows.Forms.DataGridViewImageColumn();
     Id_MateriaPrima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_TipoPieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombrem = new System.Windows.Forms.DataGridViewTextBoxColumn();
     TipoPieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lotem = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fotom = new System.Windows.Forms.DataGridViewImageColumn();
     Id_ProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Foto = new System.Windows.Forms.DataGridViewImageColumn();
     NombrePE = new System.Windows.Forms.DataGridViewTextBoxColumn();
     menuStrip1.SuspendLayout();
     panel_Ingredientes.SuspendLayout();
     groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ListaSinRebaba)).BeginInit();
     groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_SinRebaba)).BeginInit();
     groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ListaConRebaba)).BeginInit();
     groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ConRebaba)).BeginInit();
     groupBox6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ListaProdElab)).BeginInit();
     groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProdElaborado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     presentaciónToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(788, 24);
     menuStrip1.TabIndex = 4;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     toolStripSeparator3,
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // toolStripSeparator3
     //
     toolStripSeparator3.Name = "toolStripSeparator3";
     toolStripSeparator3.Size = new System.Drawing.Size(114, 6);
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     //
     // presentaciónToolStripMenuItem
     //
     presentaciónToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     empaqueToolStripMenuItem});
     presentaciónToolStripMenuItem.Name = "presentaciónToolStripMenuItem";
     presentaciónToolStripMenuItem.Size = new System.Drawing.Size(81, 20);
     presentaciónToolStripMenuItem.Text = "Presentación";
     //
     // empaqueToolStripMenuItem
     //
     empaqueToolStripMenuItem.Name = "empaqueToolStripMenuItem";
     empaqueToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
     empaqueToolStripMenuItem.Text = "Empaque";
     empaqueToolStripMenuItem.Click += new System.EventHandler(empaqueToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // panel_Ingredientes
     //
     panel_Ingredientes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     panel_Ingredientes.Controls.Add(lbl_Cantidad_Mpp);
     panel_Ingredientes.Controls.Add(lbl_Cantidad_Mp);
     panel_Ingredientes.Controls.Add(lbl_Cantidad_PElaborado);
     panel_Ingredientes.Controls.Add(txt_SinRebaba);
     panel_Ingredientes.Controls.Add(button5);
     panel_Ingredientes.Controls.Add(bttn_AgregarSinRebaba);
     panel_Ingredientes.Controls.Add(txt_ConRebaba);
     panel_Ingredientes.Controls.Add(bttn_QuitarConRebaba);
     panel_Ingredientes.Controls.Add(bttn_AgregarConRebaba);
     panel_Ingredientes.Controls.Add(txt_ProdElabCant);
     panel_Ingredientes.Controls.Add(bttn_QuitarProdElab);
     panel_Ingredientes.Controls.Add(bttn_AgregarProdElab);
     panel_Ingredientes.Controls.Add(groupBox4);
     panel_Ingredientes.Controls.Add(groupBox3);
     panel_Ingredientes.Controls.Add(groupBox5);
     panel_Ingredientes.Controls.Add(groupBox2);
     panel_Ingredientes.Controls.Add(groupBox6);
     panel_Ingredientes.Controls.Add(groupBox1);
     panel_Ingredientes.Location = new System.Drawing.Point(-9, 27);
     panel_Ingredientes.Name = "panel_Ingredientes";
     panel_Ingredientes.Size = new System.Drawing.Size(804, 603);
     panel_Ingredientes.TabIndex = 5;
     //
     // lbl_Cantidad_Mpp
     //
     lbl_Cantidad_Mpp.AutoSize = true;
     lbl_Cantidad_Mpp.Location = new System.Drawing.Point(316, 466);
     lbl_Cantidad_Mpp.Name = "lbl_Cantidad_Mpp";
     lbl_Cantidad_Mpp.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad_Mpp.TabIndex = 17;
     lbl_Cantidad_Mpp.Text = "Cantidad";
     //
     // lbl_Cantidad_Mp
     //
     lbl_Cantidad_Mp.AutoSize = true;
     lbl_Cantidad_Mp.Location = new System.Drawing.Point(316, 261);
     lbl_Cantidad_Mp.Name = "lbl_Cantidad_Mp";
     lbl_Cantidad_Mp.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad_Mp.TabIndex = 16;
     lbl_Cantidad_Mp.Text = "Cantidad";
     //
     // lbl_Cantidad_PElaborado
     //
     lbl_Cantidad_PElaborado.AutoSize = true;
     lbl_Cantidad_PElaborado.Location = new System.Drawing.Point(316, 68);
     lbl_Cantidad_PElaborado.Name = "lbl_Cantidad_PElaborado";
     lbl_Cantidad_PElaborado.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad_PElaborado.TabIndex = 15;
     lbl_Cantidad_PElaborado.Text = "Cantidad";
     //
     // txt_SinRebaba
     //
     txt_SinRebaba.Location = new System.Drawing.Point(319, 482);
     txt_SinRebaba.MaxLength = 9;
     txt_SinRebaba.Name = "txt_SinRebaba";
     txt_SinRebaba.Size = new System.Drawing.Size(100, 20);
     txt_SinRebaba.TabIndex = 14;
     txt_SinRebaba.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_SinRebaba_KeyPress);
     //
     // button5
     //
     button5.Location = new System.Drawing.Point(448, 511);
     button5.Name = "button5";
     button5.Size = new System.Drawing.Size(75, 23);
     button5.TabIndex = 13;
     button5.Text = "<<";
     button5.UseVisualStyleBackColor = true;
     //
     // bttn_AgregarSinRebaba
     //
     bttn_AgregarSinRebaba.Location = new System.Drawing.Point(448, 482);
     bttn_AgregarSinRebaba.Name = "bttn_AgregarSinRebaba";
     bttn_AgregarSinRebaba.Size = new System.Drawing.Size(75, 23);
     bttn_AgregarSinRebaba.TabIndex = 12;
     bttn_AgregarSinRebaba.Text = ">>";
     bttn_AgregarSinRebaba.UseVisualStyleBackColor = true;
     bttn_AgregarSinRebaba.Click += new System.EventHandler(button6_Click);
     //
     // txt_ConRebaba
     //
     txt_ConRebaba.Location = new System.Drawing.Point(319, 277);
     txt_ConRebaba.MaxLength = 9;
     txt_ConRebaba.Name = "txt_ConRebaba";
     txt_ConRebaba.Size = new System.Drawing.Size(100, 20);
     txt_ConRebaba.TabIndex = 11;
     txt_ConRebaba.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_ConRebaba_KeyPress);
     //
     // bttn_QuitarConRebaba
     //
     bttn_QuitarConRebaba.Location = new System.Drawing.Point(448, 306);
     bttn_QuitarConRebaba.Name = "bttn_QuitarConRebaba";
     bttn_QuitarConRebaba.Size = new System.Drawing.Size(75, 23);
     bttn_QuitarConRebaba.TabIndex = 10;
     bttn_QuitarConRebaba.Text = "<<";
     bttn_QuitarConRebaba.UseVisualStyleBackColor = true;
     //
     // bttn_AgregarConRebaba
     //
     bttn_AgregarConRebaba.Location = new System.Drawing.Point(448, 277);
     bttn_AgregarConRebaba.Name = "bttn_AgregarConRebaba";
     bttn_AgregarConRebaba.Size = new System.Drawing.Size(75, 23);
     bttn_AgregarConRebaba.TabIndex = 9;
     bttn_AgregarConRebaba.Text = ">>";
     bttn_AgregarConRebaba.UseVisualStyleBackColor = true;
     bttn_AgregarConRebaba.Click += new System.EventHandler(bttn_AgregarConRebaba_Click);
     //
     // txt_ProdElabCant
     //
     txt_ProdElabCant.Location = new System.Drawing.Point(319, 84);
     txt_ProdElabCant.MaxLength = 9;
     txt_ProdElabCant.Name = "txt_ProdElabCant";
     txt_ProdElabCant.Size = new System.Drawing.Size(100, 20);
     txt_ProdElabCant.TabIndex = 8;
     txt_ProdElabCant.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_ProdElabCant_KeyPress);
     //
     // bttn_QuitarProdElab
     //
     bttn_QuitarProdElab.Location = new System.Drawing.Point(448, 113);
     bttn_QuitarProdElab.Name = "bttn_QuitarProdElab";
     bttn_QuitarProdElab.Size = new System.Drawing.Size(75, 23);
     bttn_QuitarProdElab.TabIndex = 6;
     bttn_QuitarProdElab.Text = "<<";
     bttn_QuitarProdElab.UseVisualStyleBackColor = true;
     //
     // bttn_AgregarProdElab
     //
     bttn_AgregarProdElab.Location = new System.Drawing.Point(448, 84);
     bttn_AgregarProdElab.Name = "bttn_AgregarProdElab";
     bttn_AgregarProdElab.Size = new System.Drawing.Size(75, 23);
     bttn_AgregarProdElab.TabIndex = 5;
     bttn_AgregarProdElab.Text = ">>";
     bttn_AgregarProdElab.UseVisualStyleBackColor = true;
     bttn_AgregarProdElab.Click += new System.EventHandler(button1_Click);
     //
     // groupBox4
     //
     groupBox4.Controls.Add(data_ListaSinRebaba);
     groupBox4.Location = new System.Drawing.Point(529, 395);
     groupBox4.Name = "groupBox4";
     groupBox4.Size = new System.Drawing.Size(266, 200);
     groupBox4.TabIndex = 3;
     groupBox4.TabStop = false;
     groupBox4.Text = "Materia prima sin rebaba";
     //
     // data_ListaSinRebaba
     //
     data_ListaSinRebaba.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     data_ListaSinRebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ListaSinRebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_MateriaPrimaPp,
     Nombre_p,
     Cantidadp});
     data_ListaSinRebaba.Location = new System.Drawing.Point(6, 18);
     data_ListaSinRebaba.Name = "data_ListaSinRebaba";
     data_ListaSinRebaba.Size = new System.Drawing.Size(254, 174);
     data_ListaSinRebaba.TabIndex = 24;
     //
     // Id_MateriaPrimaPp
     //
     Id_MateriaPrimaPp.HeaderText = "Id_MateriaPrimaP";
     Id_MateriaPrimaPp.Name = "Id_MateriaPrimaPp";
     Id_MateriaPrimaPp.Visible = false;
     //
     // Nombre_p
     //
     Nombre_p.HeaderText = "Nombre";
     Nombre_p.Name = "Nombre_p";
     //
     // Cantidadp
     //
     Cantidadp.HeaderText = "Cantidad";
     Cantidadp.Name = "Cantidadp";
     //
     // groupBox3
     //
     groupBox3.Controls.Add(data_SinRebaba);
     groupBox3.Location = new System.Drawing.Point(6, 396);
     groupBox3.Name = "groupBox3";
     groupBox3.Size = new System.Drawing.Size(266, 200);
     groupBox3.TabIndex = 1;
     groupBox3.TabStop = false;
     groupBox3.Text = "Materia prima sin rebaba";
     //
     // data_SinRebaba
     //
     data_SinRebaba.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     data_SinRebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_SinRebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_MateriaPrimaP,
     Nombrep,
     Fotop});
     data_SinRebaba.Location = new System.Drawing.Point(6, 17);
     data_SinRebaba.Name = "data_SinRebaba";
     data_SinRebaba.Size = new System.Drawing.Size(254, 174);
     data_SinRebaba.TabIndex = 21;
     //
     // groupBox5
     //
     groupBox5.Controls.Add(data_ListaConRebaba);
     groupBox5.Location = new System.Drawing.Point(529, 197);
     groupBox5.Name = "groupBox5";
     groupBox5.Size = new System.Drawing.Size(266, 200);
     groupBox5.TabIndex = 4;
     groupBox5.TabStop = false;
     groupBox5.Text = "Materia prima con rebaba";
     //
     // data_ListaConRebaba
     //
     data_ListaConRebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ListaConRebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_MateriaPrimam,
     Id_TipoPiezam,
     Lote,
     Nombre_m,
     Tipo_Pieza,
     Cantidadm});
     data_ListaConRebaba.Location = new System.Drawing.Point(6, 19);
     data_ListaConRebaba.Name = "data_ListaConRebaba";
     data_ListaConRebaba.Size = new System.Drawing.Size(254, 174);
     data_ListaConRebaba.TabIndex = 23;
     //
     // Id_MateriaPrimam
     //
     Id_MateriaPrimam.HeaderText = "Id_MateriaPrima";
     Id_MateriaPrimam.Name = "Id_MateriaPrimam";
     Id_MateriaPrimam.Visible = false;
     //
     // Id_TipoPiezam
     //
     Id_TipoPiezam.HeaderText = "Id_TipoPieza";
     Id_TipoPiezam.Name = "Id_TipoPiezam";
     Id_TipoPiezam.Visible = false;
     //
     // Lote
     //
     Lote.HeaderText = "Lote";
     Lote.Name = "Lote";
     //
     // Nombre_m
     //
     Nombre_m.HeaderText = "Nombre";
     Nombre_m.Name = "Nombre_m";
     //
     // Tipo_Pieza
     //
     Tipo_Pieza.HeaderText = "Tipo pieza";
     Tipo_Pieza.Name = "Tipo_Pieza";
     //
     // Cantidadm
     //
     Cantidadm.HeaderText = "Cantidad";
     Cantidadm.Name = "Cantidadm";
     //
     // groupBox2
     //
     groupBox2.Controls.Add(data_ConRebaba);
     groupBox2.Location = new System.Drawing.Point(6, 198);
     groupBox2.Name = "groupBox2";
     groupBox2.Size = new System.Drawing.Size(266, 200);
     groupBox2.TabIndex = 1;
     groupBox2.TabStop = false;
     groupBox2.Text = "Materia prima con rebaba";
     //
     // data_ConRebaba
     //
     data_ConRebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ConRebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_MateriaPrima,
     Id_TipoPieza,
     Nombrem,
     TipoPieza,
     Lotem,
     Fotom});
     data_ConRebaba.Location = new System.Drawing.Point(6, 18);
     data_ConRebaba.Name = "data_ConRebaba";
     data_ConRebaba.Size = new System.Drawing.Size(254, 174);
     data_ConRebaba.TabIndex = 20;
     //
     // groupBox6
     //
     groupBox6.Controls.Add(data_ListaProdElab);
     groupBox6.Location = new System.Drawing.Point(529, -2);
     groupBox6.Name = "groupBox6";
     groupBox6.Size = new System.Drawing.Size(266, 200);
     groupBox6.TabIndex = 2;
     groupBox6.TabStop = false;
     groupBox6.Text = "Productos elaborados";
     //
     // data_ListaProdElab
     //
     data_ListaProdElab.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     data_ListaProdElab.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ListaProdElab.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_ProductoElaboradoe,
     Nombree,
     Cantidade});
     data_ListaProdElab.Location = new System.Drawing.Point(6, 19);
     data_ListaProdElab.Name = "data_ListaProdElab";
     data_ListaProdElab.Size = new System.Drawing.Size(254, 174);
     data_ListaProdElab.TabIndex = 22;
     //
     // Id_ProductoElaboradoe
     //
     Id_ProductoElaboradoe.HeaderText = "Id_ProductoElaborado";
     Id_ProductoElaboradoe.Name = "Id_ProductoElaboradoe";
     Id_ProductoElaboradoe.Visible = false;
     //
     // Nombree
     //
     Nombree.HeaderText = "Nombre";
     Nombree.Name = "Nombree";
     //
     // Cantidade
     //
     Cantidade.HeaderText = "Cantidad";
     Cantidade.Name = "Cantidade";
     //
     // groupBox1
     //
     groupBox1.Controls.Add(data_ProdElaborado);
     groupBox1.Location = new System.Drawing.Point(6, -1);
     groupBox1.Name = "groupBox1";
     groupBox1.Size = new System.Drawing.Size(266, 200);
     groupBox1.TabIndex = 0;
     groupBox1.TabStop = false;
     groupBox1.Text = "Productos elaborados";
     //
     // data_ProdElaborado
     //
     data_ProdElaborado.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     data_ProdElaborado.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ProdElaborado.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_ProductoElaborado,
     Foto,
     NombrePE});
     data_ProdElaborado.Location = new System.Drawing.Point(6, 18);
     data_ProdElaborado.Name = "data_ProdElaborado";
     data_ProdElaborado.Size = new System.Drawing.Size(254, 174);
     data_ProdElaborado.TabIndex = 19;
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Id_MateriaPrimaP
     //
     Id_MateriaPrimaP.HeaderText = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Name = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Visible = false;
     //
     // Nombrep
     //
     Nombrep.HeaderText = "Nombre";
     Nombrep.Name = "Nombrep";
     //
     // Fotop
     //
     Fotop.HeaderText = "Foto";
     Fotop.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     Fotop.MinimumWidth = 50;
     Fotop.Name = "Fotop";
     Fotop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Fotop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     Fotop.Visible = false;
     //
     // Id_MateriaPrima
     //
     Id_MateriaPrima.HeaderText = "Id_MateriaPrima";
     Id_MateriaPrima.Name = "Id_MateriaPrima";
     Id_MateriaPrima.Visible = false;
     //
     // Id_TipoPieza
     //
     Id_TipoPieza.HeaderText = "Id_TipoPieza";
     Id_TipoPieza.Name = "Id_TipoPieza";
     Id_TipoPieza.Visible = false;
     //
     // Nombrem
     //
     Nombrem.HeaderText = "Nombre";
     Nombrem.Name = "Nombrem";
     //
     // TipoPieza
     //
     TipoPieza.HeaderText = "Tipo pieza";
     TipoPieza.Name = "TipoPieza";
     //
     // Lotem
     //
     Lotem.HeaderText = "Lote";
     Lotem.Name = "Lotem";
     //
     // Fotom
     //
     Fotom.HeaderText = "Foto";
     Fotom.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     Fotom.MinimumWidth = 50;
     Fotom.Name = "Fotom";
     Fotom.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Fotom.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     Fotom.Visible = false;
     //
     // Id_ProductoElaborado
     //
     Id_ProductoElaborado.HeaderText = "Id_ProductoElaborado";
     Id_ProductoElaborado.Name = "Id_ProductoElaborado";
     Id_ProductoElaborado.Visible = false;
     //
     // Foto
     //
     Foto.HeaderText = "Foto";
     Foto.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     Foto.MinimumWidth = 50;
     Foto.Name = "Foto";
     Foto.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Foto.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     Foto.Visible = false;
     //
     // NombrePE
     //
     NombrePE.HeaderText = "Nombre";
     NombrePE.Name = "NombrePE";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Ingredientes_Empaques
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(788, 630);
     Controls.Add(panel_Ingredientes);
     Controls.Add(menuStrip1);
     MaximizeBox = false;
     Name = "Ingredientes_Empaques";
     Text = "Ingredientes empaques";
     Icon = global::Shajobe.Properties.Resources.Indirecto_ICO;
     Load += new System.EventHandler(Ingredientes_Empaques_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     panel_Ingredientes.ResumeLayout(false);
     panel_Ingredientes.PerformLayout();
     groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaSinRebaba)).EndInit();
     groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_SinRebaba)).EndInit();
     groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaConRebaba)).EndInit();
     groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ConRebaba)).EndInit();
     groupBox6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ListaProdElab)).EndInit();
     groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProdElaborado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 23
0
 private void InitializeComponent()
 {
     components = new Container();
     ComponentResourceManager resources = new ComponentResourceManager(typeof(WDSFrameWindow));
     timerFrameWin = new Timer(components);
     toolTip1 = new ToolTip(components);
     toolStrip1 = new ToolStrip();
     toolPreferences = new ToolStripButton();
     toolStripSeparator3 = new ToolStripSeparator();
     toolAddDevice = new ToolStripButton();
     toolStripSeparator4 = new ToolStripSeparator();
     toolCascade = new ToolStripButton();
     toolHelpAbout = new ToolStripButton();
     toolSupportedDevices = new ToolStripButton();
     toolSendFeedback = new ToolStripButton();
     mnuMainMenuStrip = new MenuStrip();
     startSimulationToolStripMenuItem = new ToolStripMenuItem();
     toolsToolStripMenuItem = new ToolStripMenuItem();
     sendFeedbackToolStripMenuItem = new ToolStripMenuItem();
     licenseManagerToolStripMenuItem = new ToolStripMenuItem();
     preferencesToolStripMenuItem = new ToolStripMenuItem();
     windowToolStripMenuItem = new ToolStripMenuItem();
     cascadeWindowsToolStripMenuItem = new ToolStripMenuItem();
     tileHorizontalToolStripMenuItem = new ToolStripMenuItem();
     tileVerticalToolStripMenuItem = new ToolStripMenuItem();
     toolStripMenuItem1 = new ToolStripSeparator();
     showLogWindowToolStripMenuItem = new ToolStripMenuItem();
     helpToolStripMenuItem = new ToolStripMenuItem();
     aboutWDSToolStripMenuItem = new ToolStripMenuItem();
     supportedDevicesToolStripMenuItem = new ToolStripMenuItem();
     productInformationToolStripMenuItem = new ToolStripMenuItem();
     ezRadioProToolStripMenuItem = new ToolStripMenuItem();
     eZRadioToolStripMenuItem = new ToolStripMenuItem();
     toolStrip1.SuspendLayout();
     mnuMainMenuStrip.SuspendLayout();
     base.SuspendLayout();
     timerFrameWin.Interval = 0x2710;
     timerFrameWin.Tick += new EventHandler(tmrFrameWin_Tick);
     toolStrip1.Items.AddRange(new ToolStripItem[] { toolPreferences, toolStripSeparator3, toolAddDevice, toolStripSeparator4, toolCascade, toolHelpAbout, toolSupportedDevices, toolSendFeedback });
     toolStrip1.Location = new Point(0, 0x18);
     toolStrip1.Name = "toolStrip1";
     toolStrip1.Size = new Size(0x259, 0x36);
     toolStrip1.TabIndex = 5;
     toolStrip1.Text = "toolStrip1";
     toolStrip1.Visible = false;
     toolPreferences.Image = Resources.preferences_32x32;
     toolPreferences.ImageScaling = ToolStripItemImageScaling.None;
     toolPreferences.ImageTransparentColor = Color.Magenta;
     toolPreferences.Name = "toolPreferences";
     toolPreferences.Size = new Size(0x48, 0x33);
     toolPreferences.Text = "&Preferences";
     toolPreferences.TextImageRelation = TextImageRelation.ImageAboveText;
     toolPreferences.Click += new EventHandler(toolPreferences_Click);
     toolStripSeparator3.Name = "toolStripSeparator3";
     toolStripSeparator3.Size = new Size(6, 0x36);
     toolAddDevice.Image = Resources.simulation_32x32;
     toolAddDevice.ImageScaling = ToolStripItemImageScaling.None;
     toolAddDevice.ImageTransparentColor = Color.Magenta;
     toolAddDevice.Name = "toolAddDevice";
     toolAddDevice.Size = new Size(0x83, 0x33);
     toolAddDevice.Text = "&Add Simulation Device";
     toolAddDevice.TextImageRelation = TextImageRelation.ImageAboveText;
     toolAddDevice.Click += new EventHandler(toolAddDevice_Click);
     toolStripSeparator4.Name = "toolStripSeparator4";
     toolStripSeparator4.Size = new Size(6, 0x36);
     toolCascade.Image = Resources.cascade_32x32;
     toolCascade.ImageScaling = ToolStripItemImageScaling.None;
     toolCascade.ImageTransparentColor = Color.Magenta;
     toolCascade.Name = "toolCascade";
     toolCascade.Size = new Size(0x6b, 0x33);
     toolCascade.Text = "Cascade Windows";
     toolCascade.TextImageRelation = TextImageRelation.ImageAboveText;
     toolCascade.Click += new EventHandler(toolCascade_Click);
     toolHelpAbout.Alignment = ToolStripItemAlignment.Right;
     toolHelpAbout.Image = Resources.about_32x32;
     toolHelpAbout.ImageScaling = ToolStripItemImageScaling.None;
     toolHelpAbout.ImageTransparentColor = Color.Magenta;
     toolHelpAbout.Name = "toolHelpAbout";
     toolHelpAbout.Size = new Size(0x2c, 0x33);
     toolHelpAbout.Text = "About";
     toolHelpAbout.TextImageRelation = TextImageRelation.ImageAboveText;
     toolHelpAbout.Click += new EventHandler(toolHelpAbout_Click);
     toolSupportedDevices.Alignment = ToolStripItemAlignment.Right;
     toolSupportedDevices.Image = Resources.supported_32x32;
     toolSupportedDevices.ImageScaling = ToolStripItemImageScaling.None;
     toolSupportedDevices.ImageTransparentColor = Color.Magenta;
     toolSupportedDevices.Name = "toolSupportedDevices";
     toolSupportedDevices.Size = new Size(0x6d, 0x33);
     toolSupportedDevices.Text = "Supported Devices";
     toolSupportedDevices.TextImageRelation = TextImageRelation.ImageAboveText;
     toolSupportedDevices.Click += new EventHandler(toolSupportedDevices_Click);
     toolSendFeedback.Alignment = ToolStripItemAlignment.Right;
     toolSendFeedback.Image = Resources.email_32x32;
     toolSendFeedback.ImageScaling = ToolStripItemImageScaling.None;
     toolSendFeedback.ImageTransparentColor = Color.Magenta;
     toolSendFeedback.Name = "toolSendFeedback";
     toolSendFeedback.Size = new Size(90, 0x33);
     toolSendFeedback.Text = "Send Feedback";
     toolSendFeedback.TextImageRelation = TextImageRelation.ImageAboveText;
     toolSendFeedback.Click += new EventHandler(toolSendFeedback_Click);
     mnuMainMenuStrip.Items.AddRange(new ToolStripItem[] { startSimulationToolStripMenuItem, toolsToolStripMenuItem, windowToolStripMenuItem, helpToolStripMenuItem });
     mnuMainMenuStrip.Location = new Point(0, 0);
     mnuMainMenuStrip.Name = "mnuMainMenuStrip";
     mnuMainMenuStrip.Size = new Size(0x259, 0x18);
     mnuMainMenuStrip.TabIndex = 7;
     mnuMainMenuStrip.Text = "menuStrip1";
     startSimulationToolStripMenuItem.Name = "startSimulationToolStripMenuItem";
     startSimulationToolStripMenuItem.Size = new Size(0x66, 20);
     startSimulationToolStripMenuItem.Text = "Start simulation";
     startSimulationToolStripMenuItem.Click += new EventHandler(startSimulationToolStripMenuItem_Click);
     toolsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { sendFeedbackToolStripMenuItem, licenseManagerToolStripMenuItem, preferencesToolStripMenuItem });
     toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
     toolsToolStripMenuItem.Size = new Size(0x30, 20);
     toolsToolStripMenuItem.Text = "Tools";
     sendFeedbackToolStripMenuItem.Name = "sendFeedbackToolStripMenuItem";
     sendFeedbackToolStripMenuItem.Size = new Size(0xa3, 0x16);
     sendFeedbackToolStripMenuItem.Text = "Send feedback";
     sendFeedbackToolStripMenuItem.Click += new EventHandler(sendFeedbackToolStripMenuItem_Click);
     licenseManagerToolStripMenuItem.Name = "licenseManagerToolStripMenuItem";
     licenseManagerToolStripMenuItem.Size = new Size(0xa3, 0x16);
     licenseManagerToolStripMenuItem.Text = "License manager";
     licenseManagerToolStripMenuItem.Click += new EventHandler(licenseManagerToolStripMenuItem_Click);
     preferencesToolStripMenuItem.Name = "preferencesToolStripMenuItem";
     preferencesToolStripMenuItem.Size = new Size(0xa3, 0x16);
     preferencesToolStripMenuItem.Text = "Preferences";
     preferencesToolStripMenuItem.Click += new EventHandler(preferencesToolStripMenuItem_Click);
     windowToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { cascadeWindowsToolStripMenuItem, tileHorizontalToolStripMenuItem, tileVerticalToolStripMenuItem, toolStripMenuItem1, showLogWindowToolStripMenuItem });
     windowToolStripMenuItem.Name = "windowToolStripMenuItem";
     windowToolStripMenuItem.Size = new Size(0x3f, 20);
     windowToolStripMenuItem.Text = "Window";
     cascadeWindowsToolStripMenuItem.Name = "cascadeWindowsToolStripMenuItem";
     cascadeWindowsToolStripMenuItem.Size = new Size(0xa8, 0x16);
     cascadeWindowsToolStripMenuItem.Text = "Cascade";
     cascadeWindowsToolStripMenuItem.Click += new EventHandler(cascadeWindowsToolStripMenuItem_Click);
     tileHorizontalToolStripMenuItem.Name = "tileHorizontalToolStripMenuItem";
     tileHorizontalToolStripMenuItem.Size = new Size(0xa8, 0x16);
     tileHorizontalToolStripMenuItem.Text = "Tile horizontal";
     tileHorizontalToolStripMenuItem.Click += new EventHandler(tileHorizontalToolStripMenuItem_Click);
     tileVerticalToolStripMenuItem.Name = "tileVerticalToolStripMenuItem";
     tileVerticalToolStripMenuItem.Size = new Size(0xa8, 0x16);
     tileVerticalToolStripMenuItem.Text = "Tile vertical";
     tileVerticalToolStripMenuItem.Click += new EventHandler(tileVerticalToolStripMenuItem_Click);
     toolStripMenuItem1.Name = "toolStripMenuItem1";
     toolStripMenuItem1.Size = new Size(0xa5, 6);
     showLogWindowToolStripMenuItem.Name = "showLogWindowToolStripMenuItem";
     showLogWindowToolStripMenuItem.Size = new Size(0xa8, 0x16);
     showLogWindowToolStripMenuItem.Text = "Show log window";
     showLogWindowToolStripMenuItem.Click += new EventHandler(showLogWindowToolStripMenuItem_Click);
     helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { aboutWDSToolStripMenuItem, supportedDevicesToolStripMenuItem, productInformationToolStripMenuItem });
     helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     helpToolStripMenuItem.Size = new Size(0x2c, 20);
     helpToolStripMenuItem.Text = "Help";
     aboutWDSToolStripMenuItem.Name = "aboutWDSToolStripMenuItem";
     aboutWDSToolStripMenuItem.Size = new Size(0xb6, 0x16);
     aboutWDSToolStripMenuItem.Text = "About WDS";
     aboutWDSToolStripMenuItem.Click += new EventHandler(aboutWDSToolStripMenuItem_Click);
     supportedDevicesToolStripMenuItem.Name = "supportedDevicesToolStripMenuItem";
     supportedDevicesToolStripMenuItem.Size = new Size(0xb6, 0x16);
     supportedDevicesToolStripMenuItem.Text = "Supported devices";
     supportedDevicesToolStripMenuItem.Click += new EventHandler(supportedDevicesToolStripMenuItem_Click);
     productInformationToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ezRadioProToolStripMenuItem, eZRadioToolStripMenuItem });
     productInformationToolStripMenuItem.Name = "productInformationToolStripMenuItem";
     productInformationToolStripMenuItem.Size = new Size(0xb6, 0x16);
     productInformationToolStripMenuItem.Text = "Product information";
     ezRadioProToolStripMenuItem.Name = "ezRadioProToolStripMenuItem";
     ezRadioProToolStripMenuItem.Size = new Size(0x85, 0x16);
     ezRadioProToolStripMenuItem.Text = "EzRadioPro";
     ezRadioProToolStripMenuItem.Click += new EventHandler(ezRadioProToolStripMenuItem_Click);
     eZRadioToolStripMenuItem.Name = "eZRadioToolStripMenuItem";
     eZRadioToolStripMenuItem.Size = new Size(0x85, 0x16);
     eZRadioToolStripMenuItem.Text = "EZRadio";
     eZRadioToolStripMenuItem.Click += new EventHandler(eZRadioToolStripMenuItem_Click);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     BackgroundImage = (Image) resources.GetObject("$BackgroundImage");
     BackgroundImageLayout = ImageLayout.Zoom;
     base.ClientSize = new Size(0x259, 0x1cd);
     base.Controls.Add(toolStrip1);
     base.Controls.Add(mnuMainMenuStrip);
     DoubleBuffered = true;
     Font = new Font("Microsoft Sans Serif", 8.25f);
     base.Icon = (Icon) resources.GetObject("$Icon");
     base.IsMdiContainer = true;
     base.MainMenuStrip = mnuMainMenuStrip;
     base.Name = "WDSFrameWindow";
     base.StartPosition = FormStartPosition.Manual;
     Text = "Wireless Development Suite";
     base.WindowState = FormWindowState.Maximized;
     base.Load += new EventHandler(WDSFrameWindow_Load);
     base.ClientSizeChanged += new EventHandler(clientSizeChanged);
     base.Shown += new EventHandler(WDSFrameWindow_Shown);
     base.FormClosed += new FormClosedEventHandler(WDSFrameWindow_FormClosed);
     base.FormClosing += new FormClosingEventHandler(WDSFrameWindow_FormClosing);
     base.Resize += new EventHandler(WDSFrameWindow_Resize);
     toolStrip1.ResumeLayout(false);
     toolStrip1.PerformLayout();
     mnuMainMenuStrip.ResumeLayout(false);
     mnuMainMenuStrip.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Ejemplo n.º 24
0
 private void Diseño_Forma()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Inventario));
     tabControl1 = new System.Windows.Forms.TabControl();
     tab_MateriaPrima = new System.Windows.Forms.TabPage();
     groupBox_ListaMateriaPrimam = new System.Windows.Forms.GroupBox();
     data_MateriaPrima = new System.Windows.Forms.DataGridView();
     Id_AlmacenMateriaPrimam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacenm = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_MateriaPrimam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Materia_Primam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lotem = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Compram = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Ventam = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fecham = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_MateriaPrimam = new System.Windows.Forms.GroupBox();
     lbl_Almacenm = new System.Windows.Forms.Label();
     lbl_Fecham = new System.Windows.Forms.Label();
     combo_Almacenm = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentam = new System.Windows.Forms.Label();
     comboBox_MateriaPrimam = new System.Windows.Forms.ComboBox();
     lbl_PrecioCompram = new System.Windows.Forms.Label();
     txt_Lotem = new System.Windows.Forms.TextBox();
     lbl_Existenciam = new System.Windows.Forms.Label();
     txt_Existenciam = new System.Windows.Forms.TextBox();
     lbl_Lotem = new System.Windows.Forms.Label();
     txt_PrecioCompram = new System.Windows.Forms.TextBox();
     lbl_MateriaPrima = new System.Windows.Forms.Label();
     txt_PrecioVentam = new System.Windows.Forms.TextBox();
     dateTime_MateriaPrimam = new System.Windows.Forms.DateTimePicker();
     tab_MateriaPrimaP = new System.Windows.Forms.TabPage();
     groupBox_ListaMateriaPrimap = new System.Windows.Forms.GroupBox();
     data_MateriaPrimaP = new System.Windows.Forms.DataGridView();
     Id_AlmacenMateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacenp = new System.Windows.Forms.DataGridViewTextBoxColumn();
     MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lotep = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciap = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Comprap = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Ventap = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechap = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_MateriaPrimap = new System.Windows.Forms.GroupBox();
     lbl_Almacenp = new System.Windows.Forms.Label();
     lbl_Fechap = new System.Windows.Forms.Label();
     combo_Almacenp = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentaP = new System.Windows.Forms.Label();
     comboBox_MateriaPrimap = new System.Windows.Forms.ComboBox();
     lbl_PrecioComprap = new System.Windows.Forms.Label();
     txt_Lotep = new System.Windows.Forms.TextBox();
     lbl_Existenciap = new System.Windows.Forms.Label();
     txt_Exisnteciap = new System.Windows.Forms.TextBox();
     lbl_Lotep = new System.Windows.Forms.Label();
     txt_PrecioComprap = new System.Windows.Forms.TextBox();
     lbl_MateriaPrimaP = new System.Windows.Forms.Label();
     txt_PrecioVentap = new System.Windows.Forms.TextBox();
     dateTime_MateriaPrimap = new System.Windows.Forms.DateTimePicker();
     tab_ProductoElaborado = new System.Windows.Forms.TabPage();
     groupBox_ListaProductoElaborado = new System.Windows.Forms.GroupBox();
     data_ProductoElaborado = new System.Windows.Forms.DataGridView();
     Id_AlmacenProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacene = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Producto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lotee = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Comprae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Ventae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_ProductoElaborado = new System.Windows.Forms.GroupBox();
     lbl_Almacene = new System.Windows.Forms.Label();
     lbl_Fechae = new System.Windows.Forms.Label();
     combo_Almacene = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentae = new System.Windows.Forms.Label();
     comboBox_ProductoElaborado = new System.Windows.Forms.ComboBox();
     lbl_PrecioComprae = new System.Windows.Forms.Label();
     txt_Lotee = new System.Windows.Forms.TextBox();
     lbl_Existenciae = new System.Windows.Forms.Label();
     txt_Existenciae = new System.Windows.Forms.TextBox();
     lbl_Lotee = new System.Windows.Forms.Label();
     txt_PrecioComprae = new System.Windows.Forms.TextBox();
     lbl_ProductoElaborado = new System.Windows.Forms.Label();
     txt_PrecioVentae = new System.Windows.Forms.TextBox();
     dateTime_ProductoElaborado = new System.Windows.Forms.DateTimePicker();
     tab_ProductoIndirecto = new System.Windows.Forms.TabPage();
     groupBox_ListaProductoIndirecto = new System.Windows.Forms.GroupBox();
     data_ProductoIndirecto = new System.Windows.Forms.DataGridView();
     Id_AlmacenProductoIndirecto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almaceni = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoIndirecto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Productoi = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciai = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_CompraI = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Ventai = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechai = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_ProductoIndirecto = new System.Windows.Forms.GroupBox();
     lbl_Almaceni = new System.Windows.Forms.Label();
     lbl_FechaI = new System.Windows.Forms.Label();
     combo_Almaceni = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentaI = new System.Windows.Forms.Label();
     comboBox_ProductoIndirecto = new System.Windows.Forms.ComboBox();
     lbl_PrecioCompraI = new System.Windows.Forms.Label();
     lbl_Existenciai = new System.Windows.Forms.Label();
     txt_Existenciai = new System.Windows.Forms.TextBox();
     txt_PrecioComprai = new System.Windows.Forms.TextBox();
     lbl_ProductoIndirecto = new System.Windows.Forms.Label();
     txt_PrecioVentai = new System.Windows.Forms.TextBox();
     dateTime_ProductoIndirecto = new System.Windows.Forms.DateTimePicker();
     tab_ProductoTerminado = new System.Windows.Forms.TabPage();
     groupBox_ListaProductoTerminado = new System.Windows.Forms.GroupBox();
     data_ProductoTerminado = new System.Windows.Forms.DataGridView();
     Id_AlmacenProducto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacent = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoTerminado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Productot = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lotet = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Comprat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_Ventat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Descuento = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_ProductoTerminado = new System.Windows.Forms.GroupBox();
     lbl_Descuentot = new System.Windows.Forms.Label();
     txt_Descuento = new System.Windows.Forms.TextBox();
     lbl_Almacent = new System.Windows.Forms.Label();
     lbl_Fechat = new System.Windows.Forms.Label();
     combo_Almacent = new System.Windows.Forms.ComboBox();
     lbl_PrecioVentat = new System.Windows.Forms.Label();
     comboBox_ProductoTerminado = new System.Windows.Forms.ComboBox();
     lbl_PrecioComprat = new System.Windows.Forms.Label();
     txt_Lotet = new System.Windows.Forms.TextBox();
     lbl_Existenciat = new System.Windows.Forms.Label();
     txt_Existenciat = new System.Windows.Forms.TextBox();
     lbl_Lotet = new System.Windows.Forms.Label();
     txt_PrecioComprat = new System.Windows.Forms.TextBox();
     lbl_Producto = new System.Windows.Forms.Label();
     txt_PrecioVentat = new System.Windows.Forms.TextBox();
     dateTime_ProductoTerminado = new System.Windows.Forms.DateTimePicker();
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     controlDeProductosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nivelMaxMinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ordenDePeladoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     pic_Proveedor = new System.Windows.Forms.PictureBox();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     tabControl1.SuspendLayout();
     tab_MateriaPrima.SuspendLayout();
     groupBox_ListaMateriaPrimam.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrima)).BeginInit();
     groupBox_MateriaPrimam.SuspendLayout();
     tab_MateriaPrimaP.SuspendLayout();
     groupBox_ListaMateriaPrimap.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrimaP)).BeginInit();
     groupBox_MateriaPrimap.SuspendLayout();
     tab_ProductoElaborado.SuspendLayout();
     groupBox_ListaProductoElaborado.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoElaborado)).BeginInit();
     groupBox_ProductoElaborado.SuspendLayout();
     tab_ProductoIndirecto.SuspendLayout();
     groupBox_ListaProductoIndirecto.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoIndirecto)).BeginInit();
     groupBox_ProductoIndirecto.SuspendLayout();
     tab_ProductoTerminado.SuspendLayout();
     groupBox_ListaProductoTerminado.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(data_ProductoTerminado)).BeginInit();
     groupBox_ProductoTerminado.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // tabControl1
     //
     tabControl1.Controls.Add(tab_MateriaPrima);
     tabControl1.Controls.Add(tab_MateriaPrimaP);
     tabControl1.Controls.Add(tab_ProductoElaborado);
     tabControl1.Controls.Add(tab_ProductoIndirecto);
     tabControl1.Controls.Add(tab_ProductoTerminado);
     tabControl1.Location = new System.Drawing.Point(10, 73);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new System.Drawing.Size(807, 420);
     tabControl1.TabIndex = 0;
     //
     // tab_MateriaPrima
     //
     tab_MateriaPrima.BackColor = System.Drawing.SystemColors.Control;
     tab_MateriaPrima.Controls.Add(groupBox_ListaMateriaPrimam);
     tab_MateriaPrima.Controls.Add(groupBox_MateriaPrimam);
     tab_MateriaPrima.Location = new System.Drawing.Point(4, 22);
     tab_MateriaPrima.Name = "tab_MateriaPrima";
     tab_MateriaPrima.Padding = new System.Windows.Forms.Padding(3);
     tab_MateriaPrima.Size = new System.Drawing.Size(799, 394);
     tab_MateriaPrima.TabIndex = 0;
     tab_MateriaPrima.Text = "Materia prima";
     //
     // groupBox_ListaMateriaPrimam
     //
     groupBox_ListaMateriaPrimam.Controls.Add(data_MateriaPrima);
     groupBox_ListaMateriaPrimam.Location = new System.Drawing.Point(277, 34);
     groupBox_ListaMateriaPrimam.Name = "groupBox_ListaMateriaPrimam";
     groupBox_ListaMateriaPrimam.Size = new System.Drawing.Size(483, 327);
     groupBox_ListaMateriaPrimam.TabIndex = 82;
     groupBox_ListaMateriaPrimam.TabStop = false;
     groupBox_ListaMateriaPrimam.Text = "Lista de materia prima";
     //
     // data_MateriaPrima
     //
     data_MateriaPrima.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_MateriaPrima.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlmacenMateriaPrimam,
     Id_Almacenm,
     Id_MateriaPrimam,
     Materia_Primam,
     Lotem,
     Existenciam,
     Precio_Compram,
     Precio_Ventam,
     Fecham});
     data_MateriaPrima.Location = new System.Drawing.Point(4, 16);
     data_MateriaPrima.Name = "data_MateriaPrima";
     data_MateriaPrima.Size = new System.Drawing.Size(474, 305);
     data_MateriaPrima.TabIndex = 0;
     data_MateriaPrima.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(data_MateriaPrima_MouseDoubleClick);
     //
     // Id_AlmacenMateriaPrimam
     //
     Id_AlmacenMateriaPrimam.HeaderText = "Id_AlmacenMateriaPrimam";
     Id_AlmacenMateriaPrimam.Name = "Id_AlmacenMateriaPrimam";
     Id_AlmacenMateriaPrimam.Visible = false;
     //
     // Id_Almacenm
     //
     Id_Almacenm.HeaderText = "Id_Almacen";
     Id_Almacenm.Name = "Id_Almacenm";
     Id_Almacenm.Visible = false;
     //
     // Id_MateriaPrimam
     //
     Id_MateriaPrimam.HeaderText = "Id_MateriaPrima";
     Id_MateriaPrimam.Name = "Id_MateriaPrimam";
     Id_MateriaPrimam.Visible = false;
     //
     // Materia_Primam
     //
     Materia_Primam.HeaderText = "Materia prima";
     Materia_Primam.Name = "Materia_Primam";
     //
     // Lotem
     //
     Lotem.HeaderText = "Lote";
     Lotem.Name = "Lotem";
     //
     // Existenciam
     //
     Existenciam.HeaderText = "Existencia";
     Existenciam.Name = "Existenciam";
     //
     // Precio_Compram
     //
     Precio_Compram.HeaderText = "Precio compra";
     Precio_Compram.Name = "Precio_Compram";
     //
     // Precio_Ventam
     //
     Precio_Ventam.HeaderText = "Precio venta";
     Precio_Ventam.Name = "Precio_Ventam";
     //
     // Fecham
     //
     Fecham.HeaderText = "Fecha";
     Fecham.Name = "Fecham";
     //
     // groupBox_MateriaPrimam
     //
     groupBox_MateriaPrimam.Controls.Add(lbl_Almacenm);
     groupBox_MateriaPrimam.Controls.Add(lbl_Fecham);
     groupBox_MateriaPrimam.Controls.Add(combo_Almacenm);
     groupBox_MateriaPrimam.Controls.Add(lbl_PrecioVentam);
     groupBox_MateriaPrimam.Controls.Add(comboBox_MateriaPrimam);
     groupBox_MateriaPrimam.Controls.Add(lbl_PrecioCompram);
     groupBox_MateriaPrimam.Controls.Add(txt_Lotem);
     groupBox_MateriaPrimam.Controls.Add(lbl_Existenciam);
     groupBox_MateriaPrimam.Controls.Add(txt_Existenciam);
     groupBox_MateriaPrimam.Controls.Add(lbl_Lotem);
     groupBox_MateriaPrimam.Controls.Add(txt_PrecioCompram);
     groupBox_MateriaPrimam.Controls.Add(lbl_MateriaPrima);
     groupBox_MateriaPrimam.Controls.Add(txt_PrecioVentam);
     groupBox_MateriaPrimam.Controls.Add(dateTime_MateriaPrimam);
     groupBox_MateriaPrimam.Location = new System.Drawing.Point(39, 34);
     groupBox_MateriaPrimam.Name = "groupBox_MateriaPrimam";
     groupBox_MateriaPrimam.Size = new System.Drawing.Size(232, 327);
     groupBox_MateriaPrimam.TabIndex = 83;
     groupBox_MateriaPrimam.TabStop = false;
     groupBox_MateriaPrimam.Text = "Inventario de materia prima";
     //
     // lbl_Almacenm
     //
     lbl_Almacenm.AutoSize = true;
     lbl_Almacenm.Location = new System.Drawing.Point(16, 31);
     lbl_Almacenm.Name = "lbl_Almacenm";
     lbl_Almacenm.Size = new System.Drawing.Size(48, 13);
     lbl_Almacenm.TabIndex = 7;
     lbl_Almacenm.Text = "Almacén";
     //
     // lbl_Fecham
     //
     lbl_Fecham.AutoSize = true;
     lbl_Fecham.Location = new System.Drawing.Point(16, 270);
     lbl_Fecham.Name = "lbl_Fecham";
     lbl_Fecham.Size = new System.Drawing.Size(37, 13);
     lbl_Fecham.TabIndex = 13;
     lbl_Fecham.Text = "Fecha";
     //
     // combo_Almacenm
     //
     combo_Almacenm.FormattingEnabled = true;
     combo_Almacenm.Location = new System.Drawing.Point(19, 47);
     combo_Almacenm.Name = "combo_Almacenm";
     combo_Almacenm.Size = new System.Drawing.Size(121, 21);
     combo_Almacenm.TabIndex = 0;
     //
     // lbl_PrecioVentam
     //
     lbl_PrecioVentam.AutoSize = true;
     lbl_PrecioVentam.Location = new System.Drawing.Point(16, 228);
     lbl_PrecioVentam.Name = "lbl_PrecioVentam";
     lbl_PrecioVentam.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVentam.TabIndex = 12;
     lbl_PrecioVentam.Text = "Precio venta";
     //
     // comboBox_MateriaPrimam
     //
     comboBox_MateriaPrimam.FormattingEnabled = true;
     comboBox_MateriaPrimam.Location = new System.Drawing.Point(19, 87);
     comboBox_MateriaPrimam.Name = "comboBox_MateriaPrimam";
     comboBox_MateriaPrimam.Size = new System.Drawing.Size(121, 21);
     comboBox_MateriaPrimam.TabIndex = 1;
     //
     // lbl_PrecioCompram
     //
     lbl_PrecioCompram.AutoSize = true;
     lbl_PrecioCompram.Location = new System.Drawing.Point(16, 189);
     lbl_PrecioCompram.Name = "lbl_PrecioCompram";
     lbl_PrecioCompram.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioCompram.TabIndex = 11;
     lbl_PrecioCompram.Text = "Precio compra";
     //
     // txt_Lotem
     //
     txt_Lotem.Location = new System.Drawing.Point(19, 127);
     txt_Lotem.Name = "txt_Lotem";
     txt_Lotem.Size = new System.Drawing.Size(100, 20);
     txt_Lotem.TabIndex = 2;
     //
     // lbl_Existenciam
     //
     lbl_Existenciam.AutoSize = true;
     lbl_Existenciam.Location = new System.Drawing.Point(16, 150);
     lbl_Existenciam.Name = "lbl_Existenciam";
     lbl_Existenciam.Size = new System.Drawing.Size(55, 13);
     lbl_Existenciam.TabIndex = 10;
     lbl_Existenciam.Text = "Existencia";
     //
     // txt_Existenciam
     //
     txt_Existenciam.Location = new System.Drawing.Point(19, 166);
     txt_Existenciam.Name = "txt_Existenciam";
     txt_Existenciam.Size = new System.Drawing.Size(100, 20);
     txt_Existenciam.TabIndex = 3;
     //
     // lbl_Lotem
     //
     lbl_Lotem.AutoSize = true;
     lbl_Lotem.Location = new System.Drawing.Point(16, 111);
     lbl_Lotem.Name = "lbl_Lotem";
     lbl_Lotem.Size = new System.Drawing.Size(28, 13);
     lbl_Lotem.TabIndex = 9;
     lbl_Lotem.Text = "Lote";
     //
     // txt_PrecioCompram
     //
     txt_PrecioCompram.Location = new System.Drawing.Point(19, 205);
     txt_PrecioCompram.Name = "txt_PrecioCompram";
     txt_PrecioCompram.Size = new System.Drawing.Size(100, 20);
     txt_PrecioCompram.TabIndex = 4;
     txt_PrecioCompram.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioCompram_KeyPress);
     //
     // lbl_MateriaPrima
     //
     lbl_MateriaPrima.AutoSize = true;
     lbl_MateriaPrima.Location = new System.Drawing.Point(16, 71);
     lbl_MateriaPrima.Name = "lbl_MateriaPrima";
     lbl_MateriaPrima.Size = new System.Drawing.Size(70, 13);
     lbl_MateriaPrima.TabIndex = 8;
     lbl_MateriaPrima.Text = "Materia prima";
     //
     // txt_PrecioVentam
     //
     txt_PrecioVentam.Location = new System.Drawing.Point(19, 247);
     txt_PrecioVentam.Name = "txt_PrecioVentam";
     txt_PrecioVentam.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVentam.TabIndex = 5;
     txt_PrecioVentam.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioVentam_KeyPress);
     //
     // dateTime_MateriaPrimam
     //
     dateTime_MateriaPrimam.Location = new System.Drawing.Point(19, 286);
     dateTime_MateriaPrimam.Name = "dateTime_MateriaPrimam";
     dateTime_MateriaPrimam.Size = new System.Drawing.Size(200, 20);
     dateTime_MateriaPrimam.TabIndex = 6;
     //
     // tab_MateriaPrimaP
     //
     tab_MateriaPrimaP.BackColor = System.Drawing.SystemColors.Control;
     tab_MateriaPrimaP.Controls.Add(groupBox_ListaMateriaPrimap);
     tab_MateriaPrimaP.Controls.Add(groupBox_MateriaPrimap);
     tab_MateriaPrimaP.Location = new System.Drawing.Point(4, 22);
     tab_MateriaPrimaP.Name = "tab_MateriaPrimaP";
     tab_MateriaPrimaP.Padding = new System.Windows.Forms.Padding(3);
     tab_MateriaPrimaP.Size = new System.Drawing.Size(799, 394);
     tab_MateriaPrimaP.TabIndex = 1;
     tab_MateriaPrimaP.Text = "Materia prima sin rebaba";
     //
     // groupBox_ListaMateriaPrimap
     //
     groupBox_ListaMateriaPrimap.Controls.Add(data_MateriaPrimaP);
     groupBox_ListaMateriaPrimap.Location = new System.Drawing.Point(277, 34);
     groupBox_ListaMateriaPrimap.Name = "groupBox_ListaMateriaPrimap";
     groupBox_ListaMateriaPrimap.Size = new System.Drawing.Size(483, 327);
     groupBox_ListaMateriaPrimap.TabIndex = 82;
     groupBox_ListaMateriaPrimap.TabStop = false;
     groupBox_ListaMateriaPrimap.Text = "Lista de materia prima";
     //
     // data_MateriaPrimaP
     //
     data_MateriaPrimaP.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_MateriaPrimaP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlmacenMateriaPrimaP,
     Id_MateriaPrimaP,
     Id_Almacenp,
     MateriaPrimaP,
     Lotep,
     Existenciap,
     Precio_Comprap,
     Precio_Ventap,
     Fechap});
     data_MateriaPrimaP.Location = new System.Drawing.Point(4, 16);
     data_MateriaPrimaP.Name = "data_MateriaPrimaP";
     data_MateriaPrimaP.Size = new System.Drawing.Size(474, 305);
     data_MateriaPrimaP.TabIndex = 0;
     data_MateriaPrimaP.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(data_MateriaPrimaP_MouseDoubleClick);
     //
     // Id_AlmacenMateriaPrimaP
     //
     Id_AlmacenMateriaPrimaP.HeaderText = "Id_AlmacenMateriaPrimaP";
     Id_AlmacenMateriaPrimaP.Name = "Id_AlmacenMateriaPrimaP";
     Id_AlmacenMateriaPrimaP.Visible = false;
     //
     // Id_MateriaPrimaP
     //
     Id_MateriaPrimaP.HeaderText = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Name = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Visible = false;
     //
     // Id_Almacenp
     //
     Id_Almacenp.HeaderText = "Id_Almacenp";
     Id_Almacenp.Name = "Id_Almacenp";
     Id_Almacenp.Visible = false;
     //
     // MateriaPrimaP
     //
     MateriaPrimaP.HeaderText = "Materia prima";
     MateriaPrimaP.Name = "MateriaPrimaP";
     //
     // Lotep
     //
     Lotep.HeaderText = "Lote";
     Lotep.Name = "Lotep";
     //
     // Existenciap
     //
     Existenciap.HeaderText = "Existencia";
     Existenciap.Name = "Existenciap";
     //
     // Precio_Comprap
     //
     Precio_Comprap.HeaderText = "Precio compra";
     Precio_Comprap.Name = "Precio_Comprap";
     //
     // Precio_Ventap
     //
     Precio_Ventap.HeaderText = "Precio venta";
     Precio_Ventap.Name = "Precio_Ventap";
     //
     // Fechap
     //
     Fechap.HeaderText = "Fecha";
     Fechap.Name = "Fechap";
     //
     // groupBox_MateriaPrimap
     //
     groupBox_MateriaPrimap.Controls.Add(lbl_Almacenp);
     groupBox_MateriaPrimap.Controls.Add(lbl_Fechap);
     groupBox_MateriaPrimap.Controls.Add(combo_Almacenp);
     groupBox_MateriaPrimap.Controls.Add(lbl_PrecioVentaP);
     groupBox_MateriaPrimap.Controls.Add(comboBox_MateriaPrimap);
     groupBox_MateriaPrimap.Controls.Add(lbl_PrecioComprap);
     groupBox_MateriaPrimap.Controls.Add(txt_Lotep);
     groupBox_MateriaPrimap.Controls.Add(lbl_Existenciap);
     groupBox_MateriaPrimap.Controls.Add(txt_Exisnteciap);
     groupBox_MateriaPrimap.Controls.Add(lbl_Lotep);
     groupBox_MateriaPrimap.Controls.Add(txt_PrecioComprap);
     groupBox_MateriaPrimap.Controls.Add(lbl_MateriaPrimaP);
     groupBox_MateriaPrimap.Controls.Add(txt_PrecioVentap);
     groupBox_MateriaPrimap.Controls.Add(dateTime_MateriaPrimap);
     groupBox_MateriaPrimap.Location = new System.Drawing.Point(39, 34);
     groupBox_MateriaPrimap.Name = "groupBox_MateriaPrimap";
     groupBox_MateriaPrimap.Size = new System.Drawing.Size(232, 327);
     groupBox_MateriaPrimap.TabIndex = 83;
     groupBox_MateriaPrimap.TabStop = false;
     groupBox_MateriaPrimap.Text = "Inventario de materia prima";
     //
     // lbl_Almacenp
     //
     lbl_Almacenp.AutoSize = true;
     lbl_Almacenp.Location = new System.Drawing.Point(16, 31);
     lbl_Almacenp.Name = "lbl_Almacenp";
     lbl_Almacenp.Size = new System.Drawing.Size(48, 13);
     lbl_Almacenp.TabIndex = 7;
     lbl_Almacenp.Text = "Almacén";
     //
     // lbl_Fechap
     //
     lbl_Fechap.AutoSize = true;
     lbl_Fechap.Location = new System.Drawing.Point(16, 270);
     lbl_Fechap.Name = "lbl_Fechap";
     lbl_Fechap.Size = new System.Drawing.Size(37, 13);
     lbl_Fechap.TabIndex = 13;
     lbl_Fechap.Text = "Fecha";
     //
     // combo_Almacenp
     //
     combo_Almacenp.FormattingEnabled = true;
     combo_Almacenp.Location = new System.Drawing.Point(19, 47);
     combo_Almacenp.Name = "combo_Almacenp";
     combo_Almacenp.Size = new System.Drawing.Size(121, 21);
     combo_Almacenp.TabIndex = 0;
     //
     // lbl_PrecioVentaP
     //
     lbl_PrecioVentaP.AutoSize = true;
     lbl_PrecioVentaP.Location = new System.Drawing.Point(16, 228);
     lbl_PrecioVentaP.Name = "lbl_PrecioVentaP";
     lbl_PrecioVentaP.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVentaP.TabIndex = 12;
     lbl_PrecioVentaP.Text = "Precio venta";
     //
     // comboBox_MateriaPrimap
     //
     comboBox_MateriaPrimap.FormattingEnabled = true;
     comboBox_MateriaPrimap.Location = new System.Drawing.Point(19, 87);
     comboBox_MateriaPrimap.Name = "comboBox_MateriaPrimap";
     comboBox_MateriaPrimap.Size = new System.Drawing.Size(121, 21);
     comboBox_MateriaPrimap.TabIndex = 1;
     //
     // lbl_PrecioComprap
     //
     lbl_PrecioComprap.AutoSize = true;
     lbl_PrecioComprap.Location = new System.Drawing.Point(16, 189);
     lbl_PrecioComprap.Name = "lbl_PrecioComprap";
     lbl_PrecioComprap.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioComprap.TabIndex = 11;
     lbl_PrecioComprap.Text = "Precio compra";
     //
     // txt_Lotep
     //
     txt_Lotep.Location = new System.Drawing.Point(19, 127);
     txt_Lotep.Name = "txt_Lotep";
     txt_Lotep.Size = new System.Drawing.Size(100, 20);
     txt_Lotep.TabIndex = 2;
     //
     // lbl_Existenciap
     //
     lbl_Existenciap.AutoSize = true;
     lbl_Existenciap.Location = new System.Drawing.Point(16, 150);
     lbl_Existenciap.Name = "lbl_Existenciap";
     lbl_Existenciap.Size = new System.Drawing.Size(55, 13);
     lbl_Existenciap.TabIndex = 10;
     lbl_Existenciap.Text = "Existencia";
     //
     // txt_Exisnteciap
     //
     txt_Exisnteciap.Location = new System.Drawing.Point(19, 166);
     txt_Exisnteciap.Name = "txt_Exisnteciap";
     txt_Exisnteciap.Size = new System.Drawing.Size(100, 20);
     txt_Exisnteciap.TabIndex = 3;
     //
     // lbl_Lotep
     //
     lbl_Lotep.AutoSize = true;
     lbl_Lotep.Location = new System.Drawing.Point(16, 111);
     lbl_Lotep.Name = "lbl_Lotep";
     lbl_Lotep.Size = new System.Drawing.Size(28, 13);
     lbl_Lotep.TabIndex = 9;
     lbl_Lotep.Text = "Lote";
     //
     // txt_PrecioComprap
     //
     txt_PrecioComprap.Location = new System.Drawing.Point(19, 205);
     txt_PrecioComprap.Name = "txt_PrecioComprap";
     txt_PrecioComprap.Size = new System.Drawing.Size(100, 20);
     txt_PrecioComprap.TabIndex = 4;
     txt_PrecioComprap.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioComprap_KeyPress);
     //
     // lbl_MateriaPrimaP
     //
     lbl_MateriaPrimaP.AutoSize = true;
     lbl_MateriaPrimaP.Location = new System.Drawing.Point(16, 71);
     lbl_MateriaPrimaP.Name = "lbl_MateriaPrimaP";
     lbl_MateriaPrimaP.Size = new System.Drawing.Size(70, 13);
     lbl_MateriaPrimaP.TabIndex = 8;
     lbl_MateriaPrimaP.Text = "Materia prima";
     //
     // txt_PrecioVentap
     //
     txt_PrecioVentap.Location = new System.Drawing.Point(19, 247);
     txt_PrecioVentap.Name = "txt_PrecioVentap";
     txt_PrecioVentap.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVentap.TabIndex = 5;
     txt_PrecioVentap.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioVentap_KeyPress);
     //
     // dateTime_MateriaPrimap
     //
     dateTime_MateriaPrimap.Location = new System.Drawing.Point(19, 286);
     dateTime_MateriaPrimap.Name = "dateTime_MateriaPrimap";
     dateTime_MateriaPrimap.Size = new System.Drawing.Size(200, 20);
     dateTime_MateriaPrimap.TabIndex = 6;
     //
     // tab_ProductoElaborado
     //
     tab_ProductoElaborado.BackColor = System.Drawing.SystemColors.Control;
     tab_ProductoElaborado.Controls.Add(groupBox_ListaProductoElaborado);
     tab_ProductoElaborado.Controls.Add(groupBox_ProductoElaborado);
     tab_ProductoElaborado.Location = new System.Drawing.Point(4, 22);
     tab_ProductoElaborado.Name = "tab_ProductoElaborado";
     tab_ProductoElaborado.Padding = new System.Windows.Forms.Padding(3);
     tab_ProductoElaborado.Size = new System.Drawing.Size(799, 394);
     tab_ProductoElaborado.TabIndex = 2;
     tab_ProductoElaborado.Text = "Producto elaborado";
     //
     // groupBox_ListaProductoElaborado
     //
     groupBox_ListaProductoElaborado.Controls.Add(data_ProductoElaborado);
     groupBox_ListaProductoElaborado.Location = new System.Drawing.Point(277, 34);
     groupBox_ListaProductoElaborado.Name = "groupBox_ListaProductoElaborado";
     groupBox_ListaProductoElaborado.Size = new System.Drawing.Size(483, 327);
     groupBox_ListaProductoElaborado.TabIndex = 82;
     groupBox_ListaProductoElaborado.TabStop = false;
     groupBox_ListaProductoElaborado.Text = "Lista de producto elaborado";
     //
     // data_ProductoElaborado
     //
     data_ProductoElaborado.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ProductoElaborado.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlmacenProductoElaborado,
     Id_Almacene,
     Id_ProductoElaborado,
     Producto,
     Lotee,
     Existenciae,
     Precio_Comprae,
     Precio_Ventae,
     Fechae});
     data_ProductoElaborado.Location = new System.Drawing.Point(4, 16);
     data_ProductoElaborado.Name = "data_ProductoElaborado";
     data_ProductoElaborado.Size = new System.Drawing.Size(474, 305);
     data_ProductoElaborado.TabIndex = 0;
     data_ProductoElaborado.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(data_ProductoElaborado_MouseDoubleClick);
     //
     // Id_AlmacenProductoElaborado
     //
     Id_AlmacenProductoElaborado.HeaderText = "Id_AlmacenProductoElaborado";
     Id_AlmacenProductoElaborado.Name = "Id_AlmacenProductoElaborado";
     Id_AlmacenProductoElaborado.Visible = false;
     //
     // Id_Almacene
     //
     Id_Almacene.HeaderText = "Id_Almacene";
     Id_Almacene.Name = "Id_Almacene";
     Id_Almacene.Visible = false;
     //
     // Id_ProductoElaborado
     //
     Id_ProductoElaborado.HeaderText = "Id_ProductoElaborado";
     Id_ProductoElaborado.Name = "Id_ProductoElaborado";
     Id_ProductoElaborado.Visible = false;
     //
     // Producto
     //
     Producto.HeaderText = "Producto";
     Producto.Name = "Producto";
     //
     // Lotee
     //
     Lotee.HeaderText = "Lote";
     Lotee.Name = "Lotee";
     //
     // Existenciae
     //
     Existenciae.HeaderText = "Existencia";
     Existenciae.Name = "Existenciae";
     //
     // Precio_Comprae
     //
     Precio_Comprae.HeaderText = "Precio compra";
     Precio_Comprae.Name = "Precio_Comprae";
     //
     // Precio_Ventae
     //
     Precio_Ventae.HeaderText = "Precio venta";
     Precio_Ventae.Name = "Precio_Ventae";
     //
     // Fechae
     //
     Fechae.HeaderText = "Fecha";
     Fechae.Name = "Fechae";
     //
     // groupBox_ProductoElaborado
     //
     groupBox_ProductoElaborado.Controls.Add(lbl_Almacene);
     groupBox_ProductoElaborado.Controls.Add(lbl_Fechae);
     groupBox_ProductoElaborado.Controls.Add(combo_Almacene);
     groupBox_ProductoElaborado.Controls.Add(lbl_PrecioVentae);
     groupBox_ProductoElaborado.Controls.Add(comboBox_ProductoElaborado);
     groupBox_ProductoElaborado.Controls.Add(lbl_PrecioComprae);
     groupBox_ProductoElaborado.Controls.Add(txt_Lotee);
     groupBox_ProductoElaborado.Controls.Add(lbl_Existenciae);
     groupBox_ProductoElaborado.Controls.Add(txt_Existenciae);
     groupBox_ProductoElaborado.Controls.Add(lbl_Lotee);
     groupBox_ProductoElaborado.Controls.Add(txt_PrecioComprae);
     groupBox_ProductoElaborado.Controls.Add(lbl_ProductoElaborado);
     groupBox_ProductoElaborado.Controls.Add(txt_PrecioVentae);
     groupBox_ProductoElaborado.Controls.Add(dateTime_ProductoElaborado);
     groupBox_ProductoElaborado.Location = new System.Drawing.Point(39, 34);
     groupBox_ProductoElaborado.Name = "groupBox_ProductoElaborado";
     groupBox_ProductoElaborado.Size = new System.Drawing.Size(232, 327);
     groupBox_ProductoElaborado.TabIndex = 83;
     groupBox_ProductoElaborado.TabStop = false;
     groupBox_ProductoElaborado.Text = "Inventario de producto elaborado";
     //
     // lbl_Almacene
     //
     lbl_Almacene.AutoSize = true;
     lbl_Almacene.Location = new System.Drawing.Point(16, 31);
     lbl_Almacene.Name = "lbl_Almacene";
     lbl_Almacene.Size = new System.Drawing.Size(48, 13);
     lbl_Almacene.TabIndex = 7;
     lbl_Almacene.Text = "Almacén";
     //
     // lbl_Fechae
     //
     lbl_Fechae.AutoSize = true;
     lbl_Fechae.Location = new System.Drawing.Point(16, 270);
     lbl_Fechae.Name = "lbl_Fechae";
     lbl_Fechae.Size = new System.Drawing.Size(37, 13);
     lbl_Fechae.TabIndex = 13;
     lbl_Fechae.Text = "Fecha";
     //
     // combo_Almacene
     //
     combo_Almacene.FormattingEnabled = true;
     combo_Almacene.Location = new System.Drawing.Point(19, 47);
     combo_Almacene.Name = "combo_Almacene";
     combo_Almacene.Size = new System.Drawing.Size(121, 21);
     combo_Almacene.TabIndex = 0;
     //
     // lbl_PrecioVentae
     //
     lbl_PrecioVentae.AutoSize = true;
     lbl_PrecioVentae.Location = new System.Drawing.Point(16, 228);
     lbl_PrecioVentae.Name = "lbl_PrecioVentae";
     lbl_PrecioVentae.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVentae.TabIndex = 12;
     lbl_PrecioVentae.Text = "Precio venta";
     //
     // comboBox_ProductoElaborado
     //
     comboBox_ProductoElaborado.FormattingEnabled = true;
     comboBox_ProductoElaborado.Location = new System.Drawing.Point(19, 87);
     comboBox_ProductoElaborado.Name = "comboBox_ProductoElaborado";
     comboBox_ProductoElaborado.Size = new System.Drawing.Size(121, 21);
     comboBox_ProductoElaborado.TabIndex = 1;
     //
     // lbl_PrecioComprae
     //
     lbl_PrecioComprae.AutoSize = true;
     lbl_PrecioComprae.Location = new System.Drawing.Point(16, 189);
     lbl_PrecioComprae.Name = "lbl_PrecioComprae";
     lbl_PrecioComprae.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioComprae.TabIndex = 11;
     lbl_PrecioComprae.Text = "Precio compra";
     //
     // txt_Lotee
     //
     txt_Lotee.Location = new System.Drawing.Point(19, 127);
     txt_Lotee.Name = "txt_Lotee";
     txt_Lotee.Size = new System.Drawing.Size(100, 20);
     txt_Lotee.TabIndex = 2;
     //
     // lbl_Existenciae
     //
     lbl_Existenciae.AutoSize = true;
     lbl_Existenciae.Location = new System.Drawing.Point(16, 150);
     lbl_Existenciae.Name = "lbl_Existenciae";
     lbl_Existenciae.Size = new System.Drawing.Size(55, 13);
     lbl_Existenciae.TabIndex = 10;
     lbl_Existenciae.Text = "Existencia";
     //
     // txt_Existenciae
     //
     txt_Existenciae.Location = new System.Drawing.Point(19, 166);
     txt_Existenciae.Name = "txt_Existenciae";
     txt_Existenciae.Size = new System.Drawing.Size(100, 20);
     txt_Existenciae.TabIndex = 3;
     //
     // lbl_Lotee
     //
     lbl_Lotee.AutoSize = true;
     lbl_Lotee.Location = new System.Drawing.Point(16, 111);
     lbl_Lotee.Name = "lbl_Lotee";
     lbl_Lotee.Size = new System.Drawing.Size(28, 13);
     lbl_Lotee.TabIndex = 9;
     lbl_Lotee.Text = "Lote";
     //
     // txt_PrecioComprae
     //
     txt_PrecioComprae.Location = new System.Drawing.Point(19, 205);
     txt_PrecioComprae.Name = "txt_PrecioComprae";
     txt_PrecioComprae.Size = new System.Drawing.Size(100, 20);
     txt_PrecioComprae.TabIndex = 4;
     txt_PrecioComprae.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioComprae_KeyPress);
     //
     // lbl_ProductoElaborado
     //
     lbl_ProductoElaborado.AutoSize = true;
     lbl_ProductoElaborado.Location = new System.Drawing.Point(16, 71);
     lbl_ProductoElaborado.Name = "lbl_ProductoElaborado";
     lbl_ProductoElaborado.Size = new System.Drawing.Size(110, 13);
     lbl_ProductoElaborado.TabIndex = 8;
     lbl_ProductoElaborado.Text = "Productos elaborados";
     //
     // txt_PrecioVentae
     //
     txt_PrecioVentae.Location = new System.Drawing.Point(19, 247);
     txt_PrecioVentae.Name = "txt_PrecioVentae";
     txt_PrecioVentae.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVentae.TabIndex = 5;
     txt_PrecioVentae.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioVentae_KeyPress);
     //
     // dateTime_ProductoElaborado
     //
     dateTime_ProductoElaborado.Location = new System.Drawing.Point(19, 286);
     dateTime_ProductoElaborado.Name = "dateTime_ProductoElaborado";
     dateTime_ProductoElaborado.Size = new System.Drawing.Size(200, 20);
     dateTime_ProductoElaborado.TabIndex = 6;
     //
     // tab_ProductoIndirecto
     //
     tab_ProductoIndirecto.BackColor = System.Drawing.SystemColors.Control;
     tab_ProductoIndirecto.Controls.Add(groupBox_ListaProductoIndirecto);
     tab_ProductoIndirecto.Controls.Add(groupBox_ProductoIndirecto);
     tab_ProductoIndirecto.Location = new System.Drawing.Point(4, 22);
     tab_ProductoIndirecto.Name = "tab_ProductoIndirecto";
     tab_ProductoIndirecto.Padding = new System.Windows.Forms.Padding(3);
     tab_ProductoIndirecto.Size = new System.Drawing.Size(799, 394);
     tab_ProductoIndirecto.TabIndex = 3;
     tab_ProductoIndirecto.Text = "Producto indirecto";
     //
     // groupBox_ListaProductoIndirecto
     //
     groupBox_ListaProductoIndirecto.Controls.Add(data_ProductoIndirecto);
     groupBox_ListaProductoIndirecto.Location = new System.Drawing.Point(277, 34);
     groupBox_ListaProductoIndirecto.Name = "groupBox_ListaProductoIndirecto";
     groupBox_ListaProductoIndirecto.Size = new System.Drawing.Size(483, 327);
     groupBox_ListaProductoIndirecto.TabIndex = 82;
     groupBox_ListaProductoIndirecto.TabStop = false;
     groupBox_ListaProductoIndirecto.Text = "Lista de producto indirecto";
     //
     // data_ProductoIndirecto
     //
     data_ProductoIndirecto.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ProductoIndirecto.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlmacenProductoIndirecto,
     Id_Almaceni,
     Id_ProductoIndirecto,
     Productoi,
     Existenciai,
     Precio_CompraI,
     Precio_Ventai,
     Fechai});
     data_ProductoIndirecto.Location = new System.Drawing.Point(4, 16);
     data_ProductoIndirecto.Name = "data_ProductoIndirecto";
     data_ProductoIndirecto.Size = new System.Drawing.Size(474, 305);
     data_ProductoIndirecto.TabIndex = 0;
     data_ProductoIndirecto.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(data_ProductoIndirecto_MouseDoubleClick);
     //
     // Id_AlmacenProductoIndirecto
     //
     Id_AlmacenProductoIndirecto.HeaderText = "Id_AlmacenProductoIndirecto";
     Id_AlmacenProductoIndirecto.Name = "Id_AlmacenProductoIndirecto";
     Id_AlmacenProductoIndirecto.Visible = false;
     //
     // Id_Almaceni
     //
     Id_Almaceni.HeaderText = "Id_Almacen";
     Id_Almaceni.Name = "Id_Almaceni";
     Id_Almaceni.Visible = false;
     //
     // Id_ProductoIndirecto
     //
     Id_ProductoIndirecto.HeaderText = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Name = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Visible = false;
     //
     // Productoi
     //
     Productoi.HeaderText = "Producto";
     Productoi.Name = "Productoi";
     //
     // Existenciai
     //
     Existenciai.HeaderText = "Existencia";
     Existenciai.Name = "Existenciai";
     //
     // Precio_CompraI
     //
     Precio_CompraI.HeaderText = "Precio compra";
     Precio_CompraI.Name = "Precio_CompraI";
     //
     // Precio_Ventai
     //
     Precio_Ventai.HeaderText = "Precio venta";
     Precio_Ventai.Name = "Precio_Ventai";
     //
     // Fechai
     //
     Fechai.HeaderText = "Fecha";
     Fechai.Name = "Fechai";
     //
     // groupBox_ProductoIndirecto
     //
     groupBox_ProductoIndirecto.Controls.Add(lbl_Almaceni);
     groupBox_ProductoIndirecto.Controls.Add(lbl_FechaI);
     groupBox_ProductoIndirecto.Controls.Add(combo_Almaceni);
     groupBox_ProductoIndirecto.Controls.Add(lbl_PrecioVentaI);
     groupBox_ProductoIndirecto.Controls.Add(comboBox_ProductoIndirecto);
     groupBox_ProductoIndirecto.Controls.Add(lbl_PrecioCompraI);
     groupBox_ProductoIndirecto.Controls.Add(lbl_Existenciai);
     groupBox_ProductoIndirecto.Controls.Add(txt_Existenciai);
     groupBox_ProductoIndirecto.Controls.Add(txt_PrecioComprai);
     groupBox_ProductoIndirecto.Controls.Add(lbl_ProductoIndirecto);
     groupBox_ProductoIndirecto.Controls.Add(txt_PrecioVentai);
     groupBox_ProductoIndirecto.Controls.Add(dateTime_ProductoIndirecto);
     groupBox_ProductoIndirecto.Location = new System.Drawing.Point(39, 34);
     groupBox_ProductoIndirecto.Name = "groupBox_ProductoIndirecto";
     groupBox_ProductoIndirecto.Size = new System.Drawing.Size(232, 327);
     groupBox_ProductoIndirecto.TabIndex = 83;
     groupBox_ProductoIndirecto.TabStop = false;
     groupBox_ProductoIndirecto.Text = "Inventario de producto indirecto";
     //
     // lbl_Almaceni
     //
     lbl_Almaceni.AutoSize = true;
     lbl_Almaceni.Location = new System.Drawing.Point(16, 31);
     lbl_Almaceni.Name = "lbl_Almaceni";
     lbl_Almaceni.Size = new System.Drawing.Size(48, 13);
     lbl_Almaceni.TabIndex = 7;
     lbl_Almaceni.Text = "Almacén";
     //
     // lbl_FechaI
     //
     lbl_FechaI.AutoSize = true;
     lbl_FechaI.Location = new System.Drawing.Point(16, 233);
     lbl_FechaI.Name = "lbl_FechaI";
     lbl_FechaI.Size = new System.Drawing.Size(37, 13);
     lbl_FechaI.TabIndex = 13;
     lbl_FechaI.Text = "Fecha";
     //
     // combo_Almaceni
     //
     combo_Almaceni.FormattingEnabled = true;
     combo_Almaceni.Location = new System.Drawing.Point(19, 47);
     combo_Almaceni.Name = "combo_Almaceni";
     combo_Almaceni.Size = new System.Drawing.Size(121, 21);
     combo_Almaceni.TabIndex = 0;
     //
     // lbl_PrecioVentaI
     //
     lbl_PrecioVentaI.AutoSize = true;
     lbl_PrecioVentaI.Location = new System.Drawing.Point(16, 191);
     lbl_PrecioVentaI.Name = "lbl_PrecioVentaI";
     lbl_PrecioVentaI.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVentaI.TabIndex = 12;
     lbl_PrecioVentaI.Text = "Precio venta";
     //
     // comboBox_ProductoIndirecto
     //
     comboBox_ProductoIndirecto.FormattingEnabled = true;
     comboBox_ProductoIndirecto.Location = new System.Drawing.Point(19, 87);
     comboBox_ProductoIndirecto.Name = "comboBox_ProductoIndirecto";
     comboBox_ProductoIndirecto.Size = new System.Drawing.Size(121, 21);
     comboBox_ProductoIndirecto.TabIndex = 1;
     //
     // lbl_PrecioCompraI
     //
     lbl_PrecioCompraI.AutoSize = true;
     lbl_PrecioCompraI.Location = new System.Drawing.Point(16, 152);
     lbl_PrecioCompraI.Name = "lbl_PrecioCompraI";
     lbl_PrecioCompraI.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioCompraI.TabIndex = 11;
     lbl_PrecioCompraI.Text = "Precio compra";
     //
     // lbl_Existenciai
     //
     lbl_Existenciai.AutoSize = true;
     lbl_Existenciai.Location = new System.Drawing.Point(16, 113);
     lbl_Existenciai.Name = "lbl_Existenciai";
     lbl_Existenciai.Size = new System.Drawing.Size(55, 13);
     lbl_Existenciai.TabIndex = 10;
     lbl_Existenciai.Text = "Existencia";
     //
     // txt_Existenciai
     //
     txt_Existenciai.Location = new System.Drawing.Point(19, 129);
     txt_Existenciai.Name = "txt_Existenciai";
     txt_Existenciai.Size = new System.Drawing.Size(100, 20);
     txt_Existenciai.TabIndex = 3;
     //
     // txt_PrecioComprai
     //
     txt_PrecioComprai.Location = new System.Drawing.Point(19, 168);
     txt_PrecioComprai.Name = "txt_PrecioComprai";
     txt_PrecioComprai.Size = new System.Drawing.Size(100, 20);
     txt_PrecioComprai.TabIndex = 4;
     txt_PrecioComprai.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioComprai_KeyPress);
     //
     // lbl_ProductoIndirecto
     //
     lbl_ProductoIndirecto.AutoSize = true;
     lbl_ProductoIndirecto.Location = new System.Drawing.Point(16, 71);
     lbl_ProductoIndirecto.Name = "lbl_ProductoIndirecto";
     lbl_ProductoIndirecto.Size = new System.Drawing.Size(93, 13);
     lbl_ProductoIndirecto.TabIndex = 8;
     lbl_ProductoIndirecto.Text = "Producto indirecto";
     //
     // txt_PrecioVentai
     //
     txt_PrecioVentai.Location = new System.Drawing.Point(19, 210);
     txt_PrecioVentai.Name = "txt_PrecioVentai";
     txt_PrecioVentai.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVentai.TabIndex = 5;
     txt_PrecioVentai.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioVentai_KeyPress);
     //
     // dateTime_ProductoIndirecto
     //
     dateTime_ProductoIndirecto.Location = new System.Drawing.Point(19, 249);
     dateTime_ProductoIndirecto.Name = "dateTime_ProductoIndirecto";
     dateTime_ProductoIndirecto.Size = new System.Drawing.Size(200, 20);
     dateTime_ProductoIndirecto.TabIndex = 6;
     //
     // tab_ProductoTerminado
     //
     tab_ProductoTerminado.BackColor = System.Drawing.SystemColors.Control;
     tab_ProductoTerminado.Controls.Add(groupBox_ListaProductoTerminado);
     tab_ProductoTerminado.Controls.Add(groupBox_ProductoTerminado);
     tab_ProductoTerminado.Location = new System.Drawing.Point(4, 22);
     tab_ProductoTerminado.Name = "tab_ProductoTerminado";
     tab_ProductoTerminado.Padding = new System.Windows.Forms.Padding(3);
     tab_ProductoTerminado.Size = new System.Drawing.Size(799, 394);
     tab_ProductoTerminado.TabIndex = 4;
     tab_ProductoTerminado.Text = "Producto terminado";
     //
     // groupBox_ListaProductoTerminado
     //
     groupBox_ListaProductoTerminado.Controls.Add(data_ProductoTerminado);
     groupBox_ListaProductoTerminado.Location = new System.Drawing.Point(277, 34);
     groupBox_ListaProductoTerminado.Name = "groupBox_ListaProductoTerminado";
     groupBox_ListaProductoTerminado.Size = new System.Drawing.Size(483, 327);
     groupBox_ListaProductoTerminado.TabIndex = 82;
     groupBox_ListaProductoTerminado.TabStop = false;
     groupBox_ListaProductoTerminado.Text = "Lista de producto terminado";
     //
     // data_ProductoTerminado
     //
     data_ProductoTerminado.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     data_ProductoTerminado.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlmacenProducto,
     Id_Almacent,
     Id_ProductoTerminado,
     Productot,
     Lotet,
     Existenciat,
     Precio_Comprat,
     Precio_Ventat,
     Descuento,
     Fechat});
     data_ProductoTerminado.Location = new System.Drawing.Point(4, 16);
     data_ProductoTerminado.Name = "data_ProductoTerminado";
     data_ProductoTerminado.Size = new System.Drawing.Size(474, 305);
     data_ProductoTerminado.TabIndex = 0;
     data_ProductoTerminado.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(data_ProductoTerminado_MouseDoubleClick);
     //
     // Id_AlmacenProducto
     //
     Id_AlmacenProducto.HeaderText = "Id_AlmacenProducto";
     Id_AlmacenProducto.Name = "Id_AlmacenProducto";
     Id_AlmacenProducto.Visible = false;
     //
     // Id_Almacent
     //
     Id_Almacent.HeaderText = "Id_Almacen";
     Id_Almacent.Name = "Id_Almacent";
     Id_Almacent.Visible = false;
     //
     // Id_ProductoTerminado
     //
     Id_ProductoTerminado.HeaderText = "Id_ProductoTerminado";
     Id_ProductoTerminado.Name = "Id_ProductoTerminado";
     Id_ProductoTerminado.Visible = false;
     //
     // Productot
     //
     Productot.HeaderText = "Producto";
     Productot.Name = "Productot";
     //
     // Lotet
     //
     Lotet.HeaderText = "Lote";
     Lotet.Name = "Lotet";
     //
     // Existenciat
     //
     Existenciat.HeaderText = "Existencia";
     Existenciat.Name = "Existenciat";
     //
     // Precio_Comprat
     //
     Precio_Comprat.HeaderText = "Precio compra";
     Precio_Comprat.Name = "Precio_Comprat";
     //
     // Precio_Ventat
     //
     Precio_Ventat.HeaderText = "Precio venta";
     Precio_Ventat.Name = "Precio_Ventat";
     //
     // Descuento
     //
     Descuento.HeaderText = "Descuento";
     Descuento.Name = "Descuento";
     //
     // Fechat
     //
     Fechat.HeaderText = "Fecha";
     Fechat.Name = "Fechat";
     //
     // groupBox_ProductoTerminado
     //
     groupBox_ProductoTerminado.Controls.Add(lbl_Descuentot);
     groupBox_ProductoTerminado.Controls.Add(txt_Descuento);
     groupBox_ProductoTerminado.Controls.Add(lbl_Almacent);
     groupBox_ProductoTerminado.Controls.Add(lbl_Fechat);
     groupBox_ProductoTerminado.Controls.Add(combo_Almacent);
     groupBox_ProductoTerminado.Controls.Add(lbl_PrecioVentat);
     groupBox_ProductoTerminado.Controls.Add(comboBox_ProductoTerminado);
     groupBox_ProductoTerminado.Controls.Add(lbl_PrecioComprat);
     groupBox_ProductoTerminado.Controls.Add(txt_Lotet);
     groupBox_ProductoTerminado.Controls.Add(lbl_Existenciat);
     groupBox_ProductoTerminado.Controls.Add(txt_Existenciat);
     groupBox_ProductoTerminado.Controls.Add(lbl_Lotet);
     groupBox_ProductoTerminado.Controls.Add(txt_PrecioComprat);
     groupBox_ProductoTerminado.Controls.Add(lbl_Producto);
     groupBox_ProductoTerminado.Controls.Add(txt_PrecioVentat);
     groupBox_ProductoTerminado.Controls.Add(dateTime_ProductoTerminado);
     groupBox_ProductoTerminado.Location = new System.Drawing.Point(39, 34);
     groupBox_ProductoTerminado.Name = "groupBox_ProductoTerminado";
     groupBox_ProductoTerminado.Size = new System.Drawing.Size(232, 341);
     groupBox_ProductoTerminado.TabIndex = 83;
     groupBox_ProductoTerminado.TabStop = false;
     groupBox_ProductoTerminado.Text = "Inventario de producto terminado";
     //
     // lbl_Descuentot
     //
     lbl_Descuentot.AutoSize = true;
     lbl_Descuentot.Location = new System.Drawing.Point(16, 254);
     lbl_Descuentot.Name = "lbl_Descuentot";
     lbl_Descuentot.Size = new System.Drawing.Size(59, 13);
     lbl_Descuentot.TabIndex = 15;
     lbl_Descuentot.Text = "Descuento";
     //
     // txt_Descuento
     //
     txt_Descuento.Location = new System.Drawing.Point(19, 272);
     txt_Descuento.Name = "txt_Descuento";
     txt_Descuento.Size = new System.Drawing.Size(100, 20);
     txt_Descuento.TabIndex = 14;
     txt_Descuento.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Descuento_KeyPress);
     //
     // lbl_Almacent
     //
     lbl_Almacent.AutoSize = true;
     lbl_Almacent.Location = new System.Drawing.Point(16, 17);
     lbl_Almacent.Name = "lbl_Almacent";
     lbl_Almacent.Size = new System.Drawing.Size(48, 13);
     lbl_Almacent.TabIndex = 7;
     lbl_Almacent.Text = "Almacén";
     //
     // lbl_Fechat
     //
     lbl_Fechat.AutoSize = true;
     lbl_Fechat.Location = new System.Drawing.Point(16, 293);
     lbl_Fechat.Name = "lbl_Fechat";
     lbl_Fechat.Size = new System.Drawing.Size(37, 13);
     lbl_Fechat.TabIndex = 13;
     lbl_Fechat.Text = "Fecha";
     //
     // combo_Almacent
     //
     combo_Almacent.FormattingEnabled = true;
     combo_Almacent.Location = new System.Drawing.Point(19, 33);
     combo_Almacent.Name = "combo_Almacent";
     combo_Almacent.Size = new System.Drawing.Size(121, 21);
     combo_Almacent.TabIndex = 0;
     //
     // lbl_PrecioVentat
     //
     lbl_PrecioVentat.AutoSize = true;
     lbl_PrecioVentat.Location = new System.Drawing.Point(16, 214);
     lbl_PrecioVentat.Name = "lbl_PrecioVentat";
     lbl_PrecioVentat.Size = new System.Drawing.Size(67, 13);
     lbl_PrecioVentat.TabIndex = 12;
     lbl_PrecioVentat.Text = "Precio venta";
     //
     // comboBox_ProductoTerminado
     //
     comboBox_ProductoTerminado.FormattingEnabled = true;
     comboBox_ProductoTerminado.Location = new System.Drawing.Point(19, 73);
     comboBox_ProductoTerminado.Name = "comboBox_ProductoTerminado";
     comboBox_ProductoTerminado.Size = new System.Drawing.Size(121, 21);
     comboBox_ProductoTerminado.TabIndex = 1;
     //
     // lbl_PrecioComprat
     //
     lbl_PrecioComprat.AutoSize = true;
     lbl_PrecioComprat.Location = new System.Drawing.Point(16, 175);
     lbl_PrecioComprat.Name = "lbl_PrecioComprat";
     lbl_PrecioComprat.Size = new System.Drawing.Size(75, 13);
     lbl_PrecioComprat.TabIndex = 11;
     lbl_PrecioComprat.Text = "Precio compra";
     //
     // txt_Lotet
     //
     txt_Lotet.Location = new System.Drawing.Point(19, 113);
     txt_Lotet.Name = "txt_Lotet";
     txt_Lotet.Size = new System.Drawing.Size(100, 20);
     txt_Lotet.TabIndex = 2;
     //
     // lbl_Existenciat
     //
     lbl_Existenciat.AutoSize = true;
     lbl_Existenciat.Location = new System.Drawing.Point(16, 136);
     lbl_Existenciat.Name = "lbl_Existenciat";
     lbl_Existenciat.Size = new System.Drawing.Size(55, 13);
     lbl_Existenciat.TabIndex = 10;
     lbl_Existenciat.Text = "Existencia";
     //
     // txt_Existenciat
     //
     txt_Existenciat.Location = new System.Drawing.Point(19, 152);
     txt_Existenciat.Name = "txt_Existenciat";
     txt_Existenciat.Size = new System.Drawing.Size(100, 20);
     txt_Existenciat.TabIndex = 3;
     //
     // lbl_Lotet
     //
     lbl_Lotet.AutoSize = true;
     lbl_Lotet.Location = new System.Drawing.Point(16, 97);
     lbl_Lotet.Name = "lbl_Lotet";
     lbl_Lotet.Size = new System.Drawing.Size(28, 13);
     lbl_Lotet.TabIndex = 9;
     lbl_Lotet.Text = "Lote";
     //
     // txt_PrecioComprat
     //
     txt_PrecioComprat.Location = new System.Drawing.Point(19, 191);
     txt_PrecioComprat.Name = "txt_PrecioComprat";
     txt_PrecioComprat.Size = new System.Drawing.Size(100, 20);
     txt_PrecioComprat.TabIndex = 4;
     txt_PrecioComprat.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioComprat_KeyPress);
     //
     // lbl_Producto
     //
     lbl_Producto.AutoSize = true;
     lbl_Producto.Location = new System.Drawing.Point(16, 57);
     lbl_Producto.Name = "lbl_Producto";
     lbl_Producto.Size = new System.Drawing.Size(50, 13);
     lbl_Producto.TabIndex = 8;
     lbl_Producto.Text = "Producto";
     //
     // txt_PrecioVentat
     //
     txt_PrecioVentat.Location = new System.Drawing.Point(19, 233);
     txt_PrecioVentat.Name = "txt_PrecioVentat";
     txt_PrecioVentat.Size = new System.Drawing.Size(100, 20);
     txt_PrecioVentat.TabIndex = 5;
     txt_PrecioVentat.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_PrecioVentat_KeyPress);
     //
     // dateTime_ProductoTerminado
     //
     dateTime_ProductoTerminado.Location = new System.Drawing.Point(19, 309);
     dateTime_ProductoTerminado.Name = "dateTime_ProductoTerminado";
     dateTime_ProductoTerminado.Size = new System.Drawing.Size(200, 20);
     dateTime_ProductoTerminado.TabIndex = 6;
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     controlDeProductosToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(834, 24);
     menuStrip1.TabIndex = 78;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(153, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(153, 6);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     toolStripSeparator3,
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(49, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // toolStripSeparator3
     //
     toolStripSeparator3.Name = "toolStripSeparator3";
     toolStripSeparator3.Size = new System.Drawing.Size(122, 6);
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // controlDeProductosToolStripMenuItem
     //
     controlDeProductosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nivelMaxMinToolStripMenuItem,
     ordenDePeladoToolStripMenuItem});
     controlDeProductosToolStripMenuItem.Name = "controlDeProductosToolStripMenuItem";
     controlDeProductosToolStripMenuItem.Size = new System.Drawing.Size(132, 20);
     controlDeProductosToolStripMenuItem.Text = "Control de productos";
     //
     // nivelMaxMinToolStripMenuItem
     //
     nivelMaxMinToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Control_Inventario;
     nivelMaxMinToolStripMenuItem.Name = "nivelMaxMinToolStripMenuItem";
     nivelMaxMinToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     nivelMaxMinToolStripMenuItem.Text = "Nivel Max/Min";
     nivelMaxMinToolStripMenuItem.Click += new System.EventHandler(nivelMaxMinToolStripMenuItem_Click);
     //
     // ordenDePeladoToolStripMenuItem
     //
     ordenDePeladoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Caja;
     ordenDePeladoToolStripMenuItem.Name = "ordenDePeladoToolStripMenuItem";
     ordenDePeladoToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     ordenDePeladoToolStripMenuItem.Text = "Orden de pelado";
     ordenDePeladoToolStripMenuItem.Click += new System.EventHandler(ordenDePeladoToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Proveedor
     //
     pic_Proveedor.BackgroundImage = global::Shajobe.Properties.Resources.Inventario;
     pic_Proveedor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Proveedor.Location = new System.Drawing.Point(732, 24);
     pic_Proveedor.Name = "pic_Proveedor";
     pic_Proveedor.Size = new System.Drawing.Size(85, 68);
     pic_Proveedor.TabIndex = 79;
     pic_Proveedor.TabStop = false;
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Inventario
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     Icon = global::Shajobe.Properties.Resources.Inventario_ICO;
     ClientSize = new System.Drawing.Size(834, 511);
     Controls.Add(pic_Proveedor);
     Controls.Add(menuStrip1);
     Controls.Add(tabControl1);
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(840, 535);
     MinimumSize = new System.Drawing.Size(840, 535);
     Name = "Inventario";
     Text = "Inventario";
     Load += new System.EventHandler(Inventario_Load);
     tabControl1.ResumeLayout(false);
     tab_MateriaPrima.ResumeLayout(false);
     groupBox_ListaMateriaPrimam.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrima)).EndInit();
     groupBox_MateriaPrimam.ResumeLayout(false);
     groupBox_MateriaPrimam.PerformLayout();
     tab_MateriaPrimaP.ResumeLayout(false);
     groupBox_ListaMateriaPrimap.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_MateriaPrimaP)).EndInit();
     groupBox_MateriaPrimap.ResumeLayout(false);
     groupBox_MateriaPrimap.PerformLayout();
     tab_ProductoElaborado.ResumeLayout(false);
     groupBox_ListaProductoElaborado.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoElaborado)).EndInit();
     groupBox_ProductoElaborado.ResumeLayout(false);
     groupBox_ProductoElaborado.PerformLayout();
     tab_ProductoIndirecto.ResumeLayout(false);
     groupBox_ListaProductoIndirecto.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoIndirecto)).EndInit();
     groupBox_ProductoIndirecto.ResumeLayout(false);
     groupBox_ProductoIndirecto.PerformLayout();
     tab_ProductoTerminado.ResumeLayout(false);
     groupBox_ListaProductoTerminado.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(data_ProductoTerminado)).EndInit();
     groupBox_ProductoTerminado.ResumeLayout(false);
     groupBox_ProductoTerminado.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 25
0
 private void Diseño_Forma()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Menu_Principal));
     lbl_Proveedoresporpagar = new System.Windows.Forms.Label();
     lbl_Clientesporpagar = new System.Windows.Forms.Label();
     picCliente = new System.Windows.Forms.PictureBox();
     dataGridViewClientes = new System.Windows.Forms.DataGridView();
     Id_Cliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombrec = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Apellido_Pc = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Saldoc = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Dias_Creditoc = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activocl = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     dataGridViewProveedores = new System.Windows.Forms.DataGridView();
     Id_Proveedor = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Apellido_P = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Saldo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Dias_Credito = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activop = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     label2 = new System.Windows.Forms.Label();
     lbl_PedidosPendientes = new System.Windows.Forms.Label();
     pic_Proveedor = new System.Windows.Forms.PictureBox();
     pic_Recordatorio = new System.Windows.Forms.PictureBox();
     pic_Pendiente = new System.Windows.Forms.PictureBox();
     dataPendiente = new System.Windows.Forms.DataGridView();
     menu = new System.Windows.Forms.MenuStrip();
     catalogosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     clientesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     proveedoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     materiaPrimaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     materiaPrimaSinRebabaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     productosTerminadosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     productosIndirectosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     productosElaboradosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     inventariosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     almacenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     inventariosToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     elaborarProductosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ingredientesEmpaquesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     financieroToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     cajaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     ventaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     abonoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     reportesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     configuraciónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     cuentasDeUsuarioToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     pic_Logo = new System.Windows.Forms.PictureBox();
     panel3 = new System.Windows.Forms.Panel();
     dataGridProductosTerminados = new System.Windows.Forms.DataGridView();
     Id_AlertaProducto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoTerminado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacent = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ProductoTerminado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechat = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activot = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     dataGridProductosElaborados = new System.Windows.Forms.DataGridView();
     Id_AlertaProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacene = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechae = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activoe = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     dataSinRebaba = new System.Windows.Forms.DataGridView();
     Id_AlertaMateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacens = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existencias = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechas = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activos = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     dataConrebaba = new System.Windows.Forms.DataGridView();
     Id_AlertaMateriaPrima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacenc = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_MateriaPrima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     MateriaPrima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existenciac = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fechac = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activoc = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     dataIndirecto = new System.Windows.Forms.DataGridView();
     Id_AlertaIndirecto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_ProductoIndirecto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ProductoIndirecto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Almacen = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Existencia = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Fecha = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Activo = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(picCliente)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewClientes)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewProveedores)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Recordatorio)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Pendiente)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataPendiente)).BeginInit();
     menu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Logo)).BeginInit();
     panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosTerminados)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosElaborados)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataSinRebaba)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataConrebaba)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataIndirecto)).BeginInit();
     SuspendLayout();
     //
     // lbl_Proveedoresporpagar
     //
     lbl_Proveedoresporpagar.AutoSize = true;
     lbl_Proveedoresporpagar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     lbl_Proveedoresporpagar.Location = new System.Drawing.Point(887, 94);
     lbl_Proveedoresporpagar.Name = "lbl_Proveedoresporpagar";
     lbl_Proveedoresporpagar.Size = new System.Drawing.Size(170, 20);
     lbl_Proveedoresporpagar.TabIndex = 29;
     lbl_Proveedoresporpagar.Text = "Proveedores por pagar";
     //
     // lbl_Clientesporpagar
     //
     lbl_Clientesporpagar.AutoSize = true;
     lbl_Clientesporpagar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     lbl_Clientesporpagar.Location = new System.Drawing.Point(887, 457);
     lbl_Clientesporpagar.Name = "lbl_Clientesporpagar";
     lbl_Clientesporpagar.Size = new System.Drawing.Size(138, 20);
     lbl_Clientesporpagar.TabIndex = 28;
     lbl_Clientesporpagar.Text = "Clientes por pagar";
     //
     // picCliente
     //
     picCliente.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("picCliente.BackgroundImage")));
     picCliente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     picCliente.Location = new System.Drawing.Point(781, 423);
     picCliente.Name = "picCliente";
     picCliente.Size = new System.Drawing.Size(100, 84);
     picCliente.TabIndex = 27;
     picCliente.TabStop = false;
     //
     // dataGridViewClientes
     //
     dataGridViewClientes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewClientes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_Cliente,
     Nombrec,
     Apellido_Pc,
     Saldoc,
     Dias_Creditoc,
     Activocl});
     dataGridViewClientes.Location = new System.Drawing.Point(781, 514);
     dataGridViewClientes.Name = "dataGridViewClientes";
     dataGridViewClientes.Size = new System.Drawing.Size(379, 223);
     dataGridViewClientes.TabIndex = 26;
     //
     // Id_Cliente
     //
     Id_Cliente.HeaderText = "Id_Cliente";
     Id_Cliente.Name = "Id_Cliente";
     Id_Cliente.Visible = false;
     //
     // Nombrec
     //
     Nombrec.HeaderText = "Nombre";
     Nombrec.Name = "Nombrec";
     //
     // Apellido_Pc
     //
     Apellido_Pc.HeaderText = "Apellido Paterno";
     Apellido_Pc.Name = "Apellido_Pc";
     //
     // Saldoc
     //
     Saldoc.HeaderText = "Saldo";
     Saldoc.Name = "Saldoc";
     //
     // Dias_Creditoc
     //
     Dias_Creditoc.HeaderText = "Dias_Credito";
     Dias_Creditoc.Name = "Dias_Creditoc";
     //
     // Activocl
     //
     Activocl.HeaderText = "Activo";
     Activocl.Name = "Activocl";
     //
     // dataGridViewProveedores
     //
     dataGridViewProveedores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewProveedores.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_Proveedor,
     Nombre,
     Apellido_P,
     Saldo,
     Dias_Credito,
     Activop});
     dataGridViewProveedores.Location = new System.Drawing.Point(781, 171);
     dataGridViewProveedores.Name = "dataGridViewProveedores";
     dataGridViewProveedores.Size = new System.Drawing.Size(379, 223);
     dataGridViewProveedores.TabIndex = 25;
     //
     // Id_Proveedor
     //
     Id_Proveedor.HeaderText = "Id_Proveedor";
     Id_Proveedor.Name = "Id_Proveedor";
     Id_Proveedor.Visible = false;
     //
     // Nombre
     //
     Nombre.HeaderText = "Nombre";
     Nombre.Name = "Nombre";
     //
     // Apellido_P
     //
     Apellido_P.HeaderText = "Apellido_P";
     Apellido_P.Name = "Apellido_P";
     //
     // Saldo
     //
     Saldo.HeaderText = "Saldo";
     Saldo.Name = "Saldo";
     //
     // Dias_Credito
     //
     Dias_Credito.HeaderText = "Dias credito";
     Dias_Credito.Name = "Dias_Credito";
     //
     // Activop
     //
     Activop.HeaderText = "Activo";
     Activop.Name = "Activop";
     //
     // label2
     //
     label2.AutoSize = true;
     label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     label2.Location = new System.Drawing.Point(402, 94);
     label2.Name = "label2";
     label2.Size = new System.Drawing.Size(216, 20);
     label2.TabIndex = 24;
     label2.Text = "Cosas por comprar y elaborar";
     //
     // lbl_PedidosPendientes
     //
     lbl_PedidosPendientes.AutoSize = true;
     lbl_PedidosPendientes.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     lbl_PedidosPendientes.Location = new System.Drawing.Point(108, 94);
     lbl_PedidosPendientes.Name = "lbl_PedidosPendientes";
     lbl_PedidosPendientes.Size = new System.Drawing.Size(149, 20);
     lbl_PedidosPendientes.TabIndex = 23;
     lbl_PedidosPendientes.Text = "Pedidos pendientes";
     //
     // pic_Proveedor
     //
     pic_Proveedor.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pic_Proveedor.BackgroundImage")));
     pic_Proveedor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Proveedor.Location = new System.Drawing.Point(781, 64);
     pic_Proveedor.Name = "pic_Proveedor";
     pic_Proveedor.Size = new System.Drawing.Size(100, 84);
     pic_Proveedor.TabIndex = 22;
     pic_Proveedor.TabStop = false;
     //
     // pic_Recordatorio
     //
     pic_Recordatorio.BackgroundImage = global::Shajobe.Properties.Resources.Cosas_Comprar;
     pic_Recordatorio.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Recordatorio.Location = new System.Drawing.Point(321, 64);
     pic_Recordatorio.Name = "pic_Recordatorio";
     pic_Recordatorio.Size = new System.Drawing.Size(75, 75);
     pic_Recordatorio.TabIndex = 21;
     pic_Recordatorio.TabStop = false;
     //
     // pic_Pendiente
     //
     pic_Pendiente.BackgroundImage = global::Shajobe.Properties.Resources.Pendientes;
     pic_Pendiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Pendiente.Location = new System.Drawing.Point(17, 60);
     pic_Pendiente.Name = "pic_Pendiente";
     pic_Pendiente.Size = new System.Drawing.Size(85, 79);
     pic_Pendiente.TabIndex = 20;
     pic_Pendiente.TabStop = false;
     //
     // dataPendiente
     //
     dataPendiente.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataPendiente.Location = new System.Drawing.Point(17, 145);
     dataPendiente.Name = "dataPendiente";
     dataPendiente.Size = new System.Drawing.Size(284, 592);
     dataPendiente.TabIndex = 18;
     //
     // menu
     //
     menu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     catalogosToolStripMenuItem,
     inventariosToolStripMenuItem,
     elaborarProductosToolStripMenuItem,
     financieroToolStripMenuItem,
     reportesToolStripMenuItem,
     configuraciónToolStripMenuItem});
     menu.Location = new System.Drawing.Point(0, 0);
     menu.Name = "menu";
     menu.Size = new System.Drawing.Size(1177, 24);
     menu.TabIndex = 32;
     menu.Text = "menuStrip1";
     //
     // catalogosToolStripMenuItem
     //
     catalogosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     clientesToolStripMenuItem,
     proveedoresToolStripMenuItem,
     materiaPrimaToolStripMenuItem,
     materiaPrimaSinRebabaToolStripMenuItem,
     productosTerminadosToolStripMenuItem,
     productosIndirectosToolStripMenuItem,
     productosElaboradosToolStripMenuItem});
     catalogosToolStripMenuItem.Name = "catalogosToolStripMenuItem";
     catalogosToolStripMenuItem.Size = new System.Drawing.Size(72, 20);
     catalogosToolStripMenuItem.Text = "Catalogos";
     //
     // clientesToolStripMenuItem
     //
     clientesToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Clientes;
     clientesToolStripMenuItem.Name = "clientesToolStripMenuItem";
     clientesToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
     clientesToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     clientesToolStripMenuItem.Text = "&Clientes";
     clientesToolStripMenuItem.Click += new System.EventHandler(clientesToolStripMenuItem_Click_1);
     //
     // proveedoresToolStripMenuItem
     //
     proveedoresToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Proveedores;
     proveedoresToolStripMenuItem.Name = "proveedoresToolStripMenuItem";
     proveedoresToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
     proveedoresToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     proveedoresToolStripMenuItem.Text = "&Proveedores";
     proveedoresToolStripMenuItem.Click += new System.EventHandler(proveedoresToolStripMenuItem_Click_1);
     //
     // materiaPrimaToolStripMenuItem
     //
     materiaPrimaToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Materia_prima;
     materiaPrimaToolStripMenuItem.Name = "materiaPrimaToolStripMenuItem";
     materiaPrimaToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)));
     materiaPrimaToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     materiaPrimaToolStripMenuItem.Text = "&Materia prima con rebaba";
     materiaPrimaToolStripMenuItem.Click += new System.EventHandler(materiaPrimaToolStripMenuItem_Click);
     //
     // materiaPrimaSinRebabaToolStripMenuItem
     //
     materiaPrimaSinRebabaToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Materia_prima;
     materiaPrimaSinRebabaToolStripMenuItem.Name = "materiaPrimaSinRebabaToolStripMenuItem";
     materiaPrimaSinRebabaToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     materiaPrimaSinRebabaToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     materiaPrimaSinRebabaToolStripMenuItem.Text = "&Materia prima sin rebaba";
     materiaPrimaSinRebabaToolStripMenuItem.Click += new System.EventHandler(materiaPrimaSinRebabaToolStripMenuItem_Click);
     //
     // productosTerminadosToolStripMenuItem
     //
     productosTerminadosToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Producto;
     productosTerminadosToolStripMenuItem.Name = "productosTerminadosToolStripMenuItem";
     productosTerminadosToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
     productosTerminadosToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     productosTerminadosToolStripMenuItem.Text = "&Productos terminados";
     productosTerminadosToolStripMenuItem.Click += new System.EventHandler(productosTerminadosToolStripMenuItem_Click_1);
     //
     // productosIndirectosToolStripMenuItem
     //
     productosIndirectosToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Indirecto;
     productosIndirectosToolStripMenuItem.Name = "productosIndirectosToolStripMenuItem";
     productosIndirectosToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
     productosIndirectosToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     productosIndirectosToolStripMenuItem.Text = "&Productos Indirectos";
     productosIndirectosToolStripMenuItem.Click += new System.EventHandler(productosIndirectosToolStripMenuItem_Click);
     //
     // productosElaboradosToolStripMenuItem
     //
     productosElaboradosToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Producto_Elaborado;
     productosElaboradosToolStripMenuItem.Name = "productosElaboradosToolStripMenuItem";
     productosElaboradosToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
     productosElaboradosToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
     productosElaboradosToolStripMenuItem.Text = "&Productos elaborados";
     productosElaboradosToolStripMenuItem.Click += new System.EventHandler(productosElaboradosToolStripMenuItem_Click);
     //
     // inventariosToolStripMenuItem
     //
     inventariosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     almacenToolStripMenuItem,
     inventariosToolStripMenuItem1});
     inventariosToolStripMenuItem.Name = "inventariosToolStripMenuItem";
     inventariosToolStripMenuItem.Size = new System.Drawing.Size(77, 20);
     inventariosToolStripMenuItem.Text = "Inventarios";
     //
     // almacenToolStripMenuItem
     //
     almacenToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Almacen;
     almacenToolStripMenuItem.Name = "almacenToolStripMenuItem";
     almacenToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
     almacenToolStripMenuItem.Text = "Almacén";
     almacenToolStripMenuItem.Click += new System.EventHandler(almacenToolStripMenuItem_Click);
     //
     // inventariosToolStripMenuItem1
     //
     inventariosToolStripMenuItem1.Image = global::Shajobe.Properties.Resources.Inventario;
     inventariosToolStripMenuItem1.Name = "inventariosToolStripMenuItem1";
     inventariosToolStripMenuItem1.Size = new System.Drawing.Size(132, 22);
     inventariosToolStripMenuItem1.Text = "Inventarios";
     inventariosToolStripMenuItem1.Click += new System.EventHandler(inventariosToolStripMenuItem1_Click);
     //
     // elaborarProductosToolStripMenuItem
     //
     elaborarProductosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     ingredientesEmpaquesToolStripMenuItem});
     elaborarProductosToolStripMenuItem.Name = "elaborarProductosToolStripMenuItem";
     elaborarProductosToolStripMenuItem.Size = new System.Drawing.Size(119, 20);
     elaborarProductosToolStripMenuItem.Text = "Elaborar productos";
     //
     // ingredientesEmpaquesToolStripMenuItem
     //
     ingredientesEmpaquesToolStripMenuItem.Name = "ingredientesEmpaquesToolStripMenuItem";
     ingredientesEmpaquesToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     ingredientesEmpaquesToolStripMenuItem.Text = "Ingredientes - Empaques";
     ingredientesEmpaquesToolStripMenuItem.Click += new System.EventHandler(ingredientesEmpaquesToolStripMenuItem_Click);
     //
     // financieroToolStripMenuItem
     //
     financieroToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     cajaToolStripMenuItem,
     toolStripSeparator1,
     ventaToolStripMenuItem,
     toolStripSeparator3,
     abonoToolStripMenuItem});
     financieroToolStripMenuItem.Name = "financieroToolStripMenuItem";
     financieroToolStripMenuItem.Size = new System.Drawing.Size(74, 20);
     financieroToolStripMenuItem.Text = "Financiero";
     //
     // cajaToolStripMenuItem
     //
     cajaToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Caja;
     cajaToolStripMenuItem.Name = "cajaToolStripMenuItem";
     cajaToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     cajaToolStripMenuItem.Text = "Caja";
     cajaToolStripMenuItem.Click += new System.EventHandler(cajaToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(149, 6);
     //
     // ventaToolStripMenuItem
     //
     ventaToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Venta;
     ventaToolStripMenuItem.Name = "ventaToolStripMenuItem";
     ventaToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     ventaToolStripMenuItem.Text = "Venta - Pedido";
     ventaToolStripMenuItem.Click += new System.EventHandler(ventaToolStripMenuItem_Click);
     //
     // toolStripSeparator3
     //
     toolStripSeparator3.Name = "toolStripSeparator3";
     toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
     //
     // abonoToolStripMenuItem
     //
     abonoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Modificar;
     abonoToolStripMenuItem.Name = "abonoToolStripMenuItem";
     abonoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     abonoToolStripMenuItem.Text = "Abono";
     abonoToolStripMenuItem.Click += new System.EventHandler(abonoToolStripMenuItem_Click);
     //
     // reportesToolStripMenuItem
     //
     reportesToolStripMenuItem.Name = "reportesToolStripMenuItem";
     reportesToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
     reportesToolStripMenuItem.Text = "Reportes";
     //
     // configuraciónToolStripMenuItem
     //
     configuraciónToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     cuentasDeUsuarioToolStripMenuItem,
     toolStripSeparator2});
     configuraciónToolStripMenuItem.Name = "configuraciónToolStripMenuItem";
     configuraciónToolStripMenuItem.Size = new System.Drawing.Size(95, 20);
     configuraciónToolStripMenuItem.Text = "Configuración";
     //
     // cuentasDeUsuarioToolStripMenuItem
     //
     cuentasDeUsuarioToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Usuario;
     cuentasDeUsuarioToolStripMenuItem.Name = "cuentasDeUsuarioToolStripMenuItem";
     cuentasDeUsuarioToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
     cuentasDeUsuarioToolStripMenuItem.Text = "Cuentas de usuario";
     cuentasDeUsuarioToolStripMenuItem.Click += new System.EventHandler(cuentasDeUsuarioToolStripMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(172, 6);
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(985, 25);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(175, 75);
     pic_Logo.TabIndex = 33;
     pic_Logo.TabStop = false;
     //
     // panel3
     //
     panel3.AutoScroll = true;
     panel3.Controls.Add(dataGridProductosTerminados);
     panel3.Controls.Add(dataGridProductosElaborados);
     panel3.Controls.Add(dataSinRebaba);
     panel3.Controls.Add(dataConrebaba);
     panel3.Controls.Add(dataIndirecto);
     panel3.Location = new System.Drawing.Point(303, 136);
     panel3.Name = "panel3";
     panel3.Size = new System.Drawing.Size(473, 600);
     panel3.TabIndex = 34;
     //
     // dataGridProductosTerminados
     //
     dataGridProductosTerminados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridProductosTerminados.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaProducto,
     Id_ProductoTerminado,
     Id_Almacent,
     ProductoTerminado,
     Existenciat,
     Fechat,
     Activot});
     dataGridProductosTerminados.Location = new System.Drawing.Point(12, 790);
     dataGridProductosTerminados.Name = "dataGridProductosTerminados";
     dataGridProductosTerminados.Size = new System.Drawing.Size(442, 199);
     dataGridProductosTerminados.TabIndex = 36;
     //
     // Id_AlertaProducto
     //
     Id_AlertaProducto.HeaderText = "Id_AlertaProducto";
     Id_AlertaProducto.Name = "Id_AlertaProducto";
     Id_AlertaProducto.Visible = false;
     //
     // Id_ProductoTerminado
     //
     Id_ProductoTerminado.HeaderText = "Id_ProductoTerminado";
     Id_ProductoTerminado.Name = "Id_ProductoTerminado";
     Id_ProductoTerminado.Visible = false;
     //
     // Id_Almacent
     //
     Id_Almacent.HeaderText = "Id_Almacent";
     Id_Almacent.Name = "Id_Almacent";
     Id_Almacent.Visible = false;
     //
     // ProductoTerminado
     //
     ProductoTerminado.HeaderText = "Producto terminado";
     ProductoTerminado.Name = "ProductoTerminado";
     //
     // Existenciat
     //
     Existenciat.HeaderText = "Existencia";
     Existenciat.Name = "Existenciat";
     //
     // Fechat
     //
     Fechat.HeaderText = "Fecha";
     Fechat.Name = "Fechat";
     //
     // Activot
     //
     Activot.HeaderText = "Activo";
     Activot.Name = "Activot";
     Activot.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     Activot.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     //
     // dataGridProductosElaborados
     //
     dataGridProductosElaborados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridProductosElaborados.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaProductoElaborado,
     Id_ProductoElaborado,
     Id_Almacene,
     ProductoElaborado,
     Existenciae,
     Fechae,
     Activoe});
     dataGridProductosElaborados.Location = new System.Drawing.Point(12, 606);
     dataGridProductosElaborados.Name = "dataGridProductosElaborados";
     dataGridProductosElaborados.Size = new System.Drawing.Size(442, 178);
     dataGridProductosElaborados.TabIndex = 35;
     //
     // Id_AlertaProductoElaborado
     //
     Id_AlertaProductoElaborado.HeaderText = "Id_AlertaProductoElaborado";
     Id_AlertaProductoElaborado.Name = "Id_AlertaProductoElaborado";
     Id_AlertaProductoElaborado.Visible = false;
     //
     // Id_ProductoElaborado
     //
     Id_ProductoElaborado.HeaderText = "Id_ProductoElaborado";
     Id_ProductoElaborado.Name = "Id_ProductoElaborado";
     Id_ProductoElaborado.Visible = false;
     //
     // Id_Almacene
     //
     Id_Almacene.HeaderText = "Id_Almacene";
     Id_Almacene.Name = "Id_Almacene";
     Id_Almacene.Visible = false;
     //
     // ProductoElaborado
     //
     ProductoElaborado.HeaderText = "Producto elaborado";
     ProductoElaborado.Name = "ProductoElaborado";
     //
     // Existenciae
     //
     Existenciae.HeaderText = "Existencia";
     Existenciae.Name = "Existenciae";
     //
     // Fechae
     //
     Fechae.HeaderText = "Fecha";
     Fechae.Name = "Fechae";
     //
     // Activoe
     //
     Activoe.HeaderText = "Activo";
     Activoe.Name = "Activoe";
     //
     // dataSinRebaba
     //
     dataSinRebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataSinRebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaMateriaPrimaP,
     Id_MateriaPrimaP,
     MateriaPrimaP,
     Id_Almacens,
     Existencias,
     Fechas,
     Activos});
     dataSinRebaba.Location = new System.Drawing.Point(12, 401);
     dataSinRebaba.Name = "dataSinRebaba";
     dataSinRebaba.Size = new System.Drawing.Size(442, 199);
     dataSinRebaba.TabIndex = 34;
     //
     // Id_AlertaMateriaPrimaP
     //
     Id_AlertaMateriaPrimaP.HeaderText = "Id_AlertaMateriaPrimaP";
     Id_AlertaMateriaPrimaP.Name = "Id_AlertaMateriaPrimaP";
     Id_AlertaMateriaPrimaP.Visible = false;
     //
     // Id_MateriaPrimaP
     //
     Id_MateriaPrimaP.HeaderText = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Name = "Id_MateriaPrimaP";
     Id_MateriaPrimaP.Visible = false;
     //
     // MateriaPrimaP
     //
     MateriaPrimaP.HeaderText = "Materia prima";
     MateriaPrimaP.Name = "MateriaPrimaP";
     //
     // Id_Almacens
     //
     Id_Almacens.HeaderText = "Id_Almacen";
     Id_Almacens.Name = "Id_Almacens";
     Id_Almacens.Visible = false;
     //
     // Existencias
     //
     Existencias.HeaderText = "Existencia";
     Existencias.Name = "Existencias";
     //
     // Fechas
     //
     Fechas.HeaderText = "Fecha";
     Fechas.Name = "Fechas";
     //
     // Activos
     //
     Activos.HeaderText = "Activo";
     Activos.Name = "Activos";
     //
     // dataConrebaba
     //
     dataConrebaba.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataConrebaba.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaMateriaPrima,
     Id_Almacenc,
     Id_MateriaPrima,
     MateriaPrima,
     Existenciac,
     Fechac,
     Activoc});
     dataConrebaba.Location = new System.Drawing.Point(12, 195);
     dataConrebaba.Name = "dataConrebaba";
     dataConrebaba.Size = new System.Drawing.Size(442, 199);
     dataConrebaba.TabIndex = 33;
     //
     // Id_AlertaMateriaPrima
     //
     Id_AlertaMateriaPrima.HeaderText = "Id_AlertaMateriaPrima";
     Id_AlertaMateriaPrima.Name = "Id_AlertaMateriaPrima";
     Id_AlertaMateriaPrima.Visible = false;
     //
     // Id_Almacenc
     //
     Id_Almacenc.HeaderText = "Id_Almacen";
     Id_Almacenc.Name = "Id_Almacenc";
     Id_Almacenc.Visible = false;
     //
     // Id_MateriaPrima
     //
     Id_MateriaPrima.HeaderText = "Id_MateriaPrima";
     Id_MateriaPrima.Name = "Id_MateriaPrima";
     Id_MateriaPrima.Visible = false;
     //
     // MateriaPrima
     //
     MateriaPrima.HeaderText = "MateriaPrima";
     MateriaPrima.Name = "MateriaPrima";
     //
     // Existenciac
     //
     Existenciac.HeaderText = "Existencia";
     Existenciac.Name = "Existenciac";
     //
     // Fechac
     //
     Fechac.HeaderText = "Fecha";
     Fechac.Name = "Fechac";
     //
     // Activoc
     //
     Activoc.HeaderText = "Activo";
     Activoc.Name = "Activoc";
     //
     // dataIndirecto
     //
     dataIndirecto.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataIndirecto.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_AlertaIndirecto,
     Id_ProductoIndirecto,
     ProductoIndirecto,
     Id_Almacen,
     Existencia,
     Fecha,
     Activo});
     dataIndirecto.Location = new System.Drawing.Point(12, 10);
     dataIndirecto.Name = "dataIndirecto";
     dataIndirecto.Size = new System.Drawing.Size(442, 178);
     dataIndirecto.TabIndex = 32;
     //
     // Id_AlertaIndirecto
     //
     Id_AlertaIndirecto.HeaderText = "Id_AlertaIndirecto";
     Id_AlertaIndirecto.Name = "Id_AlertaIndirecto";
     Id_AlertaIndirecto.Visible = false;
     //
     // Id_ProductoIndirecto
     //
     Id_ProductoIndirecto.HeaderText = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Name = "Id_ProductoIndirecto";
     Id_ProductoIndirecto.Visible = false;
     //
     // ProductoIndirecto
     //
     ProductoIndirecto.HeaderText = "ProductoIndirecto";
     ProductoIndirecto.Name = "ProductoIndirecto";
     //
     // Id_Almacen
     //
     Id_Almacen.HeaderText = "Id_Almacen";
     Id_Almacen.Name = "Id_Almacen";
     Id_Almacen.Visible = false;
     //
     // Existencia
     //
     Existencia.HeaderText = "Existencia";
     Existencia.Name = "Existencia";
     //
     // Fecha
     //
     Fecha.HeaderText = "Fecha";
     Fecha.Name = "Fecha";
     //
     // Activo
     //
     Activo.HeaderText = "Activo";
     Activo.Name = "Activo";
     //
     // Menu_Principal
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(1177, 791);
     Controls.Add(panel3);
     Controls.Add(pic_Logo);
     Controls.Add(lbl_Proveedoresporpagar);
     Controls.Add(lbl_Clientesporpagar);
     Controls.Add(picCliente);
     Controls.Add(dataGridViewClientes);
     Controls.Add(dataGridViewProveedores);
     Controls.Add(label2);
     Controls.Add(lbl_PedidosPendientes);
     Controls.Add(pic_Proveedor);
     Controls.Add(pic_Recordatorio);
     Controls.Add(pic_Pendiente);
     Controls.Add(dataPendiente);
     Controls.Add(menu);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     Icon = global::Shajobe.Properties.Resources.Shajobe_ICO;
     MainMenuStrip = menu;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(1183, 820);
     MinimumSize = new System.Drawing.Size(1183, 820);
     Name = "Menu_Principal";
     Text = "Menu principal";
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Menu_Principal_FormClosing);
     Load += new System.EventHandler(Menu_Principal_Load);
     ((System.ComponentModel.ISupportInitialize)(picCliente)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewClientes)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridViewProveedores)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Proveedor)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Recordatorio)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Pendiente)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataPendiente)).EndInit();
     menu.ResumeLayout(false);
     menu.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Logo)).EndInit();
     panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosTerminados)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridProductosElaborados)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataSinRebaba)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataConrebaba)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataIndirecto)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 26
0
 private void Diseño_Forma()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Almacen));
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     txt_Lugar = new System.Windows.Forms.TextBox();
     txt_Nombre = new System.Windows.Forms.TextBox();
     lbl_Lugar = new System.Windows.Forms.Label();
     lbl_Nombre = new System.Windows.Forms.Label();
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     pic_Almacen = new System.Windows.Forms.PictureBox();
     groupBoxdatos.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Almacen)).BeginInit();
     SuspendLayout();
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     txt_Lugar = new System.Windows.Forms.TextBox();
     txt_Nombre = new System.Windows.Forms.TextBox();
     lbl_Lugar = new System.Windows.Forms.Label();
     lbl_Nombre = new System.Windows.Forms.Label();
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     pic_Almacen = new System.Windows.Forms.PictureBox();
     groupBoxdatos.SuspendLayout();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Almacen)).BeginInit();
     SuspendLayout();
     //
     // groupBoxdatos
     //
     groupBoxdatos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     groupBoxdatos.Controls.Add(txt_Lugar);
     groupBoxdatos.Controls.Add(txt_Nombre);
     groupBoxdatos.Controls.Add(lbl_Lugar);
     groupBoxdatos.Controls.Add(lbl_Nombre);
     groupBoxdatos.Location = new System.Drawing.Point(11, 69);
     groupBoxdatos.Name = "groupBoxdatos";
     groupBoxdatos.Size = new System.Drawing.Size(418, 130);
     groupBoxdatos.TabIndex = 75;
     groupBoxdatos.TabStop = false;
     groupBoxdatos.Text = "Datos del almacen";
     //
     // txt_Lugar
     //
     txt_Lugar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Lugar.Location = new System.Drawing.Point(126, 77);
     txt_Lugar.MaxLength = 100;
     txt_Lugar.Name = "txt_Lugar";
     txt_Lugar.Size = new System.Drawing.Size(270, 40);
     txt_Lugar.Multiline = true;
     txt_Lugar.TabIndex = 73;
     txt_Lugar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Lugar_KeyPress);
     //
     // txt_Nombre
     //
     txt_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Nombre.Location = new System.Drawing.Point(126, 52);
     txt_Nombre.MaxLength = 25;
     txt_Nombre.Name = "txt_Nombre";
     txt_Nombre.Size = new System.Drawing.Size(127, 20);
     txt_Nombre.TabIndex = 72;
     txt_Nombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Nombre_KeyPress);
     //
     // lbl_Lugar
     //
     lbl_Lugar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Lugar.AutoSize = true;
     lbl_Lugar.Location = new System.Drawing.Point(37, 85);
     lbl_Lugar.Name = "lbl_Lugar";
     lbl_Lugar.Size = new System.Drawing.Size(34, 13);
     lbl_Lugar.TabIndex = 71;
     lbl_Lugar.Text = "Lugar";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(37, 56);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 69;
     lbl_Nombre.Text = "Nombre";
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(448, 24);
     menuStrip1.TabIndex = 77;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Visible = false;
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Almacen
     //
     pic_Almacen.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Almacen;
     pic_Almacen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Almacen.Location = new System.Drawing.Point(351, 25);
     pic_Almacen.Name = "pic_Almacen";
     pic_Almacen.Size = new System.Drawing.Size(85, 67);
     pic_Almacen.TabIndex = 79;
     pic_Almacen.TabStop = false;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(280, 200);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(152, 70);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Almacen
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(448, 284);
     Controls.Add(pic_Almacen);
     Controls.Add(menuStrip1);
     Controls.Add(pic_Logo);
     Controls.Add(groupBoxdatos);
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Almacen_FormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.Almacen_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(454, 306);
     MinimumSize = new System.Drawing.Size(454, 306);
     Name = "Almacen";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text = "Almacen";
     Load += new System.EventHandler(Almacen_Load);
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_Almacen)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
 private void CreateStandardMenuStrip(IDesignerHost host, MenuStrip tool)
 {
     string[][] strArray = new string[][] { new string[] { System.Design.SR.GetString("StandardMenuFile"), System.Design.SR.GetString("StandardMenuNew"), System.Design.SR.GetString("StandardMenuOpen"), "-", System.Design.SR.GetString("StandardMenuSave"), System.Design.SR.GetString("StandardMenuSaveAs"), "-", System.Design.SR.GetString("StandardMenuPrint"), System.Design.SR.GetString("StandardMenuPrintPreview"), "-", System.Design.SR.GetString("StandardMenuExit") }, new string[] { System.Design.SR.GetString("StandardMenuEdit"), System.Design.SR.GetString("StandardMenuUndo"), System.Design.SR.GetString("StandardMenuRedo"), "-", System.Design.SR.GetString("StandardMenuCut"), System.Design.SR.GetString("StandardMenuCopy"), System.Design.SR.GetString("StandardMenuPaste"), "-", System.Design.SR.GetString("StandardMenuSelectAll") }, new string[] { System.Design.SR.GetString("StandardMenuTools"), System.Design.SR.GetString("StandardMenuCustomize"), System.Design.SR.GetString("StandardMenuOptions") }, new string[] { System.Design.SR.GetString("StandardMenuHelp"), System.Design.SR.GetString("StandardMenuContents"), System.Design.SR.GetString("StandardMenuIndex"), System.Design.SR.GetString("StandardMenuSearch"), "-", System.Design.SR.GetString("StandardMenuAbout") } };
     string[][] strArray2 = new string[][] { new string[] { "", "new", "open", "-", "save", "", "-", "print", "printPreview", "-", "" }, new string[] { "", "", "", "-", "cut", "copy", "paste", "-", "" }, new string[] { "", "", "" }, new string[] { "", "", "", "", "-", "" } };
     Keys[][] keysArray2 = new Keys[4][];
     Keys[] keysArray3 = new Keys[11];
     keysArray3[1] = Keys.Control | Keys.N;
     keysArray3[2] = Keys.Control | Keys.O;
     keysArray3[4] = Keys.Control | Keys.S;
     keysArray3[7] = Keys.Control | Keys.P;
     keysArray2[0] = keysArray3;
     Keys[] keysArray4 = new Keys[9];
     keysArray4[1] = Keys.Control | Keys.Z;
     keysArray4[2] = Keys.Control | Keys.Y;
     keysArray4[4] = Keys.Control | Keys.X;
     keysArray4[5] = Keys.Control | Keys.C;
     keysArray4[6] = Keys.Control | Keys.V;
     keysArray2[1] = keysArray4;
     keysArray2[2] = new Keys[3];
     keysArray2[3] = new Keys[6];
     Keys[][] keysArray = keysArray2;
     if (host != null)
     {
         tool.SuspendLayout();
         ToolStripDesigner._autoAddNewItems = false;
         DesignerTransaction transaction = this._host.CreateTransaction(System.Design.SR.GetString("StandardMenuCreateDesc"));
         try
         {
             INameCreationService nameCreationService = (INameCreationService) this._provider.GetService(typeof(INameCreationService));
             string str = "standardMainMenuStrip";
             string name = str;
             int num = 1;
             if (host != null)
             {
                 while (this._host.Container.Components[name] != null)
                 {
                     name = str + num++.ToString(CultureInfo.InvariantCulture);
                 }
             }
             for (int i = 0; i < strArray.Length; i++)
             {
                 string[] strArray3 = strArray[i];
                 ToolStripMenuItem component = null;
                 for (int j = 0; j < strArray3.Length; j++)
                 {
                     name = null;
                     string text = strArray3[j];
                     name = this.NameFromText(text, typeof(ToolStripMenuItem), nameCreationService, true);
                     ToolStripItem item2 = null;
                     if (name.Contains("Separator"))
                     {
                         item2 = (ToolStripSeparator) this._host.CreateComponent(typeof(ToolStripSeparator), name);
                         IDesigner designer = this._host.GetDesigner(item2);
                         if (designer is ComponentDesigner)
                         {
                             ((ComponentDesigner) designer).InitializeNewComponent(null);
                         }
                         item2.Text = text;
                     }
                     else
                     {
                         item2 = (ToolStripMenuItem) this._host.CreateComponent(typeof(ToolStripMenuItem), name);
                         IDesigner designer2 = this._host.GetDesigner(item2);
                         if (designer2 is ComponentDesigner)
                         {
                             ((ComponentDesigner) designer2).InitializeNewComponent(null);
                         }
                         item2.Text = text;
                         Keys shortcut = keysArray[i][j];
                         if (((item2 is ToolStripMenuItem) && (shortcut != Keys.None)) && (!ToolStripManager.IsShortcutDefined(shortcut) && ToolStripManager.IsValidShortcut(shortcut)))
                         {
                             ((ToolStripMenuItem) item2).ShortcutKeys = shortcut;
                         }
                         Bitmap image = null;
                         try
                         {
                             image = this.GetImage(strArray2[i][j]);
                         }
                         catch
                         {
                         }
                         if (image != null)
                         {
                             PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item2)["Image"];
                             if (descriptor != null)
                             {
                                 descriptor.SetValue(item2, image);
                             }
                             item2.ImageTransparentColor = Color.Magenta;
                         }
                     }
                     if (j == 0)
                     {
                         component = (ToolStripMenuItem) item2;
                         component.DropDown.SuspendLayout();
                     }
                     else
                     {
                         component.DropDownItems.Add(item2);
                     }
                     if (j == (strArray3.Length - 1))
                     {
                         MemberDescriptor member = TypeDescriptor.GetProperties(component)["DropDownItems"];
                         this.componentChangeSvc.OnComponentChanging(component, member);
                         this.componentChangeSvc.OnComponentChanged(component, member, null, null);
                     }
                 }
                 component.DropDown.ResumeLayout(false);
                 tool.Items.Add(component);
                 if (i == (strArray.Length - 1))
                 {
                     MemberDescriptor descriptor3 = TypeDescriptor.GetProperties(tool)["Items"];
                     this.componentChangeSvc.OnComponentChanging(tool, descriptor3);
                     this.componentChangeSvc.OnComponentChanged(tool, descriptor3, null, null);
                 }
             }
         }
         catch (Exception exception)
         {
             if (exception is InvalidOperationException)
             {
                 ((IUIService) this._provider.GetService(typeof(IUIService))).ShowError(exception.Message);
             }
             if (transaction != null)
             {
                 transaction.Cancel();
                 transaction = null;
             }
         }
         finally
         {
             ToolStripDesigner._autoAddNewItems = true;
             if (transaction != null)
             {
                 transaction.Commit();
                 transaction = null;
             }
             tool.ResumeLayout();
             ISelectionService service = (ISelectionService) this._provider.GetService(typeof(ISelectionService));
             if (service != null)
             {
                 service.SetSelectedComponents(new object[] { this._designer.Component });
             }
             DesignerActionUIService service4 = (DesignerActionUIService) this._provider.GetService(typeof(DesignerActionUIService));
             if (service4 != null)
             {
                 service4.Refresh(this._designer.Component);
             }
             ((SelectionManager) this._provider.GetService(typeof(SelectionManager))).Refresh();
         }
     }
 }
Ejemplo n.º 28
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(GUI));
            inputGroupBox = new GroupBox();
            pointDy = new TextBox();
            pointDx = new TextBox();
            pointCy = new TextBox();
            pointCx = new TextBox();
            pointBy = new TextBox();
            pointBx = new TextBox();
            pointAy = new TextBox();
            pointAx = new TextBox();
            labelD = new Label();
            labelC = new Label();
            labelB = new Label();
            labelA = new Label();
            pictureBox = new PictureBox();
            clearButton = new Button();
            startButton = new Button();
            trackBar = new TrackBar();
            fileToolStripMenuItem = new ToolStripMenuItem();
            exitToolStripMenuItem = new ToolStripMenuItem();
            menuStrip = new MenuStrip();
            resultGroupBox = new GroupBox();
            resultTextBox = new TextBox();
            scaleGroupBox = new GroupBox();
            inputGroupBox.SuspendLayout();
            ((ISupportInitialize)(pictureBox)).BeginInit();
            ((ISupportInitialize)(trackBar)).BeginInit();
            menuStrip.SuspendLayout();
            resultGroupBox.SuspendLayout();
            scaleGroupBox.SuspendLayout();
            SuspendLayout();
            // 
            // inputGroupBox
            // 
            inputGroupBox.Controls.Add(pointDy);
            inputGroupBox.Controls.Add(pointDx);
            inputGroupBox.Controls.Add(pointCy);
            inputGroupBox.Controls.Add(pointCx);
            inputGroupBox.Controls.Add(pointBy);
            inputGroupBox.Controls.Add(pointBx);
            inputGroupBox.Controls.Add(pointAy);
            inputGroupBox.Controls.Add(pointAx);
            inputGroupBox.Controls.Add(labelD);
            inputGroupBox.Controls.Add(labelC);
            inputGroupBox.Controls.Add(labelB);
            inputGroupBox.Controls.Add(labelA);
            inputGroupBox.Location = new Point(453, 53);
            inputGroupBox.Name = "inputGroupBox";
            inputGroupBox.Size = new Size(234, 231);
            inputGroupBox.TabIndex = 0;
            inputGroupBox.TabStop = false;
            inputGroupBox.Text = "Input data";
            // 
            // pointDy
            // 
            pointDy.Location = new Point(155, 190);
            pointDy.MaxLength = 5;
            pointDy.Name = "pointDy";
            pointDy.Size = new Size(62, 26);
            pointDy.TabIndex = 13;
            pointDy.Text = "0";
            pointDy.TextAlign = HorizontalAlignment.Center;
            // 
            // pointDx
            // 
            pointDx.Location = new Point(74, 190);
            pointDx.MaxLength = 5;
            pointDx.Name = "pointDx";
            pointDx.Size = new Size(62, 26);
            pointDx.TabIndex = 12;
            pointDx.Text = "0";
            pointDx.TextAlign = HorizontalAlignment.Center;
            // 
            // pointCy
            // 
            pointCy.Location = new Point(155, 140);
            pointCy.MaxLength = 5;
            pointCy.Name = "pointCy";
            pointCy.Size = new Size(62, 26);
            pointCy.TabIndex = 11;
            pointCy.Text = "0";
            pointCy.TextAlign = HorizontalAlignment.Center;
            // 
            // pointCx
            // 
            pointCx.Location = new Point(74, 140);
            pointCx.MaxLength = 5;
            pointCx.Name = "pointCx";
            pointCx.Size = new Size(62, 26);
            pointCx.TabIndex = 10;
            pointCx.Text = "0";
            pointCx.TextAlign = HorizontalAlignment.Center;
            // 
            // pointBy
            // 
            pointBy.Location = new Point(155, 90);
            pointBy.MaxLength = 5;
            pointBy.Name = "pointBy";
            pointBy.Size = new Size(62, 26);
            pointBy.TabIndex = 9;
            pointBy.Text = "0";
            pointBy.TextAlign = HorizontalAlignment.Center;
            // 
            // pointBx
            // 
            pointBx.Location = new Point(74, 90);
            pointBx.MaxLength = 5;
            pointBx.Name = "pointBx";
            pointBx.Size = new Size(62, 26);
            pointBx.TabIndex = 8;
            pointBx.Text = "0";
            pointBx.TextAlign = HorizontalAlignment.Center;
            // 
            // pointAy
            // 
            pointAy.Location = new Point(155, 40);
            pointAy.MaxLength = 5;
            pointAy.Name = "pointAy";
            pointAy.Size = new Size(62, 26);
            pointAy.TabIndex = 7;
            pointAy.Text = "0";
            pointAy.TextAlign = HorizontalAlignment.Center;
            // 
            // pointAx
            // 
            pointAx.Location = new Point(74, 40);
            pointAx.MaxLength = 5;
            pointAx.Name = "pointAx";
            pointAx.Size = new Size(62, 26);
            pointAx.TabIndex = 6;
            pointAx.Text = "0";
            pointAx.TextAlign = HorizontalAlignment.Center;
            // 
            // labelD
            // 
            labelD.AutoSize = true;
            labelD.Location = new Point(14, 193);
            labelD.Name = "labelD";
            labelD.Size = new Size(21, 20);
            labelD.TabIndex = 3;
            labelD.Text = "D";
            // 
            // labelC
            // 
            labelC.AutoSize = true;
            labelC.Location = new Point(15, 143);
            labelC.Name = "labelC";
            labelC.Size = new Size(20, 20);
            labelC.TabIndex = 2;
            labelC.Text = "C";
            // 
            // labelB
            // 
            labelB.AutoSize = true;
            labelB.Location = new Point(15, 93);
            labelB.Name = "labelB";
            labelB.Size = new Size(20, 20);
            labelB.TabIndex = 1;
            labelB.Text = "B";
            // 
            // labelA
            // 
            labelA.AutoSize = true;
            labelA.Location = new Point(15, 43);
            labelA.Name = "labelA";
            labelA.Size = new Size(20, 20);
            labelA.TabIndex = 0;
            labelA.Text = "A";
            // 
            // pictureBox
            // 
            pictureBox.Location = new Point(12, 53);
            pictureBox.Name = "pictureBox";
            pictureBox.Size = new Size(425, 425);
            pictureBox.TabIndex = 1;
            pictureBox.TabStop = false;
            // 
            // clearButton
            // 
            clearButton.Location = new Point(453, 414);
            clearButton.Name = "clearButton";
            clearButton.Size = new Size(107, 64);
            clearButton.TabIndex = 2;
            clearButton.Text = "Clear";
            clearButton.UseVisualStyleBackColor = true;
            clearButton.Click += new EventHandler(clearButton_Click);
            // 
            // startButton
            // 
            startButton.Location = new Point(578, 416);
            startButton.Name = "startButton";
            startButton.Size = new Size(109, 64);
            startButton.TabIndex = 3;
            startButton.Text = "Start";
            startButton.UseVisualStyleBackColor = true;
            startButton.Click += new EventHandler(startButton_Click);
            // 
            // trackBar
            // 
            trackBar.Location = new Point(6, 25);
            trackBar.Minimum = 1;
            trackBar.Name = "trackBar";
            trackBar.Size = new Size(222, 69);
            trackBar.TabIndex = 16;
            trackBar.Value = 5;
            trackBar.Scroll += new EventHandler(trackBar_Scroll);
            // 
            // fileToolStripMenuItem
            // 
            fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            exitToolStripMenuItem});
            fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            fileToolStripMenuItem.Size = new Size(50, 29);
            fileToolStripMenuItem.Text = "File";
            // 
            // exitToolStripMenuItem
            // 
            exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            exitToolStripMenuItem.Size = new Size(124, 30);
            exitToolStripMenuItem.Text = "Exit";
            exitToolStripMenuItem.Click += new EventHandler(exitToolStripMenuItem_Click);
            // 
            // menuStrip
            // 
            menuStrip.ImageScalingSize = new Size(24, 24);
            menuStrip.Items.AddRange(new ToolStripItem[] {
            fileToolStripMenuItem});
            menuStrip.Location = new Point(0, 0);
            menuStrip.Name = "menuStrip";
            menuStrip.Size = new Size(701, 33);
            menuStrip.TabIndex = 5;
            // 
            // resultGroupBox
            // 
            resultGroupBox.Controls.Add(resultTextBox);
            resultGroupBox.Location = new Point(12, 497);
            resultGroupBox.Name = "resultGroupBox";
            resultGroupBox.Size = new Size(675, 79);
            resultGroupBox.TabIndex = 6;
            resultGroupBox.TabStop = false;
            resultGroupBox.Text = "Result";
            // 
            // resultTextBox
            // 
            resultTextBox.Enabled = false;
            resultTextBox.Location = new Point(15, 36);
            resultTextBox.Name = "resultTextBox";
            resultTextBox.Size = new Size(643, 26);
            resultTextBox.TabIndex = 0;
            // 
            // scaleGroupBox
            // 
            scaleGroupBox.Controls.Add(trackBar);
            scaleGroupBox.Location = new Point(455, 299);
            scaleGroupBox.Name = "scaleGroupBox";
            scaleGroupBox.Size = new Size(234, 100);
            scaleGroupBox.TabIndex = 17;
            scaleGroupBox.TabStop = false;
            scaleGroupBox.Text = "Scale";
            // 
            // GUI
            // 
            AutoScaleDimensions = new SizeF(9F, 20F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(701, 588);
            Controls.Add(scaleGroupBox);
            Controls.Add(resultGroupBox);
            Controls.Add(menuStrip);
            Controls.Add(startButton);
            Controls.Add(clearButton);
            Controls.Add(pictureBox);
            Controls.Add(inputGroupBox);
            Icon = ((Icon)(resources.GetObject("$this.Icon")));
            MainMenuStrip = menuStrip;
            MaximizeBox = false;
            MaximumSize = new Size(723, 644);
            MinimizeBox = false;
            MinimumSize = new Size(723, 644);
            Name = "GUI";
            Text = "Geometry";
            inputGroupBox.ResumeLayout(false);
            inputGroupBox.PerformLayout();
            ((ISupportInitialize)(pictureBox)).EndInit();
            ((ISupportInitialize)(trackBar)).EndInit();
            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
            resultGroupBox.ResumeLayout(false);
            resultGroupBox.PerformLayout();
            scaleGroupBox.ResumeLayout(false);
            scaleGroupBox.PerformLayout();
            ResumeLayout(false);
            PerformLayout();

        }
Ejemplo n.º 29
0
 private void Diseño_Forma()
 {
     components = new System.ComponentModel.Container();
     pic_Logo = new System.Windows.Forms.PictureBox();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Indirecto));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     pic_Indirecto = new System.Windows.Forms.PictureBox();
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     txt_Medida = new System.Windows.Forms.TextBox();
     lbl_Medida = new System.Windows.Forms.Label();
     txt_Tamaño = new System.Windows.Forms.TextBox();
     txt_Descripcion = new System.Windows.Forms.TextBox();
     txt_Nombre = new System.Windows.Forms.TextBox();
     txt_Clave = new System.Windows.Forms.TextBox();
     lbl_Tamaño = new System.Windows.Forms.Label();
     lbl_Descripcion = new System.Windows.Forms.Label();
     lbl_Nombre = new System.Windows.Forms.Label();
     lbl_Clave = new System.Windows.Forms.Label();
     groupBoxfoto = new System.Windows.Forms.GroupBox();
     btn_Buscar = new System.Windows.Forms.Button();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Indirecto)).BeginInit();
     groupBoxdatos.SuspendLayout();
     groupBoxfoto.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(571, 24);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     toolStripSeparator3,
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // toolStripSeparator3
     //
     toolStripSeparator3.Name = "toolStripSeparator3";
     toolStripSeparator3.Size = new System.Drawing.Size(114, 6);
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // pic_Indirecto
     //
     pic_Indirecto.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pic_Indirecto.BackgroundImage")));
     pic_Indirecto.BackgroundImage = global::Shajobe.Properties.Resources.Indirecto;
     pic_Indirecto.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Indirecto.Location = new System.Drawing.Point(493, 24);
     pic_Indirecto.Name = "pic_Indirecto";
     pic_Indirecto.Size = new System.Drawing.Size(85, 64);
     pic_Indirecto.TabIndex = 19;
     pic_Indirecto.TabStop = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.Controls.Add(txt_Medida);
     groupBoxdatos.Controls.Add(lbl_Medida);
     groupBoxdatos.Controls.Add(txt_Tamaño);
     groupBoxdatos.Controls.Add(txt_Descripcion);
     groupBoxdatos.Controls.Add(txt_Nombre);
     groupBoxdatos.Controls.Add(txt_Clave);
     groupBoxdatos.Controls.Add(lbl_Tamaño);
     groupBoxdatos.Controls.Add(lbl_Descripcion);
     groupBoxdatos.Controls.Add(lbl_Nombre);
     groupBoxdatos.Controls.Add(lbl_Clave);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(groupBoxfoto);
     groupBoxdatos.Location = new System.Drawing.Point(7, 49);
     groupBoxdatos.Name = "groupBoxdatos";
     groupBoxdatos.Size = new System.Drawing.Size(580, 340);
     groupBoxdatos.TabIndex = 18;
     groupBoxdatos.TabStop = false;
     groupBoxdatos.Text = "Datos del producto";
     //
     // txt_Medida
     //
     txt_Medida.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Medida.Location = new System.Drawing.Point(126, 222);
     txt_Medida.MaxLength = 25;
     txt_Medida.Name = "txt_Medida";
     txt_Medida.Size = new System.Drawing.Size(127, 20);
     txt_Medida.TabIndex = 56;
     txt_Medida.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Medida_KeyPress);
     //
     // lbl_Medida
     //
     lbl_Medida.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Medida.AutoSize = true;
     lbl_Medida.Location = new System.Drawing.Point(27, 226);
     lbl_Medida.Name = "lbl_Medida";
     lbl_Medida.Size = new System.Drawing.Size(42, 13);
     lbl_Medida.TabIndex = 55;
     lbl_Medida.Text = "Medida";
     //
     // txt_Tamaño
     //
     txt_Tamaño.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Tamaño.Location = new System.Drawing.Point(126, 196);
     txt_Tamaño.MaxLength = 2;
     txt_Tamaño.Name = "txt_Tamaño";
     txt_Tamaño.Size = new System.Drawing.Size(127, 20);
     txt_Tamaño.TabIndex = 53;
     txt_Tamaño.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Tamaño_KeyPress);
     //
     // txt_Descripcion
     //
     txt_Descripcion.Location = new System.Drawing.Point(126, 85);
     txt_Descripcion.MaxLength = 35;
     txt_Descripcion.Multiline = true;
     txt_Descripcion.Name = "txt_Descripcion";
     txt_Descripcion.Size = new System.Drawing.Size(127, 105);
     txt_Descripcion.TabIndex = 47;
     txt_Descripcion.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Descripcion_KeyPress);
     //
     // txt_Nombre
     //
     txt_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Nombre.Location = new System.Drawing.Point(126, 60);
     txt_Nombre.MaxLength = 25;
     txt_Nombre.Name = "txt_Nombre";
     txt_Nombre.Size = new System.Drawing.Size(127, 20);
     txt_Nombre.TabIndex = 46;
     txt_Nombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Nombre_KeyPress);
     //
     // txt_Clave
     //
     txt_Clave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     txt_Clave.Enabled = false;
     txt_Clave.Location = new System.Drawing.Point(126, 35);
     txt_Clave.MaxLength = 8;
     txt_Clave.Name = "txt_Clave";
     txt_Clave.Size = new System.Drawing.Size(127, 20);
     txt_Clave.TabIndex = 37;
     //
     // lbl_Tamaño
     //
     lbl_Tamaño.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Tamaño.AutoSize = true;
     lbl_Tamaño.Location = new System.Drawing.Point(27, 200);
     lbl_Tamaño.Name = "lbl_Tamaño";
     lbl_Tamaño.Size = new System.Drawing.Size(46, 13);
     lbl_Tamaño.TabIndex = 44;
     lbl_Tamaño.Text = "Tamaño";
     //
     // lbl_Descripcion
     //
     lbl_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Descripcion.AutoSize = true;
     lbl_Descripcion.Location = new System.Drawing.Point(27, 89);
     lbl_Descripcion.Name = "lbl_Descripcion";
     lbl_Descripcion.Size = new System.Drawing.Size(63, 13);
     lbl_Descripcion.TabIndex = 38;
     lbl_Descripcion.Text = "Descripción";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(27, 64);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 36;
     lbl_Nombre.Text = "Nombre";
     //
     // lbl_Clave
     //
     lbl_Clave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Clave.AutoSize = true;
     lbl_Clave.Location = new System.Drawing.Point(28, 42);
     lbl_Clave.Name = "lbl_Clave";
     lbl_Clave.Size = new System.Drawing.Size(34, 13);
     lbl_Clave.TabIndex = 35;
     lbl_Clave.Text = "Clave";
     //
     // groupBoxfoto
     //
     groupBoxfoto.Controls.Add(btn_Buscar);
     groupBoxfoto.Location = new System.Drawing.Point(301, 31);
     groupBoxfoto.Name = "groupBoxfoto";
     groupBoxfoto.Size = new System.Drawing.Size(237, 236);
     groupBoxfoto.TabIndex = 31;
     groupBoxfoto.TabStop = false;
     groupBoxfoto.Text = "Foto de producto";
     //
     // btn_Buscar
     //
     btn_Buscar.Location = new System.Drawing.Point(156, 207);
     btn_Buscar.Name = "btn_Buscar";
     btn_Buscar.Size = new System.Drawing.Size(75, 23);
     btn_Buscar.TabIndex = 33;
     btn_Buscar.Text = "Añadir imagen";
     btn_Buscar.UseVisualStyleBackColor = true;
     btn_Buscar.Click += new System.EventHandler(btn_Buscar_Click);
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // Indirecto
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(594, 352);
     Controls.Add(pic_Indirecto);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     Icon = global::Shajobe.Properties.Resources.Indirecto_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(607, 433);
     MinimumSize = new System.Drawing.Size(607, 433);
     Name = "Indirecto";
     StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text = "Producto indirecto";
     Load += new System.EventHandler(Indirecto_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Indirecto)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxfoto.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 30
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.Windows.Forms.MenuStrip         MenuLine;
     System.Windows.Forms.ToolStripMenuItem FileMenu;
     this.NewMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.OpenMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.SaveMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.SaveAsMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator1              = new System.Windows.Forms.ToolStripSeparator();
     this.PageSetupMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.PrintMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator2              = new System.Windows.Forms.ToolStripSeparator();
     this.ExitMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.EditMenu                = new System.Windows.Forms.ToolStripMenuItem();
     this.UndoMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator3              = new System.Windows.Forms.ToolStripSeparator();
     this.CutMenuItem             = new System.Windows.Forms.ToolStripMenuItem();
     this.CopyMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.PasteMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.DeleteMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator4              = new System.Windows.Forms.ToolStripSeparator();
     this.FindMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.FindNextMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.ReplaceMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.GoMenuItem              = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator5              = new System.Windows.Forms.ToolStripSeparator();
     this.SelectAllMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.InsertDateNTimeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.FormatMenu              = new System.Windows.Forms.ToolStripMenuItem();
     this.WordWrapMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.FontSetupMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.ViewMenu                = new System.Windows.Forms.ToolStripMenuItem();
     this.StatusMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.HelpMenu                = new System.Windows.Forms.ToolStripMenuItem();
     this.HelpMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator6              = new System.Windows.Forms.ToolStripSeparator();
     this.AboutMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.StatusLine              = new System.Windows.Forms.StatusStrip();
     this.StatusLabel1            = new System.Windows.Forms.ToolStripStatusLabel();
     this.TextRow               = new System.Windows.Forms.ToolStripStatusLabel();
     this.Separator9            = new System.Windows.Forms.ToolStripSeparator();
     this.StatusLabel2          = new System.Windows.Forms.ToolStripStatusLabel();
     this.TextColumn            = new System.Windows.Forms.ToolStripStatusLabel();
     this.DebugLine             = new System.Windows.Forms.ToolStripStatusLabel();
     this.DebugText             = new System.Windows.Forms.ToolStripStatusLabel();
     this.PageSetup             = new System.Windows.Forms.PageSetupDialog();
     this.TextField             = new System.Windows.Forms.RichTextBox();
     this.ContextMenuLine       = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.UndoContextMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator7            = new System.Windows.Forms.ToolStripSeparator();
     this.CutContextMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.CopyContextMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.PasteContextMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.Separator8            = new System.Windows.Forms.ToolStripSeparator();
     this.DeleteContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.OpenFileDialog        = new System.Windows.Forms.OpenFileDialog();
     this.SaveFileDialog        = new System.Windows.Forms.SaveFileDialog();
     this.FontDialog            = new System.Windows.Forms.FontDialog();
     this.PrintDialog           = new System.Windows.Forms.PrintDialog();
     MenuLine = new System.Windows.Forms.MenuStrip();
     FileMenu = new System.Windows.Forms.ToolStripMenuItem();
     MenuLine.SuspendLayout();
     this.StatusLine.SuspendLayout();
     this.ContextMenuLine.SuspendLayout();
     this.SuspendLayout();
     //
     // MenuLine
     //
     MenuLine.AllowItemReorder = true;
     MenuLine.GripMargin       = new System.Windows.Forms.Padding(2);
     MenuLine.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         FileMenu,
         this.EditMenu,
         this.FormatMenu,
         this.ViewMenu,
         this.HelpMenu
     });
     MenuLine.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
     MenuLine.Location    = new System.Drawing.Point(0, 0);
     MenuLine.Name        = "MenuLine";
     MenuLine.Padding     = new System.Windows.Forms.Padding(0);
     MenuLine.RenderMode  = System.Windows.Forms.ToolStripRenderMode.Professional;
     MenuLine.Size        = new System.Drawing.Size(448, 19);
     MenuLine.TabIndex    = 0;
     //
     // FileMenu
     //
     FileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.NewMenuItem,
         this.OpenMenuItem,
         this.SaveMenuItem,
         this.SaveAsMenuItem,
         this.Separator1,
         this.PageSetupMenuItem,
         this.PrintMenuItem,
         this.Separator2,
         this.ExitMenuItem
     });
     FileMenu.Name         = "FileMenu";
     FileMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.A)));
     FileMenu.Size         = new System.Drawing.Size(48, 19);
     FileMenu.Text         = "&Файл";
     //
     // NewMenuItem
     //
     this.NewMenuItem.Image        = global::MyNotepad.Properties.Resources.DocumentHS;
     this.NewMenuItem.Name         = "NewMenuItem";
     this.NewMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     this.NewMenuItem.Size         = new System.Drawing.Size(204, 22);
     this.NewMenuItem.Text         = "Создать";
     //
     // OpenMenuItem
     //
     this.OpenMenuItem.Image        = global::MyNotepad.Properties.Resources.openHS;
     this.OpenMenuItem.Name         = "OpenMenuItem";
     this.OpenMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     this.OpenMenuItem.Size         = new System.Drawing.Size(204, 22);
     this.OpenMenuItem.Text         = "Открыть...";
     this.OpenMenuItem.Click       += new System.EventHandler(this.OpenFile);
     //
     // SaveMenuItem
     //
     this.SaveMenuItem.Image        = global::MyNotepad.Properties.Resources.saveHS;
     this.SaveMenuItem.Name         = "SaveMenuItem";
     this.SaveMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     this.SaveMenuItem.Size         = new System.Drawing.Size(204, 22);
     this.SaveMenuItem.Text         = "Сохранить";
     //
     // SaveAsMenuItem
     //
     this.SaveAsMenuItem.Name = "SaveAsMenuItem";
     this.SaveAsMenuItem.Size = new System.Drawing.Size(204, 22);
     this.SaveAsMenuItem.Text = "Сохранить как...";
     //
     // Separator1
     //
     this.Separator1.Name = "Separator1";
     this.Separator1.Size = new System.Drawing.Size(201, 6);
     //
     // PageSetupMenuItem
     //
     this.PageSetupMenuItem.Image  = global::MyNotepad.Properties.Resources.PrintSetupHS;
     this.PageSetupMenuItem.Name   = "PageSetupMenuItem";
     this.PageSetupMenuItem.Size   = new System.Drawing.Size(204, 22);
     this.PageSetupMenuItem.Text   = "Параметры страницы...";
     this.PageSetupMenuItem.Click += new System.EventHandler(this.PageSetupMenuItem_Click);
     //
     // PrintMenuItem
     //
     this.PrintMenuItem.Image        = global::MyNotepad.Properties.Resources.PrintHS;
     this.PrintMenuItem.Name         = "PrintMenuItem";
     this.PrintMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
     this.PrintMenuItem.Size         = new System.Drawing.Size(204, 22);
     this.PrintMenuItem.Text         = "Печать...";
     this.PrintMenuItem.Click       += new System.EventHandler(this.PrintMenuItem_Click);
     //
     // Separator2
     //
     this.Separator2.Name = "Separator2";
     this.Separator2.Size = new System.Drawing.Size(201, 6);
     //
     // ExitMenuItem
     //
     this.ExitMenuItem.Name   = "ExitMenuItem";
     this.ExitMenuItem.Size   = new System.Drawing.Size(204, 22);
     this.ExitMenuItem.Text   = "Выход";
     this.ExitMenuItem.Click += new System.EventHandler(this.ExitMyNotepad);
     //
     // EditMenu
     //
     this.EditMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.UndoMenuItem,
         this.Separator3,
         this.CutMenuItem,
         this.CopyMenuItem,
         this.PasteMenuItem,
         this.DeleteMenuItem,
         this.Separator4,
         this.FindMenuItem,
         this.FindNextMenuItem,
         this.ReplaceMenuItem,
         this.GoMenuItem,
         this.Separator5,
         this.SelectAllMenuItem,
         this.InsertDateNTimeMenuItem
     });
     this.EditMenu.Name = "EditMenu";
     this.EditMenu.Size = new System.Drawing.Size(59, 19);
     this.EditMenu.Text = "&Правка";
     //
     // UndoMenuItem
     //
     this.UndoMenuItem.Image        = global::MyNotepad.Properties.Resources.Edit_UndoHS;
     this.UndoMenuItem.Name         = "UndoMenuItem";
     this.UndoMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
     this.UndoMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.UndoMenuItem.Text         = "Отменить";
     //
     // Separator3
     //
     this.Separator3.Name = "Separator3";
     this.Separator3.Size = new System.Drawing.Size(211, 6);
     //
     // CutMenuItem
     //
     this.CutMenuItem.Image        = global::MyNotepad.Properties.Resources.CutHS;
     this.CutMenuItem.Name         = "CutMenuItem";
     this.CutMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
     this.CutMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.CutMenuItem.Text         = "Вырезать";
     //
     // CopyMenuItem
     //
     this.CopyMenuItem.Image        = global::MyNotepad.Properties.Resources.CopyHS;
     this.CopyMenuItem.Name         = "CopyMenuItem";
     this.CopyMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
     this.CopyMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.CopyMenuItem.Text         = "Копировать";
     //
     // PasteMenuItem
     //
     this.PasteMenuItem.Image        = global::MyNotepad.Properties.Resources.PasteHS;
     this.PasteMenuItem.Name         = "PasteMenuItem";
     this.PasteMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
     this.PasteMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.PasteMenuItem.Text         = "Вставить";
     //
     // DeleteMenuItem
     //
     this.DeleteMenuItem.Image        = global::MyNotepad.Properties.Resources.DeleteHS;
     this.DeleteMenuItem.Name         = "DeleteMenuItem";
     this.DeleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete;
     this.DeleteMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.DeleteMenuItem.Text         = "Удалить";
     //
     // Separator4
     //
     this.Separator4.Name = "Separator4";
     this.Separator4.Size = new System.Drawing.Size(211, 6);
     //
     // FindMenuItem
     //
     this.FindMenuItem.Image        = global::MyNotepad.Properties.Resources.FindHS;
     this.FindMenuItem.Name         = "FindMenuItem";
     this.FindMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
     this.FindMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.FindMenuItem.Text         = "Найти...";
     //
     // FindNextMenuItem
     //
     this.FindNextMenuItem.Image        = global::MyNotepad.Properties.Resources.FindNextHS;
     this.FindNextMenuItem.Name         = "FindNextMenuItem";
     this.FindNextMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
     this.FindNextMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.FindNextMenuItem.Text         = "Найти далее";
     //
     // ReplaceMenuItem
     //
     this.ReplaceMenuItem.Image        = global::MyNotepad.Properties.Resources.SychronizeListHS;
     this.ReplaceMenuItem.Name         = "ReplaceMenuItem";
     this.ReplaceMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
     this.ReplaceMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.ReplaceMenuItem.Text         = "Заменить...";
     //
     // GoMenuItem
     //
     this.GoMenuItem.Image        = global::MyNotepad.Properties.Resources.NextPageHS;
     this.GoMenuItem.Name         = "GoMenuItem";
     this.GoMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G)));
     this.GoMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.GoMenuItem.Text         = "Перейти...";
     //
     // Separator5
     //
     this.Separator5.Name = "Separator5";
     this.Separator5.Size = new System.Drawing.Size(211, 6);
     //
     // SelectAllMenuItem
     //
     this.SelectAllMenuItem.Name         = "SelectAllMenuItem";
     this.SelectAllMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
     this.SelectAllMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.SelectAllMenuItem.Text         = "Выделить всё";
     //
     // InsertDateNTimeMenuItem
     //
     this.InsertDateNTimeMenuItem.Image        = global::MyNotepad.Properties.Resources.ExpirationHS;
     this.InsertDateNTimeMenuItem.Name         = "InsertDateNTimeMenuItem";
     this.InsertDateNTimeMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5;
     this.InsertDateNTimeMenuItem.Size         = new System.Drawing.Size(214, 22);
     this.InsertDateNTimeMenuItem.Text         = "Вставить дату и время";
     //
     // FormatMenu
     //
     this.FormatMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.WordWrapMenuItem,
         this.FontSetupMenuItem
     });
     this.FormatMenu.Name = "FormatMenu";
     this.FormatMenu.Size = new System.Drawing.Size(62, 19);
     this.FormatMenu.Text = "Фор&мат";
     //
     // WordWrapMenuItem
     //
     this.WordWrapMenuItem.Checked    = true;
     this.WordWrapMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this.WordWrapMenuItem.Name       = "WordWrapMenuItem";
     this.WordWrapMenuItem.Size       = new System.Drawing.Size(183, 22);
     this.WordWrapMenuItem.Text       = "Перенос по словам";
     this.WordWrapMenuItem.Click     += new System.EventHandler(this.WordWrapMenuItem_Click);
     //
     // FontSetupMenuItem
     //
     this.FontSetupMenuItem.Image  = global::MyNotepad.Properties.Resources.FontHS;
     this.FontSetupMenuItem.Name   = "FontSetupMenuItem";
     this.FontSetupMenuItem.Size   = new System.Drawing.Size(183, 22);
     this.FontSetupMenuItem.Text   = "Шрифт...";
     this.FontSetupMenuItem.Click += new System.EventHandler(this.FontSetupItem_Click);
     //
     // ViewMenu
     //
     this.ViewMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.StatusMenuItem
     });
     this.ViewMenu.Name = "ViewMenu";
     this.ViewMenu.Size = new System.Drawing.Size(39, 19);
     this.ViewMenu.Text = "&Вид";
     //
     // StatusMenuItem
     //
     this.StatusMenuItem.Checked    = true;
     this.StatusMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this.StatusMenuItem.Name       = "StatusMenuItem";
     this.StatusMenuItem.Size       = new System.Drawing.Size(173, 22);
     this.StatusMenuItem.Text       = "Строка состояния";
     this.StatusMenuItem.Click     += new System.EventHandler(this.StatusLineMenuItem_Click);
     //
     // HelpMenu
     //
     this.HelpMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.HelpMenuItem,
         this.Separator6,
         this.AboutMenuItem
     });
     this.HelpMenu.Name = "HelpMenu";
     this.HelpMenu.Size = new System.Drawing.Size(65, 19);
     this.HelpMenu.Text = "&Справка";
     //
     // HelpMenuItem
     //
     this.HelpMenuItem.Image  = global::MyNotepad.Properties.Resources.Help;
     this.HelpMenuItem.Name   = "HelpMenuItem";
     this.HelpMenuItem.Size   = new System.Drawing.Size(156, 22);
     this.HelpMenuItem.Text   = "Вызов справки";
     this.HelpMenuItem.Click += new System.EventHandler(this.HelpMenuItem_Click);
     //
     // Separator6
     //
     this.Separator6.Name = "Separator6";
     this.Separator6.Size = new System.Drawing.Size(153, 6);
     //
     // AboutMenuItem
     //
     this.AboutMenuItem.Name   = "AboutMenuItem";
     this.AboutMenuItem.Size   = new System.Drawing.Size(156, 22);
     this.AboutMenuItem.Text   = "О программе";
     this.AboutMenuItem.Click += new System.EventHandler(this.AboutMenuItem_Click);
     //
     // StatusLine
     //
     this.StatusLine.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.StatusLabel1,
         this.TextRow,
         this.Separator9,
         this.StatusLabel2,
         this.TextColumn,
         this.DebugLine,
         this.DebugText
     });
     this.StatusLine.Location   = new System.Drawing.Point(0, 326);
     this.StatusLine.Name       = "StatusLine";
     this.StatusLine.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.StatusLine.Size       = new System.Drawing.Size(448, 23);
     this.StatusLine.TabIndex   = 1;
     //
     // StatusLabel1
     //
     this.StatusLabel1.Name = "StatusLabel1";
     this.StatusLabel1.Size = new System.Drawing.Size(27, 18);
     this.StatusLabel1.Text = "Стр";
     //
     // TextRow
     //
     this.TextRow.AutoSize = false;
     this.TextRow.Name     = "TextRow";
     this.TextRow.Size     = new System.Drawing.Size(40, 18);
     this.TextRow.Text     = "0";
     //
     // Separator9
     //
     this.Separator9.Name = "Separator9";
     this.Separator9.Size = new System.Drawing.Size(6, 23);
     //
     // StatusLabel2
     //
     this.StatusLabel2.AutoSize  = false;
     this.StatusLabel2.Name      = "StatusLabel2";
     this.StatusLabel2.Size      = new System.Drawing.Size(30, 18);
     this.StatusLabel2.Text      = "Кол";
     this.StatusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // TextColumn
     //
     this.TextColumn.AutoSize = false;
     this.TextColumn.Name     = "TextColumn";
     this.TextColumn.Size     = new System.Drawing.Size(40, 18);
     this.TextColumn.Text     = "0";
     //
     // DebugLine
     //
     this.DebugLine.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.DebugLine.ImageAlign   = System.Drawing.ContentAlignment.MiddleRight;
     this.DebugLine.Name         = "DebugLine";
     this.DebugLine.Size         = new System.Drawing.Size(290, 18);
     this.DebugLine.Spring       = true;
     this.DebugLine.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     //
     // DebugText
     //
     this.DebugText.Name = "DebugText";
     this.DebugText.Size = new System.Drawing.Size(0, 18);
     //
     // TextField
     //
     this.TextField.AcceptsTab     = true;
     this.TextField.AccessibleRole = System.Windows.Forms.AccessibleRole.Text;
     this.TextField.AllowDrop      = true;
     this.TextField.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.TextField.ContextMenuStrip = this.ContextMenuLine;
     this.TextField.Font             = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.TextField.HideSelection    = false;
     this.TextField.Location         = new System.Drawing.Point(0, 19);
     this.TextField.Margin           = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.TextField.MaxLength        = 16777216;
     this.TextField.Name             = "TextField";
     this.TextField.Size             = new System.Drawing.Size(448, 308);
     this.TextField.TabIndex         = 2;
     this.TextField.Text             = "";
     this.TextField.DragDrop        += new System.Windows.Forms.DragEventHandler(this.GetDroppedFile);
     this.TextField.DragEnter       += new System.Windows.Forms.DragEventHandler(this.HandleDrag);
     this.TextField.KeyPress        += new System.Windows.Forms.KeyPressEventHandler(this.SomeTyped);
     this.TextField.TextChanged     += new System.EventHandler(this.TextFieldChanged);
     //
     // ContextMenuLine
     //
     this.ContextMenuLine.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.UndoContextMenuItem,
         this.Separator7,
         this.CutContextMenuItem,
         this.CopyContextMenuItem,
         this.PasteContextMenuItem,
         this.Separator8,
         this.DeleteContextMenuItem
     });
     this.ContextMenuLine.Name = "TextContextMenu";
     this.ContextMenuLine.Size = new System.Drawing.Size(140, 126);
     //
     // UndoContextMenuItem
     //
     this.UndoContextMenuItem.Name = "UndoContextMenuItem";
     this.UndoContextMenuItem.Size = new System.Drawing.Size(139, 22);
     this.UndoContextMenuItem.Text = "Отменить";
     //
     // Separator7
     //
     this.Separator7.Name = "Separator7";
     this.Separator7.Size = new System.Drawing.Size(136, 6);
     //
     // CutContextMenuItem
     //
     this.CutContextMenuItem.Name = "CutContextMenuItem";
     this.CutContextMenuItem.Size = new System.Drawing.Size(139, 22);
     this.CutContextMenuItem.Text = "Вырезать";
     //
     // CopyContextMenuItem
     //
     this.CopyContextMenuItem.Name = "CopyContextMenuItem";
     this.CopyContextMenuItem.Size = new System.Drawing.Size(139, 22);
     this.CopyContextMenuItem.Text = "Копировать";
     //
     // PasteContextMenuItem
     //
     this.PasteContextMenuItem.Name = "PasteContextMenuItem";
     this.PasteContextMenuItem.Size = new System.Drawing.Size(139, 22);
     this.PasteContextMenuItem.Text = "Вставить";
     //
     // Separator8
     //
     this.Separator8.Name = "Separator8";
     this.Separator8.Size = new System.Drawing.Size(136, 6);
     //
     // DeleteContextMenuItem
     //
     this.DeleteContextMenuItem.Name = "DeleteContextMenuItem";
     this.DeleteContextMenuItem.Size = new System.Drawing.Size(139, 22);
     this.DeleteContextMenuItem.Text = "Удалить";
     //
     // OpenFileDialog
     //
     this.OpenFileDialog.DefaultExt                   = "txt";
     this.OpenFileDialog.Filter                       = "Текстовые файлы|*.txt|Все файлы|*.*";
     this.OpenFileDialog.RestoreDirectory             = true;
     this.OpenFileDialog.ShowReadOnly                 = true;
     this.OpenFileDialog.SupportMultiDottedExtensions = true;
     this.OpenFileDialog.FileOk                      += new System.ComponentModel.CancelEventHandler(this.ProceedFileOpen);
     //
     // SaveFileDialog
     //
     this.SaveFileDialog.DefaultExt                   = "txt";
     this.SaveFileDialog.Filter                       = "Текстовые файлы|*.txt|Все файлы|*.*";
     this.SaveFileDialog.RestoreDirectory             = true;
     this.SaveFileDialog.SupportMultiDottedExtensions = true;
     //
     // PrintDialog
     //
     this.PrintDialog.UseEXDialog = true;
     //
     // MainWin
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(448, 349);
     this.Controls.Add(this.TextField);
     this.Controls.Add(this.StatusLine);
     this.Controls.Add(MenuLine);
     this.MainMenuStrip = MenuLine;
     this.Name          = "MainWin";
     this.Text          = "Мой блокнот";
     MenuLine.ResumeLayout(false);
     MenuLine.PerformLayout();
     this.StatusLine.ResumeLayout(false);
     this.StatusLine.PerformLayout();
     this.ContextMenuLine.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 31
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Materia_prima));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     errorProvider_Textbox = new System.Windows.Forms.ErrorProvider(components);
     errorProvider_Combobox = new System.Windows.Forms.ErrorProvider(components);
     pic_MateriaPrima = new System.Windows.Forms.PictureBox();
     groupBoxdatos = new System.Windows.Forms.GroupBox();
     txt_Descripcion = new System.Windows.Forms.TextBox();
     txt_Nombre = new System.Windows.Forms.TextBox();
     lbl_Descripcion = new System.Windows.Forms.Label();
     lbl_Nombre = new System.Windows.Forms.Label();
     groupBoxNivel = new System.Windows.Forms.GroupBox();
     comboBox_TipoPieza = new System.Windows.Forms.ComboBox();
     comboBox_TipoMateriaprima = new System.Windows.Forms.ComboBox();
     comboBox_Unidad = new System.Windows.Forms.ComboBox();
     lbl_TipoPieza = new System.Windows.Forms.Label();
     lbl_TipoMateriaprima = new System.Windows.Forms.Label();
     lbl_Unidad = new System.Windows.Forms.Label();
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Textbox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pic_MateriaPrima)).BeginInit();
     groupBoxdatos.SuspendLayout();
     groupBoxNivel.SuspendLayout();
     SuspendLayout();
     // Seccion de Nivel de materia prima
     lbl_NMin = new System.Windows.Forms.Label();
     lbl_NMax = new System.Windows.Forms.Label();
     txt_NMin = new System.Windows.Forms.TextBox();
     txt_NMax = new System.Windows.Forms.TextBox();
     #endregion
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     editarToolStripMenuItem,
     ayudaToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(594, 24);
     menuStrip1.TabIndex = 3;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator,
     guardarToolStripMenuItem,
     toolStripSeparator1,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
     //
     // toolStripSeparator
     //
     toolStripSeparator.Name = "toolStripSeparator";
     toolStripSeparator.Size = new System.Drawing.Size(148, 6);
     //
     // guardarToolStripMenuItem
     //
     guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
     guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
     guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
     guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     guardarToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     guardarToolStripMenuItem.Text = "&Guardar";
     guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // editarToolStripMenuItem
     //
     editarToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     modificarToolStripMenuItem,
     eliminarToolStripMenuItem});
     editarToolStripMenuItem.Name = "editarToolStripMenuItem";
     editarToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
     editarToolStripMenuItem.Text = "&Editar";
     //
     // modificarToolStripMenuItem
     //
     modificarToolStripMenuItem.Enabled = false;
     modificarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Modificar;
     modificarToolStripMenuItem.Name = "modificarToolStripMenuItem";
     modificarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     modificarToolStripMenuItem.Text = "Modificar";
     modificarToolStripMenuItem.Click += new System.EventHandler(modificarToolStripMenuItem_Click);
     //
     // eliminarToolStripMenuItem
     //
     eliminarToolStripMenuItem.Enabled = false;
     eliminarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Borrar;
     eliminarToolStripMenuItem.Name = "eliminarToolStripMenuItem";
     eliminarToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
     eliminarToolStripMenuItem.Text = "Eliminar";
     eliminarToolStripMenuItem.Visible = false;
     eliminarToolStripMenuItem.Click += new System.EventHandler(eliminarToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // errorProvider_Textbox
     //
     errorProvider_Textbox.ContainerControl = this;
     //
     // errorProvider_Combobox
     //
     errorProvider_Combobox.ContainerControl = this;
     //
     // pic_MateriaPrima
     //
     pic_MateriaPrima.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     pic_MateriaPrima.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_MateriaPrima.Location = new System.Drawing.Point(493, 25);
     pic_MateriaPrima.Name = "pic_MateriaPrima";
     pic_MateriaPrima.Size = new System.Drawing.Size(85, 67);
     pic_MateriaPrima.TabIndex = 23;
     pic_MateriaPrima.TabStop = false;
     //
     // groupBoxdatos
     //
     groupBoxdatos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     groupBoxdatos.Controls.Add(comboBox_TipoPieza);
     groupBoxdatos.Controls.Add(pic_Logo);
     groupBoxdatos.Controls.Add(lbl_TipoPieza);
     groupBoxdatos.Controls.Add(txt_Descripcion);
     groupBoxdatos.Controls.Add(txt_Nombre);
     groupBoxdatos.Controls.Add(lbl_Descripcion);
     groupBoxdatos.Controls.Add(lbl_Nombre);
     groupBoxdatos.Controls.Add(groupBoxNivel);
     groupBoxdatos.Controls.Add(lbl_TipoMateriaprima);
     groupBoxdatos.Controls.Add(comboBox_TipoMateriaprima);
     groupBoxdatos.Location = new System.Drawing.Point(7, 49);
     groupBoxdatos.Name = "groupBoxdatos";
     groupBoxdatos.Size = new System.Drawing.Size(570, 330);
     groupBoxdatos.TabIndex = 22;
     groupBoxdatos.TabStop = false;
     groupBoxdatos.Text = "Datos de la materia prima";
     //
     // txt_Descripcion
     //
     txt_Descripcion.Location = new System.Drawing.Point(122, 57);
     txt_Descripcion.MaxLength = 50;
     txt_Descripcion.Multiline = true;
     txt_Descripcion.Name = "txt_Descripcion";
     txt_Descripcion.Size = new System.Drawing.Size(127, 81);
     txt_Descripcion.TabIndex = 53;
     txt_Descripcion.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Descripcion_KeyPress);
     //
     // txt_Nombre
     //
     txt_Nombre.Location = new System.Drawing.Point(122, 31);
     txt_Nombre.MaxLength = 25;
     txt_Nombre.Name = "txt_Nombre";
     txt_Nombre.Size = new System.Drawing.Size(127, 20);
     txt_Nombre.TabIndex = 47;
     txt_Nombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Nombre_KeyPress);
     //
     // lbl_Descripcion
     //
     lbl_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Descripcion.AutoSize = true;
     lbl_Descripcion.Location = new System.Drawing.Point(23, 61);
     lbl_Descripcion.Name = "lbl_Descripcion";
     lbl_Descripcion.Size = new System.Drawing.Size(63, 13);
     lbl_Descripcion.TabIndex = 44;
     lbl_Descripcion.Text = "Descripción";
     //
     // lbl_Nombre
     //
     lbl_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     lbl_Nombre.AutoSize = true;
     lbl_Nombre.Location = new System.Drawing.Point(23, 35);
     lbl_Nombre.Name = "lbl_Nombre";
     lbl_Nombre.Size = new System.Drawing.Size(44, 13);
     lbl_Nombre.TabIndex = 38;
     lbl_Nombre.Text = "Nombre";
     //
     // groupBoxNivelmateriaprima
     //
     groupBoxNivel.Controls.Add(txt_NMin);
     groupBoxNivel.Controls.Add(txt_NMax);
     groupBoxNivel.Controls.Add(lbl_NMin);
     groupBoxNivel.Controls.Add(lbl_NMax);
     groupBoxNivel.Controls.Add(lbl_Unidad);
     groupBoxNivel.Controls.Add(comboBox_Unidad);
     groupBoxNivel.Location = new System.Drawing.Point(301, 31);
     groupBoxNivel.Name = "groupBoxNivelmateriaprima";
     groupBoxNivel.Size = new System.Drawing.Size(237, 236);
     groupBoxNivel.TabIndex = 31;
     groupBoxNivel.TabStop = false;
     groupBoxNivel.Text = "Nivel de materia prima";
     //
     // lbl_NMax
     //
     lbl_NMax.AutoSize = true;
     lbl_NMax.Location = new System.Drawing.Point(20, 65);
     lbl_NMax.Name = "lbl_NMax";
     lbl_NMax.Size = new System.Drawing.Size(87, 13);
     lbl_NMax.TabIndex = 3;
     lbl_NMax.Text = "Cantidad máxima";
     //
     // lbl_NMin
     //
     lbl_NMin.AutoSize = true;
     lbl_NMin.Location = new System.Drawing.Point(20, 35);
     lbl_NMin.Name = "lbl_NMin";
     lbl_NMin.Size = new System.Drawing.Size(86, 13);
     lbl_NMin.TabIndex = 2;
     lbl_NMin.Text = "Cantidad mínima";
     //
     // txt_NMax
     //
     txt_NMax.Location = new System.Drawing.Point(121, 60);
     txt_NMax.Name = "txt_NMax";
     txt_NMax.Size = new System.Drawing.Size(100, 20);
     txt_NMax.KeyPress += new KeyPressEventHandler(txt_MinMax_KeyPress);
     txt_NMax.TabIndex = 7;
     //
     // txt_NMin
     //
     txt_NMin.Location = new System.Drawing.Point(121, 30);
     txt_NMin.Name = "txt_NMin";
     txt_NMin.Size = new System.Drawing.Size(100, 20);
     txt_NMin.KeyPress += new KeyPressEventHandler(txt_MinMax_KeyPress);
     txt_NMin.TabIndex = 6;
     //
     // comboBox_Unidad
     //
     comboBox_Unidad.FormattingEnabled = true;
     comboBox_Unidad.Location = new System.Drawing.Point(121, 90);
     comboBox_Unidad.Name = "comboBox_Unidad";
     comboBox_Unidad.Size = new System.Drawing.Size(100, 21);
     comboBox_Unidad.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // lbl_Unidad
     //
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(20, 95);
     lbl_Unidad.Name = "lbl_Unidad";
     lbl_Unidad.Size = new System.Drawing.Size(86, 13);
     lbl_Unidad.Text = "Unidad de medida";
     //
     // comboBox_TipoPieza
     //
     comboBox_TipoPieza.FormattingEnabled = true;
     comboBox_TipoPieza.Location = new System.Drawing.Point(122, 144);
     comboBox_TipoPieza.Name = "comboBox_TipoPieza";
     comboBox_TipoPieza.Size = new System.Drawing.Size(156, 21);
     comboBox_TipoPieza.TabIndex = 59;
     comboBox_TipoPieza.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // comboBox_TipoMateriaprima
     //
     comboBox_TipoMateriaprima.FormattingEnabled = true;
     comboBox_TipoMateriaprima.Location = new System.Drawing.Point(122, 174);
     comboBox_TipoMateriaprima.Name = "comboBox_TipoMateriaprima";
     comboBox_TipoMateriaprima.Size = new System.Drawing.Size(156, 21);
     comboBox_TipoMateriaprima.TabIndex = 59;
     comboBox_TipoMateriaprima.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     //
     // lbl_TipoPieza
     //
     lbl_TipoPieza.AutoSize = true;
     lbl_TipoPieza.Location = new System.Drawing.Point(23, 147);
     lbl_TipoPieza.Name = "lbl_TipoPieza";
     lbl_TipoPieza.Size = new System.Drawing.Size(71, 13);
     lbl_TipoPieza.TabIndex = 58;
     lbl_TipoPieza.Text = "Tipo de pieza";
     //
     // lbl_TipoMateriaprima
     //
     lbl_TipoMateriaprima.AutoSize = true;
     lbl_TipoMateriaprima.Location = new System.Drawing.Point(23, 177);
     lbl_TipoMateriaprima.Name = "lbl_TipoMateriaprima";
     lbl_TipoMateriaprima.Size = new System.Drawing.Size(71, 13);
     lbl_TipoMateriaprima.TabIndex = 58;
     lbl_TipoMateriaprima.Text = "Tipo materia prima";
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(80, 230);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(166, 84);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     //
     // Materia_Prima
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(594, 404);
     Controls.Add(pic_MateriaPrima);
     Controls.Add(groupBoxdatos);
     Controls.Add(menuStrip1);
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Materia_PrimaFormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.MateriaPrima_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(600, 426);
     MinimumSize = new System.Drawing.Size(600, 426);
     Name = "Materia_Prima";
     Text = "Materia prima";
     Load += new System.EventHandler(Materia_prima_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Textbox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(errorProvider_Combobox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pic_MateriaPrima)).EndInit();
     groupBoxdatos.ResumeLayout(false);
     groupBoxdatos.PerformLayout();
     groupBoxNivel.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 32
0
 private void Diseño_Forma()
 {
     pic_Logo = new System.Windows.Forms.PictureBox();
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Venta));
     menuStrip1 = new System.Windows.Forms.MenuStrip();
     archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     documentoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     notaDeRemisiónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     dataGridView_Productos = new System.Windows.Forms.DataGridView();
     Id_ProductoTerminadoP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     DescripcionP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     NombreP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio_VentaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     LoteP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     CantidadP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     DescuentoP = new System.Windows.Forms.DataGridViewTextBoxColumn();
     comboBox_Cliente = new System.Windows.Forms.ComboBox();
     comboBoxTipoPago = new System.Windows.Forms.ComboBox();
     comboBoxAdquisicion = new System.Windows.Forms.ComboBox();
     txt_Cantidad = new System.Windows.Forms.TextBox();
     dateTimeVenta = new System.Windows.Forms.DateTimePicker();
     dataGridView_Carrito = new System.Windows.Forms.DataGridView();
     Id_ProductoTerminado = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Lote = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Descripcion = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Precio = new System.Windows.Forms.DataGridViewTextBoxColumn();
     lbl_Cantidad = new System.Windows.Forms.Label();
     lbl_SubTotal = new System.Windows.Forms.Label();
     txt_IVA = new System.Windows.Forms.TextBox();
     txt_Descuento = new System.Windows.Forms.TextBox();
     txt_SubTotal = new System.Windows.Forms.TextBox();
     lbl_Descuento = new System.Windows.Forms.Label();
     lbl_IVA = new System.Windows.Forms.Label();
     lbl_Total = new System.Windows.Forms.Label();
     txt_Total = new System.Windows.Forms.TextBox();
     txt_Efectivo = new System.Windows.Forms.TextBox();
     lbl_Efectivo = new System.Windows.Forms.Label();
     txt_Cambio = new System.Windows.Forms.TextBox();
     lbl_Cambio = new System.Windows.Forms.Label();
     groupBox_Productos = new System.Windows.Forms.GroupBox();
     bttn_Agregar = new System.Windows.Forms.Button();
     bttn_Quitar = new System.Windows.Forms.Button();
     btn_Pagar = new System.Windows.Forms.Button();
     pic_Venta = new System.Windows.Forms.PictureBox();
     groupBox_Informacion = new System.Windows.Forms.GroupBox();
     lbl_Cliente = new System.Windows.Forms.Label();
     lbl_TipoPago = new System.Windows.Forms.Label();
     lbl_Adquisicion = new System.Windows.Forms.Label();
     lbl_Fecha = new System.Windows.Forms.Label();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     menuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Productos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Carrito)).BeginInit();
     groupBox_Productos.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(pic_Venta)).BeginInit();
     groupBox_Informacion.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     archivoToolStripMenuItem,
     ayudaToolStripMenuItem,
     documentoToolStripMenuItem});
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new System.Drawing.Size(1019, 24);
     menuStrip1.TabIndex = 4;
     menuStrip1.Text = "menuStrip1";
     //
     // archivoToolStripMenuItem
     //
     archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     nuevoToolStripMenuItem,
     abrirToolStripMenuItem,
     toolStripSeparator2,
     salirToolStripMenuItem});
     archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
     archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
     archivoToolStripMenuItem.Text = "&Archivo";
     //
     // nuevoToolStripMenuItem
     //
     nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
     nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
     nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
     nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     nuevoToolStripMenuItem.Text = "&Nuevo";
     nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
     //
     // abrirToolStripMenuItem
     //
     abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
     abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
     abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
     abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     abrirToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     abrirToolStripMenuItem.Text = "&Abrir";
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(149, 6);
     //
     // salirToolStripMenuItem
     //
     salirToolStripMenuItem.Name = "salirToolStripMenuItem";
     salirToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     salirToolStripMenuItem.Text = "&Salir";
     salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
     //
     // ayudaToolStripMenuItem
     //
     ayudaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     acercadeToolStripMenuItem});
     ayudaToolStripMenuItem.Name = "ayudaToolStripMenuItem";
     ayudaToolStripMenuItem.Size = new System.Drawing.Size(53, 20);
     ayudaToolStripMenuItem.Text = "Ay&uda";
     //
     // acercadeToolStripMenuItem
     //
     acercadeToolStripMenuItem.Name = "acercadeToolStripMenuItem";
     acercadeToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
     acercadeToolStripMenuItem.Text = "&Acerca de...";
     //
     // documentoToolStripMenuItem
     //
     documentoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     notaDeRemisiónToolStripMenuItem});
     documentoToolStripMenuItem.Name = "documentoToolStripMenuItem";
     documentoToolStripMenuItem.Size = new System.Drawing.Size(82, 20);
     documentoToolStripMenuItem.Text = "Documento";
     //
     // notaDeRemisiónToolStripMenuItem
     //
     notaDeRemisiónToolStripMenuItem.Name = "notaDeRemisiónToolStripMenuItem";
     notaDeRemisiónToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
     notaDeRemisiónToolStripMenuItem.Text = "Nota de remisión";
     //
     // dataGridView_Productos
     //
     dataGridView_Productos.AllowUserToDeleteRows = false;
     dataGridView_Productos.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridView_Productos.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Productos.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_ProductoTerminadoP,
     DescripcionP,
     NombreP,
     Precio_VentaP,
     LoteP,
     CantidadP,
     DescuentoP});
     dataGridView_Productos.Dock = System.Windows.Forms.DockStyle.Fill;
     dataGridView_Productos.Location = new System.Drawing.Point(3, 16);
     dataGridView_Productos.Name = "dataGridView_Productos";
     dataGridView_Productos.Size = new System.Drawing.Size(429, 242);
     dataGridView_Productos.TabIndex = 5;
     //
     // Id_ProductoTerminadoP
     //
     Id_ProductoTerminadoP.HeaderText = "Id_ProductoTerminado";
     Id_ProductoTerminadoP.Name = "Id_ProductoTerminadoP";
     Id_ProductoTerminadoP.Visible = false;
     //
     // DescripcionP
     //
     DescripcionP.HeaderText = "Descripcion";
     DescripcionP.Name = "DescripcionP";
     DescripcionP.Visible = false;
     //
     // NombreP
     //
     NombreP.HeaderText = "Nombre";
     NombreP.Name = "NombreP";
     //
     // Precio_VentaP
     //
     Precio_VentaP.HeaderText = "Precio";
     Precio_VentaP.Name = "Precio_VentaP";
     //
     // LoteP
     //
     LoteP.HeaderText = "Lote";
     LoteP.Name = "LoteP";
     //
     // CantidadP
     //
     CantidadP.HeaderText = "Cantidad";
     CantidadP.Name = "CantidadP";
     //
     // DescuentoP
     //
     DescuentoP.HeaderText = "Descuento";
     DescuentoP.Name = "DescuentoP";
     //
     // comboBox_Cliente
     //
     comboBox_Cliente.FormattingEnabled = true;
     comboBox_Cliente.Location = new System.Drawing.Point(96, 29);
     comboBox_Cliente.Name = "comboBox_Cliente";
     comboBox_Cliente.Size = new System.Drawing.Size(200, 21);
     comboBox_Cliente.TabIndex = 6;
     //
     // comboBoxTipoPago
     //
     comboBoxTipoPago.FormattingEnabled = true;
     comboBoxTipoPago.Location = new System.Drawing.Point(96, 56);
     comboBoxTipoPago.Name = "comboBoxTipoPago";
     comboBoxTipoPago.Size = new System.Drawing.Size(121, 21);
     comboBoxTipoPago.TabIndex = 7;
     //
     // comboBoxAdquisicion
     //
     comboBoxAdquisicion.FormattingEnabled = true;
     comboBoxAdquisicion.Location = new System.Drawing.Point(96, 83);
     comboBoxAdquisicion.Name = "comboBoxAdquisicion";
     comboBoxAdquisicion.Size = new System.Drawing.Size(121, 21);
     comboBoxAdquisicion.TabIndex = 8;
     //
     // txt_Cantidad
     //
     txt_Cantidad.Location = new System.Drawing.Point(453, 85);
     txt_Cantidad.Name = "txt_Cantidad";
     txt_Cantidad.Size = new System.Drawing.Size(100, 20);
     txt_Cantidad.TabIndex = 9;
     txt_Cantidad.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Cantidad_KeyPress);
     //
     // dateTimeVenta
     //
     dateTimeVenta.Location = new System.Drawing.Point(96, 110);
     dateTimeVenta.Name = "dateTimeVenta";
     dateTimeVenta.Size = new System.Drawing.Size(200, 20);
     dateTimeVenta.TabIndex = 12;
     //
     // dataGridView_Carrito
     //
     dataGridView_Carrito.AllowUserToAddRows = false;
     dataGridView_Carrito.AllowUserToDeleteRows = false;
     dataGridView_Carrito.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridView_Carrito.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Carrito.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_ProductoTerminado,
     Lote,
     Nombre,
     Descripcion,
     Cantidad,
     Precio});
     dataGridView_Carrito.Location = new System.Drawing.Point(12, 315);
     dataGridView_Carrito.Name = "dataGridView_Carrito";
     dataGridView_Carrito.ReadOnly = true;
     dataGridView_Carrito.Size = new System.Drawing.Size(675, 327);
     dataGridView_Carrito.TabIndex = 13;
     //
     // Id_ProductoTerminado
     //
     Id_ProductoTerminado.HeaderText = "Id_ProductoTerminado";
     Id_ProductoTerminado.Name = "Id_ProductoTerminado";
     Id_ProductoTerminado.ReadOnly = true;
     Id_ProductoTerminado.Visible = false;
     //
     // Lote
     //
     Lote.HeaderText = "Lote";
     Lote.Name = "Lote";
     Lote.ReadOnly = true;
     //
     // Nombre
     //
     Nombre.HeaderText = "Nombre";
     Nombre.Name = "Nombre";
     Nombre.ReadOnly = true;
     //
     // Descripcion
     //
     Descripcion.HeaderText = "Descripción";
     Descripcion.Name = "Descripcion";
     Descripcion.ReadOnly = true;
     //
     // Cantidad
     //
     Cantidad.HeaderText = "Cantidad";
     Cantidad.Name = "Cantidad";
     Cantidad.ReadOnly = true;
     //
     // Precio
     //
     Precio.HeaderText = "Precio";
     Precio.Name = "Precio";
     Precio.ReadOnly = true;
     //
     // lbl_Cantidad
     //
     lbl_Cantidad.AutoSize = true;
     lbl_Cantidad.Location = new System.Drawing.Point(450, 69);
     lbl_Cantidad.Name = "lbl_Cantidad";
     lbl_Cantidad.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad.TabIndex = 14;
     lbl_Cantidad.Text = "Cantidad";
     //
     // lbl_SubTotal
     //
     lbl_SubTotal.AutoSize = true;
     lbl_SubTotal.Location = new System.Drawing.Point(729, 343);
     lbl_SubTotal.Name = "lbl_SubTotal";
     lbl_SubTotal.Size = new System.Drawing.Size(46, 13);
     lbl_SubTotal.TabIndex = 18;
     lbl_SubTotal.Text = "Subtotal";
     //
     // txt_IVA
     //
     txt_IVA.Location = new System.Drawing.Point(790, 388);
     txt_IVA.Name = "txt_IVA";
     txt_IVA.Size = new System.Drawing.Size(100, 20);
     txt_IVA.TabIndex = 17;
     txt_IVA.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_IVA_KeyPress);
     //
     // txt_Descuento
     //
     txt_Descuento.Location = new System.Drawing.Point(790, 362);
     txt_Descuento.Name = "txt_Descuento";
     txt_Descuento.Size = new System.Drawing.Size(100, 20);
     txt_Descuento.TabIndex = 16;
     txt_Descuento.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Descuento_KeyPress);
     //
     // txt_SubTotal
     //
     txt_SubTotal.Enabled = false;
     txt_SubTotal.Location = new System.Drawing.Point(790, 336);
     txt_SubTotal.Name = "txt_SubTotal";
     txt_SubTotal.Size = new System.Drawing.Size(100, 20);
     txt_SubTotal.TabIndex = 15;
     txt_SubTotal.TextChanged += new System.EventHandler(txt_SubTotal_TextChanged);
     //
     // lbl_Descuento
     //
     lbl_Descuento.AutoSize = true;
     lbl_Descuento.Location = new System.Drawing.Point(729, 369);
     lbl_Descuento.Name = "lbl_Descuento";
     lbl_Descuento.Size = new System.Drawing.Size(59, 13);
     lbl_Descuento.TabIndex = 19;
     lbl_Descuento.Text = "Descuento";
     //
     // lbl_IVA
     //
     lbl_IVA.AutoSize = true;
     lbl_IVA.Location = new System.Drawing.Point(729, 395);
     lbl_IVA.Name = "lbl_IVA";
     lbl_IVA.Size = new System.Drawing.Size(24, 13);
     lbl_IVA.TabIndex = 20;
     lbl_IVA.Text = "IVA";
     //
     // lbl_Total
     //
     lbl_Total.AutoSize = true;
     lbl_Total.Location = new System.Drawing.Point(729, 423);
     lbl_Total.Name = "lbl_Total";
     lbl_Total.Size = new System.Drawing.Size(31, 13);
     lbl_Total.TabIndex = 21;
     lbl_Total.Text = "Total";
     //
     // txt_Total
     //
     txt_Total.Enabled = false;
     txt_Total.Location = new System.Drawing.Point(790, 416);
     txt_Total.Name = "txt_Total";
     txt_Total.Size = new System.Drawing.Size(100, 20);
     txt_Total.TabIndex = 22;
     //
     // txt_Efectivo
     //
     txt_Efectivo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txt_Efectivo.ForeColor = System.Drawing.Color.Red;
     txt_Efectivo.Location = new System.Drawing.Point(790, 512);
     txt_Efectivo.Name = "txt_Efectivo";
     txt_Efectivo.Size = new System.Drawing.Size(100, 22);
     txt_Efectivo.TabIndex = 24;
     //
     // lbl_Efectivo
     //
     lbl_Efectivo.AutoSize = true;
     lbl_Efectivo.Location = new System.Drawing.Point(729, 519);
     lbl_Efectivo.Name = "lbl_Efectivo";
     lbl_Efectivo.Size = new System.Drawing.Size(46, 13);
     lbl_Efectivo.TabIndex = 23;
     lbl_Efectivo.Text = "Efectivo";
     //
     // txt_Cambio
     //
     txt_Cambio.Enabled = false;
     txt_Cambio.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txt_Cambio.ForeColor = System.Drawing.Color.Red;
     txt_Cambio.Location = new System.Drawing.Point(790, 538);
     txt_Cambio.Name = "txt_Cambio";
     txt_Cambio.Size = new System.Drawing.Size(100, 22);
     txt_Cambio.TabIndex = 26;
     //
     // lbl_Cambio
     //
     lbl_Cambio.AutoSize = true;
     lbl_Cambio.Location = new System.Drawing.Point(729, 545);
     lbl_Cambio.Name = "lbl_Cambio";
     lbl_Cambio.Size = new System.Drawing.Size(42, 13);
     lbl_Cambio.TabIndex = 25;
     lbl_Cambio.Text = "Cambio";
     //
     // groupBox_Productos
     //
     groupBox_Productos.Controls.Add(dataGridView_Productos);
     groupBox_Productos.Location = new System.Drawing.Point(572, 41);
     groupBox_Productos.Name = "groupBox_Productos";
     groupBox_Productos.Size = new System.Drawing.Size(435, 261);
     groupBox_Productos.TabIndex = 27;
     groupBox_Productos.TabStop = false;
     groupBox_Productos.Text = "Productos";
     //
     // bttn_Agregar
     //
     bttn_Agregar.BackgroundImage = global::Shajobe.Properties.Resources.Agregar;
     bttn_Agregar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     bttn_Agregar.Location = new System.Drawing.Point(506, 170);
     bttn_Agregar.Name = "bttn_Agregar";
     bttn_Agregar.Size = new System.Drawing.Size(60, 60);
     bttn_Agregar.TabIndex = 28;
     bttn_Agregar.UseVisualStyleBackColor = true;
     bttn_Agregar.Click += new System.EventHandler(bttn_Agregar_Click);
     //
     // bttn_Quitar
     //
     bttn_Quitar.BackgroundImage = global::Shajobe.Properties.Resources.Quitar;
     bttn_Quitar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     bttn_Quitar.Location = new System.Drawing.Point(506, 239);
     bttn_Quitar.Name = "bttn_Quitar";
     bttn_Quitar.Size = new System.Drawing.Size(60, 60);
     bttn_Quitar.TabIndex = 29;
     bttn_Quitar.UseVisualStyleBackColor = true;
     bttn_Quitar.Click += new System.EventHandler(bttn_Quitar_Click);
     //
     // btn_Pagar
     //
     btn_Pagar.Location = new System.Drawing.Point(889, 585);
     btn_Pagar.Name = "btn_Pagar";
     btn_Pagar.Size = new System.Drawing.Size(75, 23);
     btn_Pagar.TabIndex = 30;
     btn_Pagar.Text = "Pagar";
     btn_Pagar.UseVisualStyleBackColor = true;
     btn_Pagar.Click += new System.EventHandler(btn_Pagar_Click);
     //
     // pic_Venta
     //
     pic_Venta.BackgroundImage = global::Shajobe.Properties.Resources.Venta;
     pic_Venta.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Venta.Location = new System.Drawing.Point(337, 66);
     pic_Venta.Name = "pic_Venta";
     pic_Venta.Size = new System.Drawing.Size(100, 100);
     pic_Venta.TabIndex = 31;
     pic_Venta.TabStop = false;
     //
     // groupBox_Informacion
     //
     groupBox_Informacion.Controls.Add(lbl_Cliente);
     groupBox_Informacion.Controls.Add(lbl_TipoPago);
     groupBox_Informacion.Controls.Add(lbl_Adquisicion);
     groupBox_Informacion.Controls.Add(lbl_Fecha);
     groupBox_Informacion.Controls.Add(comboBox_Cliente);
     groupBox_Informacion.Controls.Add(comboBoxTipoPago);
     groupBox_Informacion.Controls.Add(comboBoxAdquisicion);
     groupBox_Informacion.Controls.Add(dateTimeVenta);
     groupBox_Informacion.Location = new System.Drawing.Point(24, 60);
     groupBox_Informacion.Name = "groupBox_Informacion";
     groupBox_Informacion.Size = new System.Drawing.Size(307, 199);
     groupBox_Informacion.TabIndex = 32;
     groupBox_Informacion.TabStop = false;
     groupBox_Informacion.Text = "Información";
     //
     // lbl_Cliente
     //
     lbl_Cliente.AutoSize = true;
     lbl_Cliente.Location = new System.Drawing.Point(16, 37);
     lbl_Cliente.Name = "lbl_Cliente";
     lbl_Cliente.Size = new System.Drawing.Size(39, 13);
     lbl_Cliente.TabIndex = 36;
     lbl_Cliente.Text = "Cliente";
     //
     // lbl_TipoPago
     //
     lbl_TipoPago.AutoSize = true;
     lbl_TipoPago.Location = new System.Drawing.Point(16, 64);
     lbl_TipoPago.Name = "lbl_TipoPago";
     lbl_TipoPago.Size = new System.Drawing.Size(78, 13);
     lbl_TipoPago.TabIndex = 33;
     lbl_TipoPago.Text = "Forma de pago";
     //
     // lbl_Adquisicion
     //
     lbl_Adquisicion.AutoSize = true;
     lbl_Adquisicion.Location = new System.Drawing.Point(16, 91);
     lbl_Adquisicion.Name = "lbl_Adquisicion";
     lbl_Adquisicion.Size = new System.Drawing.Size(81, 13);
     lbl_Adquisicion.TabIndex = 34;
     lbl_Adquisicion.Text = "Forma de venta";
     //
     // lbl_Fecha
     //
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(16, 117);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 35;
     lbl_Fecha.Text = "Fecha";
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // pic_Logo
     //
     pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
     pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     pic_Logo.Location = new System.Drawing.Point(90, 250);
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(156, 74);
     pic_Logo.TabIndex = 13;
     pic_Logo.TabStop = false;
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
     ClientSize = new System.Drawing.Size(1019, 668);
     Controls.Add(groupBox_Informacion);
     Controls.Add(pic_Venta);
     Controls.Add(btn_Pagar);
     Controls.Add(bttn_Quitar);
     Controls.Add(bttn_Agregar);
     Controls.Add(groupBox_Productos);
     Controls.Add(txt_Cambio);
     Controls.Add(lbl_Cambio);
     Controls.Add(txt_Efectivo);
     Controls.Add(lbl_Efectivo);
     Controls.Add(txt_Total);
     Controls.Add(lbl_Total);
     Controls.Add(lbl_IVA);
     Controls.Add(lbl_Descuento);
     Controls.Add(lbl_SubTotal);
     Controls.Add(txt_IVA);
     Controls.Add(txt_Descuento);
     Controls.Add(txt_SubTotal);
     Controls.Add(lbl_Cantidad);
     Controls.Add(dataGridView_Carrito);
     Controls.Add(txt_Cantidad);
     Controls.Add(menuStrip1);
     Icon = global::Shajobe.Properties.Resources.Venta_ICO;
     MaximizeBox = false;
     MaximumSize = new System.Drawing.Size(1025, 692);
     MinimumSize = new System.Drawing.Size(1025, 692);
     Name = "Venta";
     Text = "Venta";
     Load += new System.EventHandler(Venta_Load);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Productos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Carrito)).EndInit();
     groupBox_Productos.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(pic_Venta)).EndInit();
     groupBox_Informacion.ResumeLayout(false);
     groupBox_Informacion.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
     AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
     ResumeLayout(false);
     PerformLayout();
 }
Ejemplo n.º 33
0
        private void Init()
        {
            if (s_schemaLoader == null)
                s_schemaLoader = new SchemaLoader();
            m_PropertyGrid = new PropertyGrid(PropertyGridMode.PropertySorting | PropertyGridMode.DisplayDescriptions | PropertyGridMode.HideResetAllButton);
            m_treeControl = new TreeControl();
            m_menu = new MenuStrip();
            var fileMenu = new ToolStripMenuItem();
            var newMenu = new ToolStripMenuItem();
            var openMenu = new ToolStripMenuItem();

            var exitMenu = new ToolStripMenuItem();
            var splitter = new SplitContainer();

            m_menu.SuspendLayout();
            splitter.BeginInit();
            splitter.Panel1.SuspendLayout();
            splitter.Panel2.SuspendLayout();
            splitter.SuspendLayout();

            SuspendLayout();

            // m_menu
            m_menu.Location = new System.Drawing.Point(0, 0);
            m_menu.Name = "m_menu";
            m_menu.TabIndex = 0;
            m_menu.Text = "m_menu";
            m_menu.Items.Add(fileMenu);


            // file            
            fileMenu.Name = "fileToolStripMenuItem";
            fileMenu.Size = new System.Drawing.Size(37, 20);
            fileMenu.Text = "File".Localize();
            fileMenu.DropDownOpening += new EventHandler(fileMenu_DropDownOpening);
            fileMenu.DropDownItems.AddRange(new ToolStripItem[]
            {
                newMenu,             
                openMenu,
                m_openFolderMenu,
                m_saveMenu,
                m_saveAsMenu,
                exitMenu
            });

            // new
            newMenu.Name = "newToolStripMenuItem";
            newMenu.ShortcutKeys = Keys.Control | Keys.N;
            newMenu.Text = "New".Localize();
            newMenu.Click += NewToolStripMenuItem_Click;

            //open
            openMenu.Name = "openToolStripMenuItem";
            openMenu.ShortcutKeys = Keys.Control | Keys.O;
            openMenu.Text = "Open...".Localize();
            openMenu.Click += OpenToolStripMenuItem_Click;


            // open containing folder
            m_openFolderMenu.Name = "OpenFolderMenu";
            m_openFolderMenu.Text = "Open Containing Folder".Localize();
            m_openFolderMenu.Click += new EventHandler(OpenFolderMenu_Click);

            //save
            m_saveMenu.Name = "saveToolStripMenuItem";
            m_saveMenu.ShortcutKeys = Keys.Control | Keys.S;
            m_saveMenu.Text = "Save".Localize();
            m_saveMenu.Click += SaveToolStripMenuItem_Click;

            // save as
            m_saveAsMenu.Name = "saveAsToolStripMenuItem";
            m_saveAsMenu.Text = "Save As...".Localize();
            m_saveAsMenu.Click += SaveAsToolStripMenuItem_Click;

            // exit
            exitMenu.Name = "exitToolStripMenuItem";
            exitMenu.Text = "Exit".Localize();
            exitMenu.Click += ExitToolStripMenuItem_Click;

            // tree control
            m_treeControl.Dock = DockStyle.Fill;
            m_treeControl.Name = "m_treeControl";
            m_treeControl.TabIndex = 1;
            m_treeControl.Width = 150;
            m_treeControl.ShowRoot = false;
            m_treeControl.AllowDrop = false;
            m_treeControl.SelectionMode = SelectionMode.One;
            m_treeControlAdapter = new TreeControlAdapter(m_treeControl);

            // propertyGrid1            
            m_PropertyGrid.Dock = DockStyle.Fill;
            m_PropertyGrid.Name = "propertyGrid1";
            m_PropertyGrid.TabIndex = 3;
            m_PropertyGrid.PropertySorting = PropertySorting.None;

            // splitter           
            splitter.Dock = DockStyle.Fill;
            splitter.Name = "splitContainer1";
            splitter.Panel1.Controls.Add(m_treeControl);
            splitter.Panel2.Controls.Add(m_PropertyGrid);
            splitter.SplitterDistance = 100;
            splitter.TabIndex = 1;

            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new System.Drawing.Size(600, 400);
            Controls.Add(splitter);
            Controls.Add(m_menu);
            MainMenuStrip = m_menu;
            Name = "SkinEditor";
            Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage));
            UpdateTitleText();
            m_menu.ResumeLayout(false);
            m_menu.PerformLayout();
            splitter.Panel1.ResumeLayout(false);
            splitter.Panel2.ResumeLayout(false);
            splitter.EndInit();
            splitter.ResumeLayout(false);

            ResumeLayout(false);
            PerformLayout();
            splitter.SplitterDistance = 170;
        }
Ejemplo n.º 34
0
        private void InitializeComponent()
        {
            m_container = (IContainer)new Container();
            Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance();
            UltraStatusPanel ultraStatusPanel1 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel2 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel3 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel4 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel5 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel6 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel7 = new UltraStatusPanel();
            UltraStatusPanel ultraStatusPanel8 = new UltraStatusPanel();
            this.tableLayoutPanel = new TableLayoutPanel();
            this.pagePanel = new Panel();
            this.customListView = new CustomListView();
            m_timer = new System.Windows.Forms.Timer(m_container);
            menuStrip = new MenuStrip();
            fileToolStripMenuItem = new ToolStripMenuItem();
            exitToolStripMenuItem = new ToolStripMenuItem();
            viewToolStripMenuItem = new ToolStripMenuItem();
            showStatusBarToolStripMenuItem = new ToolStripMenuItem();
            showListViewToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparator1 = new ToolStripSeparator();
            fullScreenToolStripMenuItem = new ToolStripMenuItem();
            windowToolStripMenuItem = new ToolStripMenuItem();
            setupToolStripMenuItem = new ToolStripMenuItem();
            diagnosticsToolStripMenuItem = new ToolStripMenuItem();
            monitorsToolStripMenuItem = new ToolStripMenuItem();
            dashboardToolStripMenuItem = new ToolStripMenuItem();
            logsToolStripMenuItem = new ToolStripMenuItem();
            connectionToolStripMenuItem = new ToolStripMenuItem();
            connectToolStripMenuItem = new ToolStripMenuItem();
            disconnectToolStripMenuItem = new ToolStripMenuItem();
            toolsToolStripMenuItem = new ToolStripMenuItem();
            vehicleManagerToolStripMenuItem = new ToolStripMenuItem();
            sensorCalibrationToolStripMenuItem = new ToolStripMenuItem();
            userDefinedPIDsToolStripMenuItem = new ToolStripMenuItem();
            pluginManagerToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparatorToolsMenu = new ToolStripSeparator();
            pidInspectorToolStripMenuItem = new ToolStripMenuItem();
            powerSaveSetupToolStripMenuItem = new ToolStripMenuItem();
            toolStripSeparatorToolsMenu2 = new ToolStripSeparator();
            preferencesToolStripMenuItem = new ToolStripMenuItem();
            toolStripContainer = new ToolStripContainer();
            m_statusPortECU = new UltraStatusBar();
            tableLayoutPanel.SuspendLayout();
            menuStrip.SuspendLayout();
            toolStripContainer.ContentPanel.SuspendLayout();
            toolStripContainer.TopToolStripPanel.SuspendLayout();

            this.toolStripContainer.SuspendLayout();
            ((ISupportInitialize)this.m_statusPortECU).BeginInit();
            this.SuspendLayout();

            this.tableLayoutPanel.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single;
            this.tableLayoutPanel.ColumnCount = 2;
            this.tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 84f));
            tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
            tableLayoutPanel.Controls.Add(pagePanel, 1, 0);
            tableLayoutPanel.Controls.Add(customListView, 0, 0);
            tableLayoutPanel.Dock = DockStyle.Fill;
            tableLayoutPanel.Location = new Point(0, 0);
            tableLayoutPanel.Margin = new Padding(2);
            tableLayoutPanel.Name = "tableLayoutPanel";
            tableLayoutPanel.RowCount = 1;
            tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 434f));
            tableLayoutPanel.Size = new Size(763, 435);
            tableLayoutPanel.TabIndex = 1;

            pagePanel.Dock = DockStyle.Fill;
            pagePanel.Location = new Point(86, 1);
            pagePanel.Margin = new Padding(0);
            pagePanel.Name = "pagePanel";
            pagePanel.Size = new Size(676, 433);
            pagePanel.TabIndex = 2;

            customListView.Dock = DockStyle.Fill;
            customListView.ItemSpacing = ListViewItemSpacing.f00009d;
            customListView.Location = new Point(3, 3);
            customListView.Margin = new Padding(2);
            customListView.Name = "customListView";
            customListView.Size = new Size(80, 429);
            customListView.TabIndex = 3;

            m_timer.Enabled = true;
            m_timer.Interval = 1000;
            m_timer.Tick += new EventHandler(m_timer_Tick);

            menuStrip.Dock = DockStyle.None;
            menuStrip.Items.AddRange(new ToolStripItem[]
            {
                fileToolStripMenuItem,
                viewToolStripMenuItem,
                windowToolStripMenuItem,
                connectionToolStripMenuItem,
                toolsToolStripMenuItem
            });
            menuStrip.Location = new Point(0, 0);
            menuStrip.Name = "menuStrip";
            menuStrip.Size = new Size(763, 24);
            menuStrip.TabIndex = 0;
            fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[1]
            {
                exitToolStripMenuItem
            });
            fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            fileToolStripMenuItem.Size = new Size(37, 20);
            fileToolStripMenuItem.Text = "&File";
            exitToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p000031;
            exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            exitToolStripMenuItem.Size = new Size(92, 22);
            exitToolStripMenuItem.Text = "E&xit";
            exitToolStripMenuItem.Click += new EventHandler(exitToolStripMenuItem_Click);

            viewToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[]
            {
                showStatusBarToolStripMenuItem,
                showListViewToolStripMenuItem,
                toolStripSeparator1,
                fullScreenToolStripMenuItem
            });
            viewToolStripMenuItem.Name = "viewToolStripMenuItem";
            viewToolStripMenuItem.Size = new Size(44, 20);
            viewToolStripMenuItem.Text = "&View";
            viewToolStripMenuItem.DropDownOpening += new EventHandler(viewToolStripMenuItem_DropDownOpening);

            showStatusBarToolStripMenuItem.Name = "showStatusBarToolStripMenuItem";
            showStatusBarToolStripMenuItem.Size = new Size(131, 22);
            showStatusBarToolStripMenuItem.Text = "&Status Bar";
            showStatusBarToolStripMenuItem.Click += new EventHandler(showStatusBarToolStripMenuItem_Click);

            showListViewToolStripMenuItem.Name = "showListViewToolStripMenuItem";
            showListViewToolStripMenuItem.Size = new Size(131, 22);
            showListViewToolStripMenuItem.Text = "&List View";
            showListViewToolStripMenuItem.Click += new EventHandler(showListViewToolStripMenuItem_Click);

            toolStripSeparator1.Name = "toolStripSeparator1";
            toolStripSeparator1.Size = new Size(128, 6);

            fullScreenToolStripMenuItem.Name = "fullScreenToolStripMenuItem";
            fullScreenToolStripMenuItem.Size = new Size(131, 22);
            fullScreenToolStripMenuItem.Text = "&Full Screen";
            fullScreenToolStripMenuItem.Click += new EventHandler(fullScreenToolStripMenuItem_Click);

            windowToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[5]
            {
                setupToolStripMenuItem,
                diagnosticsToolStripMenuItem,
                monitorsToolStripMenuItem,
                dashboardToolStripMenuItem,
                logsToolStripMenuItem
            });
            windowToolStripMenuItem.Name = "windowToolStripMenuItem";
            windowToolStripMenuItem.Size = new Size(63, 20);
            windowToolStripMenuItem.Text = "&Window";

            setupToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000074;
            setupToolStripMenuItem.Name = "setupToolStripMenuItem";
            setupToolStripMenuItem.Size = new Size(135, 22);
            setupToolStripMenuItem.Text = "&Setup";
            setupToolStripMenuItem.Click += new EventHandler(setupToolStripMenuItem_Click);

            diagnosticsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000025;
            diagnosticsToolStripMenuItem.Name = "diagnosticsToolStripMenuItem";
            diagnosticsToolStripMenuItem.Size = new Size(135, 22);
            diagnosticsToolStripMenuItem.Text = "&Diagnostics";
            diagnosticsToolStripMenuItem.Click += new EventHandler(diagnosticsToolStripMenuItem_Click);

            monitorsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000044;
            monitorsToolStripMenuItem.Name = "monitorsToolStripMenuItem";
            monitorsToolStripMenuItem.Size = new Size(135, 22);
            monitorsToolStripMenuItem.Text = "&Monitors";
            monitorsToolStripMenuItem.Click += new EventHandler(monitorsToolStripMenuItem_Click);

            dashboardToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000014;
            dashboardToolStripMenuItem.Name = "dashboardToolStripMenuItem";
            dashboardToolStripMenuItem.Size = new Size(135, 22);
            dashboardToolStripMenuItem.Text = "&D&ashboard";
            dashboardToolStripMenuItem.Click += new EventHandler(dashboardToolStripMenuItem_Click);

            logsToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000042;
            logsToolStripMenuItem.Name = "logsToolStripMenuItem";
            logsToolStripMenuItem.Size = new Size(135, 22);
            logsToolStripMenuItem.Text = "&Logs";
            logsToolStripMenuItem.Click += new EventHandler(logsToolStripMenuItem_Click);

            connectionToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[2]
            {
                connectToolStripMenuItem,
                disconnectToolStripMenuItem
            });
            connectionToolStripMenuItem.Name = "connectionToolStripMenuItem";
            connectionToolStripMenuItem.Size = new Size(81, 20);
            connectionToolStripMenuItem.Text = "&Connection";

            connectToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p00000e;
            connectToolStripMenuItem.Name = "connectToolStripMenuItem";
            connectToolStripMenuItem.Size = new Size(133, 22);
            connectToolStripMenuItem.Text = "&Connect";
            connectToolStripMenuItem.Click += new EventHandler(connectToolStripMenuItem_Click);

            disconnectToolStripMenuItem.Image = (Image)OCTech.OBD2.Applications.Properties.Resources.p000027;
            disconnectToolStripMenuItem.Name = "disconnectToolStripMenuItem";
            disconnectToolStripMenuItem.Size = new Size(133, 22);
            disconnectToolStripMenuItem.Text = "&Disconnect";
            disconnectToolStripMenuItem.Click += new EventHandler(disconnectToolStripMenuItem_Click);

            toolsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[9]
            {
                vehicleManagerToolStripMenuItem,
                sensorCalibrationToolStripMenuItem,
                userDefinedPIDsToolStripMenuItem,
                pluginManagerToolStripMenuItem,
                toolStripSeparatorToolsMenu,
                pidInspectorToolStripMenuItem,
                powerSaveSetupToolStripMenuItem,
                toolStripSeparatorToolsMenu2,
                preferencesToolStripMenuItem
            });
            toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
            toolsToolStripMenuItem.Size = new Size(48, 20);
            toolsToolStripMenuItem.Text = "&Tools";

            vehicleManagerToolStripMenuItem.Name = "vehicleManagerToolStripMenuItem";
            vehicleManagerToolStripMenuItem.Size = new Size(179, 22);
            vehicleManagerToolStripMenuItem.Text = "Vehicle &Manager";
            vehicleManagerToolStripMenuItem.Click += new EventHandler(vehicleManagerToolStripMenuItem_Click);

            sensorCalibrationToolStripMenuItem.Name = "sensorCalibrationToolStripMenuItem";
            sensorCalibrationToolStripMenuItem.Size = new Size(179, 22);
            sensorCalibrationToolStripMenuItem.Text = "Sensor &Calibration";
            sensorCalibrationToolStripMenuItem.Click += new EventHandler(sensorCalibrationToolStripMenuItem_Click);

            userDefinedPIDsToolStripMenuItem.Name = "userDefinedPIDsToolStripMenuItem";
            userDefinedPIDsToolStripMenuItem.Size = new Size(179, 22);
            userDefinedPIDsToolStripMenuItem.Text = "&User-Defined PIDs";
            userDefinedPIDsToolStripMenuItem.Click += new EventHandler(userDefinedPIDsToolStripMenuItem_Click);

            pluginManagerToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p00005a;
            pluginManagerToolStripMenuItem.Name = "pluginManagerToolStripMenuItem";
            pluginManagerToolStripMenuItem.Size = new Size(179, 22);
            pluginManagerToolStripMenuItem.Text = "Plugin Manager";
            pluginManagerToolStripMenuItem.Click += new EventHandler(pluginManagerToolStripMenuItem_Click);

            toolStripSeparatorToolsMenu.Name = "toolStripSeparatorToolsMenu";
            toolStripSeparatorToolsMenu.Size = new Size(176, 6);

            pidInspectorToolStripMenuItem.Enabled = false;
            pidInspectorToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p000057;
            pidInspectorToolStripMenuItem.Name = "pidInspectorToolStripMenuItem";
            pidInspectorToolStripMenuItem.Size = new Size(179, 22);
            pidInspectorToolStripMenuItem.Text = "PID Inspector";
            pidInspectorToolStripMenuItem.Click += new EventHandler(pidInspectorToolStripMenuItem_Click);

            powerSaveSetupToolStripMenuItem.Enabled = false;
            powerSaveSetupToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.PowerSave16x16;
            powerSaveSetupToolStripMenuItem.Name = "powerSaveSetupToolStripMenuItem";
            powerSaveSetupToolStripMenuItem.Size = new Size(179, 22);
            powerSaveSetupToolStripMenuItem.Text = "Power Save Settings";
            powerSaveSetupToolStripMenuItem.Click += new EventHandler(powerSaveSetupToolStripMenuItem_Click);

            toolStripSeparatorToolsMenu2.Name = "toolStripSeparatorToolsMenu2";
            toolStripSeparatorToolsMenu2.Size = new Size(176, 6);

            preferencesToolStripMenuItem.Image = OCTech.OBD2.Applications.Properties.Resources.p00005d;
            preferencesToolStripMenuItem.Name = "preferencesToolStripMenuItem";
            preferencesToolStripMenuItem.Size = new Size(179, 22);
            preferencesToolStripMenuItem.Text = "&Preferences";
            preferencesToolStripMenuItem.Click += new EventHandler(preferencesToolStripMenuItem_Click);

            toolStripContainer.ContentPanel.Controls.Add(tableLayoutPanel);
            toolStripContainer.ContentPanel.Padding = new Padding(0, 0, 0, 23);
            toolStripContainer.ContentPanel.Size = new Size(763, 458);
            toolStripContainer.Dock = DockStyle.Fill;
            toolStripContainer.Location = new Point(0, 0);
            toolStripContainer.Name = "toolStripContainer";
            toolStripContainer.Size = new Size(763, 482);
            toolStripContainer.TabIndex = 0;
            toolStripContainer.TopToolStripPanel.Controls.Add(menuStrip);

            m_statusPortECU.Location = new Point(0, 459);
            m_statusPortECU.Name = "ultraStatusBar";
            appearance.TextHAlignAsString = "Center";
            m_statusPortECU.PanelAppearance = appearance;

            ultraStatusPanel1.Key = "InterfacePanel";
            ultraStatusPanel1.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel1.Style = PanelStyle.ControlContainer;
            ultraStatusPanel1.Width = 90;

            ultraStatusPanel2.Key = "ECUPanel";
            ultraStatusPanel2.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel2.Style = PanelStyle.ControlContainer;
            ultraStatusPanel2.Width = 75;

            ultraStatusPanel3.Key = "CurrentOperationPanel";
            ultraStatusPanel3.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel3.Visible = false;
            ultraStatusPanel3.Width = 90;

            ultraStatusPanel4.Key = "ErrorPanel";
            ultraStatusPanel4.SizingMode = PanelSizingMode.Spring;

            ultraStatusPanel5.Key = "CalPanel";
            ultraStatusPanel5.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel5.Visible = false;

            ultraStatusPanel6.Key = "PlaybackTimePanel";
            ultraStatusPanel6.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel6.Visible = false;

            ultraStatusPanel7.Key = "PIDTimingPanel";
            ultraStatusPanel7.Width = 85;

            ultraStatusPanel8.Key = "ClockPanel";
            ultraStatusPanel8.SizingMode = PanelSizingMode.Automatic;
            ultraStatusPanel8.Style = PanelStyle.Time;

            m_statusPortECU.Panels.AddRange(new UltraStatusPanel[]
            {
                ultraStatusPanel1,
                ultraStatusPanel2,
                ultraStatusPanel3,
                ultraStatusPanel4,
                ultraStatusPanel5,
                ultraStatusPanel6,
                ultraStatusPanel7,
                ultraStatusPanel8
            });

            m_statusPortECU.Size = new Size(763, 23);
            m_statusPortECU.SizeGripVisible = DefaultableBoolean.False;
            m_statusPortECU.TabIndex = 1;
            m_statusPortECU.ViewStyle = ViewStyle.VisualStudio2005;
            this.AutoScaleDimensions = new SizeF(6f, 13f);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new Size(763, 482);
            this.Controls.Add(m_statusPortECU);
            this.Controls.Add(toolStripContainer);
            this.MainMenuStrip = menuStrip;
            this.Margin = new Padding(2);
            this.Name= "MainForm";
            StartPosition = FormStartPosition.CenterScreen;
            this.WindowState = FormWindowState.Maximized;
            tableLayoutPanel.ResumeLayout(false);
            menuStrip.ResumeLayout(false);
            menuStrip.PerformLayout();
            toolStripContainer.ContentPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.ResumeLayout(false);
            toolStripContainer.TopToolStripPanel.PerformLayout();
            toolStripContainer.ResumeLayout(false);
            toolStripContainer.PerformLayout();
            ((ISupportInitialize)m_statusPortECU).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 35
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.Windows.Forms.MenuStrip                 menuStrip1;
     System.Windows.Forms.ToolStripMenuItem         menuItem0;
     System.Windows.Forms.ToolStripMenuItem         autoArenaButton;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainView));
     this.autoWeaveButton       = new System.Windows.Forms.ToolStripMenuItem();
     this.autoMerchantButton    = new System.Windows.Forms.ToolStripMenuItem();
     this.autoSwapButton        = new System.Windows.Forms.ToolStripMenuItem();
     this.autoReherseButton     = new System.Windows.Forms.ToolStripMenuItem();
     this.autoGoldDailyButton   = new System.Windows.Forms.ToolStripMenuItem();
     this.autoSwapSnoutButton   = new System.Windows.Forms.ToolStripMenuItem();
     this.autoMailButton        = new System.Windows.Forms.ToolStripMenuItem();
     this.oneSecondTimer        = new System.Windows.Forms.Timer(this.components);
     this._ignore0              = new System.Windows.Forms.Panel();
     this.saveButton            = new System.Windows.Forms.Button();
     this.logoutButton          = new System.Windows.Forms.Button();
     this.parallelLoginButton   = new System.Windows.Forms.Button();
     this.loginButton           = new System.Windows.Forms.Button();
     this.logoutAllButton       = new System.Windows.Forms.Button();
     this.loginAllButton        = new System.Windows.Forms.Button();
     this.changeButton          = new System.Windows.Forms.Button();
     this.removeButton          = new System.Windows.Forms.Button();
     this.addButton             = new System.Windows.Forms.Button();
     this.connectionStateimages = new System.Windows.Forms.ImageList(this.components);
     this.statusColumn          = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
     this.descriptionColumn     = ((BrightIdeasSoftware.OLVColumn)(new BrightIdeasSoftware.OLVColumn()));
     this.clientList            = new BrightIdeasSoftware.ObjectListView();
     this.navigatorPanel        = new System.Windows.Forms.Panel();
     this.moveDownButton        = new System.Windows.Forms.Button();
     this.arrowImages           = new System.Windows.Forms.ImageList(this.components);
     this.moveUpButton          = new System.Windows.Forms.Button();
     this.clientView            = new k8asd.ClientView();
     menuStrip1      = new System.Windows.Forms.MenuStrip();
     menuItem0       = new System.Windows.Forms.ToolStripMenuItem();
     autoArenaButton = new System.Windows.Forms.ToolStripMenuItem();
     menuStrip1.SuspendLayout();
     this._ignore0.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.clientList)).BeginInit();
     this.navigatorPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // menuStrip1
     //
     menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         menuItem0
     });
     menuStrip1.Location = new System.Drawing.Point(0, 0);
     menuStrip1.Name     = "menuStrip1";
     menuStrip1.Size     = new System.Drawing.Size(1350, 24);
     menuStrip1.TabIndex = 2;
     menuStrip1.Text     = "menuStrip";
     //
     // menuItem0
     //
     menuItem0.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         autoArenaButton,
         this.autoWeaveButton,
         this.autoMerchantButton,
         this.autoSwapButton,
         this.autoReherseButton,
         this.autoGoldDailyButton,
         this.autoSwapSnoutButton,
         this.autoMailButton
     });
     menuItem0.Name = "menuItem0";
     menuItem0.Size = new System.Drawing.Size(58, 20);
     menuItem0.Text = "Phụ trợ";
     //
     // autoArenaButton
     //
     autoArenaButton.Name   = "autoArenaButton";
     autoArenaButton.Size   = new System.Drawing.Size(276, 22);
     autoArenaButton.Text   = "Tự động đánh võ đài";
     autoArenaButton.Click += new System.EventHandler(this.autoArenaButton_Click);
     //
     // autoWeaveButton
     //
     this.autoWeaveButton.Name   = "autoWeaveButton";
     this.autoWeaveButton.Size   = new System.Drawing.Size(276, 22);
     this.autoWeaveButton.Text   = "Tự động dệt";
     this.autoWeaveButton.Click += new System.EventHandler(this.autoWeaveButton_Click);
     //
     // autoMerchantButton
     //
     this.autoMerchantButton.Name   = "autoMerchantButton";
     this.autoMerchantButton.Size   = new System.Drawing.Size(276, 22);
     this.autoMerchantButton.Text   = "Tự động tìm thương minh";
     this.autoMerchantButton.Click += new System.EventHandler(this.autoMerchantButton_Click);
     //
     // autoSwapButton
     //
     this.autoSwapButton.Name   = "autoSwapButton";
     this.autoSwapButton.Size   = new System.Drawing.Size(276, 22);
     this.autoSwapButton.Text   = "Tự động chuyển bang chủ";
     this.autoSwapButton.Click += new System.EventHandler(this.autoSwapButton_Click);
     //
     // autoReherseButton
     //
     this.autoReherseButton.Name   = "autoReherseButton";
     this.autoReherseButton.Size   = new System.Drawing.Size(276, 22);
     this.autoReherseButton.Text   = "Tự động tập trận";
     this.autoReherseButton.Click += new System.EventHandler(this.autoReherseButton_Click);
     //
     // autoGoldDailyButton
     //
     this.autoGoldDailyButton.Name   = "autoGoldDailyButton";
     this.autoGoldDailyButton.Size   = new System.Drawing.Size(276, 22);
     this.autoGoldDailyButton.Text   = "Bug Tiêu Xu Hằng Ngày";
     this.autoGoldDailyButton.Click += new System.EventHandler(this.autoGoldDailyButton_Click);
     //
     // autoSwapSnoutButton
     //
     this.autoSwapSnoutButton.Name   = "autoSwapSnoutButton";
     this.autoSwapSnoutButton.Size   = new System.Drawing.Size(276, 22);
     this.autoSwapSnoutButton.Text   = "Tự động chuyển mỏ";
     this.autoSwapSnoutButton.Click += new System.EventHandler(this.autoSwapSnoutButton_Click);
     //
     // autoMailButton
     //
     this.autoMailButton.Name   = "autoMailButton";
     this.autoMailButton.Size   = new System.Drawing.Size(276, 22);
     this.autoMailButton.Text   = "Tự động nhận thư - Làm mới Kỹ Năng";
     this.autoMailButton.Click += new System.EventHandler(this.tựĐộngNhậnThưToolStripMenuItem_Click);
     //
     // oneSecondTimer
     //
     this.oneSecondTimer.Enabled  = true;
     this.oneSecondTimer.Interval = 1000;
     this.oneSecondTimer.Tick    += new System.EventHandler(this.oneSecondTimer_Tick);
     //
     // _ignore0
     //
     this._ignore0.Controls.Add(this.saveButton);
     this._ignore0.Controls.Add(this.logoutButton);
     this._ignore0.Controls.Add(this.parallelLoginButton);
     this._ignore0.Controls.Add(this.loginButton);
     this._ignore0.Controls.Add(this.logoutAllButton);
     this._ignore0.Controls.Add(this.loginAllButton);
     this._ignore0.Controls.Add(this.changeButton);
     this._ignore0.Controls.Add(this.removeButton);
     this._ignore0.Controls.Add(this.addButton);
     this._ignore0.Dock     = System.Windows.Forms.DockStyle.Top;
     this._ignore0.Location = new System.Drawing.Point(0, 24);
     this._ignore0.Name     = "_ignore0";
     this._ignore0.Size     = new System.Drawing.Size(1350, 70);
     this._ignore0.TabIndex = 1;
     //
     // saveButton
     //
     this.saveButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.saveButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.saveButton.Location  = new System.Drawing.Point(570, 0);
     this.saveButton.Name      = "saveButton";
     this.saveButton.Size      = new System.Drawing.Size(80, 70);
     this.saveButton.TabIndex  = 5;
     this.saveButton.Text      = "Lưu cấu hình";
     this.saveButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     //
     // logoutButton
     //
     this.logoutButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.logoutButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.logoutButton.Image     = global::k8asd.Properties.Resources.btn_Logout;
     this.logoutButton.Location  = new System.Drawing.Point(490, 0);
     this.logoutButton.Name      = "logoutButton";
     this.logoutButton.Size      = new System.Drawing.Size(80, 70);
     this.logoutButton.TabIndex  = 1;
     this.logoutButton.Text      = "Đăng xuất";
     this.logoutButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.logoutButton.UseVisualStyleBackColor = true;
     this.logoutButton.Click += new System.EventHandler(this.logoutButton_Click);
     //
     // parallelLoginButton
     //
     this.parallelLoginButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.parallelLoginButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parallelLoginButton.Image     = global::k8asd.Properties.Resources.btn_Login;
     this.parallelLoginButton.Location  = new System.Drawing.Point(410, 0);
     this.parallelLoginButton.Name      = "parallelLoginButton";
     this.parallelLoginButton.Size      = new System.Drawing.Size(80, 70);
     this.parallelLoginButton.TabIndex  = 4;
     this.parallelLoginButton.Text      = "Đăng nhập song song";
     this.parallelLoginButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.parallelLoginButton.UseVisualStyleBackColor = true;
     this.parallelLoginButton.Click += new System.EventHandler(this.parallelLoginButton_Click);
     //
     // loginButton
     //
     this.loginButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.loginButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loginButton.Image     = global::k8asd.Properties.Resources.btn_Login;
     this.loginButton.Location  = new System.Drawing.Point(330, 0);
     this.loginButton.Name      = "loginButton";
     this.loginButton.Size      = new System.Drawing.Size(80, 70);
     this.loginButton.TabIndex  = 3;
     this.loginButton.Text      = "Đăng nhập";
     this.loginButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.loginButton.UseVisualStyleBackColor = true;
     this.loginButton.Click += new System.EventHandler(this.loginButton_Click);
     //
     // logoutAllButton
     //
     this.logoutAllButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.logoutAllButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.logoutAllButton.Location  = new System.Drawing.Point(260, 0);
     this.logoutAllButton.Name      = "logoutAllButton";
     this.logoutAllButton.Size      = new System.Drawing.Size(70, 70);
     this.logoutAllButton.TabIndex  = 2;
     this.logoutAllButton.Text      = "Ngắt Kết Nối All";
     this.logoutAllButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.logoutAllButton.UseVisualStyleBackColor = true;
     this.logoutAllButton.Click += new System.EventHandler(this.logoutAllButton_Click);
     //
     // loginAllButton
     //
     this.loginAllButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.loginAllButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loginAllButton.Location  = new System.Drawing.Point(190, 0);
     this.loginAllButton.Name      = "loginAllButton";
     this.loginAllButton.Size      = new System.Drawing.Size(70, 70);
     this.loginAllButton.TabIndex  = 1;
     this.loginAllButton.Text      = "Đăng Nhập All";
     this.loginAllButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.loginAllButton.UseVisualStyleBackColor = true;
     this.loginAllButton.Click += new System.EventHandler(this.loginAllButton_Click);
     //
     // changeButton
     //
     this.changeButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.changeButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.changeButton.Location  = new System.Drawing.Point(120, 0);
     this.changeButton.Name      = "changeButton";
     this.changeButton.Size      = new System.Drawing.Size(70, 70);
     this.changeButton.TabIndex  = 6;
     this.changeButton.Text      = "Thay đổi thông tin đăng nhập";
     this.changeButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.changeButton.UseVisualStyleBackColor = true;
     this.changeButton.Click += new System.EventHandler(this.changeButton_Click);
     //
     // removeButton
     //
     this.removeButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.removeButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.removeButton.Image     = global::k8asd.Properties.Resources.btn_Delete;
     this.removeButton.Location  = new System.Drawing.Point(60, 0);
     this.removeButton.Name      = "removeButton";
     this.removeButton.Size      = new System.Drawing.Size(60, 70);
     this.removeButton.TabIndex  = 3;
     this.removeButton.Text      = "Xoá";
     this.removeButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.removeButton.UseVisualStyleBackColor = true;
     this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
     //
     // addButton
     //
     this.addButton.Dock      = System.Windows.Forms.DockStyle.Left;
     this.addButton.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.addButton.Image     = global::k8asd.Properties.Resources.btn_Add;
     this.addButton.Location  = new System.Drawing.Point(0, 0);
     this.addButton.Name      = "addButton";
     this.addButton.Size      = new System.Drawing.Size(60, 70);
     this.addButton.TabIndex  = 2;
     this.addButton.Text      = "Thêm";
     this.addButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     this.addButton.UseVisualStyleBackColor = true;
     this.addButton.Click += new System.EventHandler(this.addButton_Click);
     //
     // connectionStateimages
     //
     this.connectionStateimages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("connectionStateimages.ImageStream")));
     this.connectionStateimages.TransparentColor = System.Drawing.Color.Transparent;
     this.connectionStateimages.Images.SetKeyName(0, "connected");
     this.connectionStateimages.Images.SetKeyName(1, "disconnected");
     //
     // statusColumn
     //
     this.statusColumn.AspectName      = "";
     this.statusColumn.HeaderTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.statusColumn.Text            = "";
     this.statusColumn.TextAlign       = System.Windows.Forms.HorizontalAlignment.Center;
     this.statusColumn.Width           = 16;
     //
     // descriptionColumn
     //
     this.descriptionColumn.AspectName      = "";
     this.descriptionColumn.HeaderTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.descriptionColumn.MaximumWidth    = 210;
     this.descriptionColumn.MinimumWidth    = 210;
     this.descriptionColumn.Text            = "Client";
     this.descriptionColumn.Width           = 210;
     //
     // clientList
     //
     this.clientList.AllColumns.Add(this.statusColumn);
     this.clientList.AllColumns.Add(this.descriptionColumn);
     this.clientList.CellEditUseWholeCell = false;
     this.clientList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.statusColumn,
         this.descriptionColumn
     });
     this.clientList.Cursor         = System.Windows.Forms.Cursors.Default;
     this.clientList.Dock           = System.Windows.Forms.DockStyle.Left;
     this.clientList.FullRowSelect  = true;
     this.clientList.HeaderStyle    = System.Windows.Forms.ColumnHeaderStyle.None;
     this.clientList.Location       = new System.Drawing.Point(0, 94);
     this.clientList.Name           = "clientList";
     this.clientList.ShowGroups     = false;
     this.clientList.Size           = new System.Drawing.Size(250, 587);
     this.clientList.SmallImageList = this.connectionStateimages;
     this.clientList.TabIndex       = 32;
     this.clientList.UseCompatibleStateImageBehavior = false;
     this.clientList.View = System.Windows.Forms.View.Details;
     this.clientList.SelectedIndexChanged += new System.EventHandler(this.clientList_SelectedIndexChanged);
     //
     // navigatorPanel
     //
     this.navigatorPanel.Controls.Add(this.moveDownButton);
     this.navigatorPanel.Controls.Add(this.moveUpButton);
     this.navigatorPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.navigatorPanel.Location = new System.Drawing.Point(250, 94);
     this.navigatorPanel.Name     = "navigatorPanel";
     this.navigatorPanel.Size     = new System.Drawing.Size(40, 587);
     this.navigatorPanel.TabIndex = 33;
     //
     // moveDownButton
     //
     this.moveDownButton.ImageKey  = "arrow_down";
     this.moveDownButton.ImageList = this.arrowImages;
     this.moveDownButton.Location  = new System.Drawing.Point(0, 170);
     this.moveDownButton.Name      = "moveDownButton";
     this.moveDownButton.Size      = new System.Drawing.Size(40, 40);
     this.moveDownButton.TabIndex  = 1;
     this.moveDownButton.Tag       = "";
     this.moveDownButton.UseVisualStyleBackColor = true;
     this.moveDownButton.Click += new System.EventHandler(this.moveDownButton_Click);
     //
     // arrowImages
     //
     this.arrowImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("arrowImages.ImageStream")));
     this.arrowImages.TransparentColor = System.Drawing.Color.Transparent;
     this.arrowImages.Images.SetKeyName(0, "arrow_down");
     this.arrowImages.Images.SetKeyName(1, "arrow_up");
     //
     // moveUpButton
     //
     this.moveUpButton.ImageKey  = "arrow_up";
     this.moveUpButton.ImageList = this.arrowImages;
     this.moveUpButton.Location  = new System.Drawing.Point(0, 120);
     this.moveUpButton.Name      = "moveUpButton";
     this.moveUpButton.Size      = new System.Drawing.Size(40, 40);
     this.moveUpButton.TabIndex  = 0;
     this.moveUpButton.Tag       = "";
     this.moveUpButton.UseVisualStyleBackColor = true;
     this.moveUpButton.Click += new System.EventHandler(this.moveUpButton_Click);
     //
     // clientView
     //
     this.clientView.Clients  = null;
     this.clientView.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.clientView.Location = new System.Drawing.Point(290, 94);
     this.clientView.Name     = "clientView";
     this.clientView.Size     = new System.Drawing.Size(1060, 587);
     this.clientView.TabIndex = 34;
     //
     // MainView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1350, 681);
     this.Controls.Add(this.clientView);
     this.Controls.Add(this.navigatorPanel);
     this.Controls.Add(this.clientList);
     this.Controls.Add(this._ignore0);
     this.Controls.Add(menuStrip1);
     this.Location         = new System.Drawing.Point(640, 0);
     this.MainMenuStrip    = menuStrip1;
     this.Name             = "MainView";
     this.StartPosition    = System.Windows.Forms.FormStartPosition.Manual;
     this.Text             = "test";
     this.FormClosed      += new System.Windows.Forms.FormClosedEventHandler(this.MainView_FormClosed);
     this.Load            += new System.EventHandler(this.MainView_Load);
     this.LocationChanged += new System.EventHandler(this.MainView_LocationChanged);
     this.SizeChanged     += new System.EventHandler(this.MainView_SizeChanged);
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     this._ignore0.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.clientList)).EndInit();
     this.navigatorPanel.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()
      {
         System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CredentialsManagerForm));
         this.m_PasswordReset = new System.Windows.Forms.Label();
         this.m_RequiresQuestionAndAnswerLabel = new System.Windows.Forms.Label();
         this.m_PasswordRetrieval = new System.Windows.Forms.Label();
         this.m_PasswordRegularExpression = new System.Windows.Forms.Label();
         this.m_MaxInvalidAttempts = new System.Windows.Forms.Label();
         this.m_AttemptWindow = new System.Windows.Forms.Label();
         this.m_MinNonAlphanumeric = new System.Windows.Forms.Label();
         this.m_MinLength = new System.Windows.Forms.Label();
         this.m_LengthTextBox = new System.Windows.Forms.TextBox();
         this.m_NonAlphanumericTextBox = new System.Windows.Forms.TextBox();
         this.m_GeneratePassword = new System.Windows.Forms.Button();
         this.m_RolesForUserComboBox = new ComboBoxEx();
         this.m_UsersToAssignListView = new CredentialsManagerClient.ListViewEx();
         this.m_RemoveUserFromAllRolesButton = new System.Windows.Forms.Button();
         this.m_RemoveUserFromRoleButton = new System.Windows.Forms.Button();
         this.m_AssignButton = new System.Windows.Forms.Button();
         this.m_UsersInRoleComboBox = new ComboBoxEx();
         this.m_RolesListView = new CredentialsManagerClient.ListViewEx();
         this.m_PopulatedLabel = new System.Windows.Forms.Label();
         this.m_ThrowIfPopulatedCheckBox = new System.Windows.Forms.CheckBox();
         this.m_DeleteAllRolesButton = new System.Windows.Forms.Button();
         this.m_CreateRoleButton = new System.Windows.Forms.Button();
         this.m_DeleteRoleButton = new System.Windows.Forms.Button();
         this.m_UsersStatusRefresh = new System.Windows.Forms.Button();
         this.m_OnlineTimeWindow = new System.Windows.Forms.Label();
         this.m_UsersOnline = new System.Windows.Forms.Label();
         this.m_UsersListView = new CredentialsManagerClient.ListViewEx();
         this.m_ChangePasswordButton = new System.Windows.Forms.Button();
         this.m_ResetPasswordButton = new System.Windows.Forms.Button();
         this.m_RelatedDataCheckBox = new System.Windows.Forms.CheckBox();
         this.m_DeleteAllUsersButton = new System.Windows.Forms.Button();
         this.m_UpdateUser = new System.Windows.Forms.Button();
         this.m_DeleteUserButton = new System.Windows.Forms.Button();
         this.m_CreateUserButton = new System.Windows.Forms.Button();
         this.m_ApplicationListView = new CredentialsManagerClient.ListViewEx();
         this.m_DeleteAllApplicationsButton = new System.Windows.Forms.Button();
         this.m_CreateApplicationButton = new System.Windows.Forms.Button();
         this.m_DeleteApplicationButton = new System.Windows.Forms.Button();
         this.m_SelectButton = new System.Windows.Forms.Button();
         this.m_WebBrowser = new System.Windows.Forms.WebBrowser();
         this.m_AddressTextbox = new System.Windows.Forms.TextBox();
         this.m_ViewButton = new System.Windows.Forms.Button();
         this.m_CreateApplicationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteApplicationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteAllApplicationsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_CreateUserMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_UpdateUserMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteUserMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteAllUsersMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_ChangePasswordMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_ResetPasswordMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_RefreshUsersStatusMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_CreateRoleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteRoleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_DeleteAllRolesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_AssignUsertoRoleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_RemoveUserFromRoleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_RemoveUserFromAllRolesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_GeneratePasswordMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_ViewMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_SelectMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_LogOnMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_AuthorizeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.helpContentMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.m_AddressLabel = new System.Windows.Forms.Label();
         this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
         passwordSetupGroupBox = new System.Windows.Forms.GroupBox();
         passwordResetLabel = new System.Windows.Forms.Label();
         passwordRetrievalLabel = new System.Windows.Forms.Label();
         requiresQuestionAndAnswerLabel = new System.Windows.Forms.Label();
         maxInvalidLabel = new System.Windows.Forms.Label();
         passwordRegularExpressionLabel = new System.Windows.Forms.Label();
         minNonAlpha = new System.Windows.Forms.Label();
         attemptWindowLabel = new System.Windows.Forms.Label();
         minLengthLabel = new System.Windows.Forms.Label();
         generatePassorgGroupBox = new System.Windows.Forms.GroupBox();
         nonAlphanumericLabel = new System.Windows.Forms.Label();
         lengthLabel = new System.Windows.Forms.Label();
         usersGroupBox = new System.Windows.Forms.GroupBox();
         userToassignHeader = new System.Windows.Forms.ColumnHeader();
         rolesForUserLabel = new System.Windows.Forms.Label();
         usersToAssignHeader = new System.Windows.Forms.ColumnHeader();
         rolesGroupBox = new System.Windows.Forms.GroupBox();
         rolesHeader = new System.Windows.Forms.ColumnHeader();
         usersInRoleLabel = new System.Windows.Forms.Label();
         usersStatus = new System.Windows.Forms.GroupBox();
         onlineTimeWindowLabel = new System.Windows.Forms.Label();
         onlineUsersLabel = new System.Windows.Forms.Label();
         usersGoupBox = new System.Windows.Forms.GroupBox();
         usersHeader = new System.Windows.Forms.ColumnHeader();
         applicationsGroupBox = new System.Windows.Forms.GroupBox();
         applicationsHeader = new System.Windows.Forms.ColumnHeader();
         columnApplications = new System.Windows.Forms.ColumnHeader();
         addressGroupBox = new System.Windows.Forms.GroupBox();
         mainMenu = new System.Windows.Forms.MenuStrip();
         applicationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         usersMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         usersSeparator1 = new System.Windows.Forms.ToolStripSeparator();
         usersSeparator2 = new System.Windows.Forms.ToolStripSeparator();
         rolesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         rolesSeparator1 = new System.Windows.Forms.ToolStripSeparator();
         passwordsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         serviceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         testMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         helpMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         passwordsPage = new System.Windows.Forms.TabPage();
         rolesPage = new System.Windows.Forms.TabPage();
         usersPage = new System.Windows.Forms.TabPage();
         applicationsTab = new System.Windows.Forms.TabPage();
         applicationPictureBox = new System.Windows.Forms.PictureBox();
         tabControl = new System.Windows.Forms.TabControl();
         servicePage = new System.Windows.Forms.TabPage();
         passwordSetupGroupBox.SuspendLayout();
         generatePassorgGroupBox.SuspendLayout();
         usersGroupBox.SuspendLayout();
         rolesGroupBox.SuspendLayout();
         usersStatus.SuspendLayout();
         usersGoupBox.SuspendLayout();
         applicationsGroupBox.SuspendLayout();
         addressGroupBox.SuspendLayout();
         mainMenu.SuspendLayout();
         passwordsPage.SuspendLayout();
         rolesPage.SuspendLayout();
         usersPage.SuspendLayout();
         applicationsTab.SuspendLayout();
         ((System.ComponentModel.ISupportInitialize)(applicationPictureBox)).BeginInit();
         tabControl.SuspendLayout();
         servicePage.SuspendLayout();
         this.SuspendLayout();
         // 
         // passwordSetupGroupBox
         // 
         passwordSetupGroupBox.Controls.Add(passwordResetLabel);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordReset);
         passwordSetupGroupBox.Controls.Add(this.m_RequiresQuestionAndAnswerLabel);
         passwordSetupGroupBox.Controls.Add(passwordRetrievalLabel);
         passwordSetupGroupBox.Controls.Add(requiresQuestionAndAnswerLabel);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordRetrieval);
         passwordSetupGroupBox.Controls.Add(this.m_PasswordRegularExpression);
         passwordSetupGroupBox.Controls.Add(maxInvalidLabel);
         passwordSetupGroupBox.Controls.Add(passwordRegularExpressionLabel);
         passwordSetupGroupBox.Controls.Add(this.m_MaxInvalidAttempts);
         passwordSetupGroupBox.Controls.Add(this.m_AttemptWindow);
         passwordSetupGroupBox.Controls.Add(minNonAlpha);
         passwordSetupGroupBox.Controls.Add(attemptWindowLabel);
         passwordSetupGroupBox.Controls.Add(this.m_MinNonAlphanumeric);
         passwordSetupGroupBox.Controls.Add(this.m_MinLength);
         passwordSetupGroupBox.Controls.Add(minLengthLabel);
         passwordSetupGroupBox.Location = new System.Drawing.Point(6,11);
         passwordSetupGroupBox.Name = "passwordSetupGroupBox";
         passwordSetupGroupBox.Size = new System.Drawing.Size(258,368);
         passwordSetupGroupBox.TabIndex = 18;
         passwordSetupGroupBox.TabStop = false;
         passwordSetupGroupBox.Text = "Setup";
         // 
         // passwordResetLabel
         // 
         passwordResetLabel.AutoSize = true;
         passwordResetLabel.Location = new System.Drawing.Point(19,21);
         passwordResetLabel.Name = "passwordResetLabel";
         passwordResetLabel.Size = new System.Drawing.Size(119,13);
         passwordResetLabel.TabIndex = 0;
         passwordResetLabel.Text = "Password reset enabled:";
         // 
         // m_PasswordReset
         // 
         this.m_PasswordReset.AutoSize = true;
         this.m_PasswordReset.Location = new System.Drawing.Point(188,21);
         this.m_PasswordReset.Name = "m_PasswordReset";
         this.m_PasswordReset.Size = new System.Drawing.Size(21,13);
         this.m_PasswordReset.TabIndex = 1;
         this.m_PasswordReset.Text = "Yes";
         // 
         // m_RequiresQuestionAndAnswerLabel
         // 
         this.m_RequiresQuestionAndAnswerLabel.AutoSize = true;
         this.m_RequiresQuestionAndAnswerLabel.Location = new System.Drawing.Point(188,269);
         this.m_RequiresQuestionAndAnswerLabel.Name = "m_RequiresQuestionAndAnswerLabel";
         this.m_RequiresQuestionAndAnswerLabel.Size = new System.Drawing.Size(21,13);
         this.m_RequiresQuestionAndAnswerLabel.TabIndex = 15;
         this.m_RequiresQuestionAndAnswerLabel.Text = "Yes";
         // 
         // passwordRetrievalLabel
         // 
         passwordRetrievalLabel.AutoSize = true;
         passwordRetrievalLabel.Location = new System.Drawing.Point(19,54);
         passwordRetrievalLabel.Name = "passwordRetrievalLabel";
         passwordRetrievalLabel.Size = new System.Drawing.Size(133,13);
         passwordRetrievalLabel.TabIndex = 2;
         passwordRetrievalLabel.Text = "Password retrieval enabled:";
         // 
         // requiresQuestionAndAnswerLabel
         // 
         requiresQuestionAndAnswerLabel.AutoSize = true;
         requiresQuestionAndAnswerLabel.Location = new System.Drawing.Point(19,269);
         requiresQuestionAndAnswerLabel.Name = "requiresQuestionAndAnswerLabel";
         requiresQuestionAndAnswerLabel.Size = new System.Drawing.Size(149,13);
         requiresQuestionAndAnswerLabel.TabIndex = 14;
         requiresQuestionAndAnswerLabel.Text = "Requires question and answer:";
         // 
         // m_PasswordRetrieval
         // 
         this.m_PasswordRetrieval.AutoSize = true;
         this.m_PasswordRetrieval.Location = new System.Drawing.Point(188,54);
         this.m_PasswordRetrieval.Name = "m_PasswordRetrieval";
         this.m_PasswordRetrieval.Size = new System.Drawing.Size(21,13);
         this.m_PasswordRetrieval.TabIndex = 3;
         this.m_PasswordRetrieval.Text = "Yes";
         // 
         // m_PasswordRegularExpression
         // 
         this.m_PasswordRegularExpression.AutoSize = true;
         this.m_PasswordRegularExpression.Location = new System.Drawing.Point(188,232);
         this.m_PasswordRegularExpression.Name = "m_PasswordRegularExpression";
         this.m_PasswordRegularExpression.Size = new System.Drawing.Size(7,13);
         this.m_PasswordRegularExpression.TabIndex = 13;
         this.m_PasswordRegularExpression.Text = "*";
         // 
         // maxInvalidLabel
         // 
         maxInvalidLabel.AutoSize = true;
         maxInvalidLabel.Location = new System.Drawing.Point(19,89);
         maxInvalidLabel.Name = "maxInvalidLabel";
         maxInvalidLabel.Size = new System.Drawing.Size(136,13);
         maxInvalidLabel.TabIndex = 4;
         maxInvalidLabel.Text = "Max invalid attempt allowed:";
         // 
         // passwordRegularExpressionLabel
         // 
         passwordRegularExpressionLabel.AutoSize = true;
         passwordRegularExpressionLabel.Location = new System.Drawing.Point(19,232);
         passwordRegularExpressionLabel.Name = "passwordRegularExpressionLabel";
         passwordRegularExpressionLabel.Size = new System.Drawing.Size(140,13);
         passwordRegularExpressionLabel.TabIndex = 12;
         passwordRegularExpressionLabel.Text = "Password regular expression:";
         // 
         // m_MaxInvalidAttempts
         // 
         this.m_MaxInvalidAttempts.AutoSize = true;
         this.m_MaxInvalidAttempts.Location = new System.Drawing.Point(188,89);
         this.m_MaxInvalidAttempts.Name = "m_MaxInvalidAttempts";
         this.m_MaxInvalidAttempts.Size = new System.Drawing.Size(9,13);
         this.m_MaxInvalidAttempts.TabIndex = 5;
         this.m_MaxInvalidAttempts.Text = "0";
         // 
         // m_AttemptWindow
         // 
         this.m_AttemptWindow.AutoSize = true;
         this.m_AttemptWindow.Location = new System.Drawing.Point(188,197);
         this.m_AttemptWindow.Name = "m_AttemptWindow";
         this.m_AttemptWindow.Size = new System.Drawing.Size(9,13);
         this.m_AttemptWindow.TabIndex = 11;
         this.m_AttemptWindow.Text = "0";
         // 
         // minNonAlpha
         // 
         minNonAlpha.AutoSize = true;
         minNonAlpha.Location = new System.Drawing.Point(19,125);
         minNonAlpha.Name = "minNonAlpha";
         minNonAlpha.Size = new System.Drawing.Size(163,13);
         minNonAlpha.TabIndex = 6;
         minNonAlpha.Text = "Min non-alphanumeric characters:";
         // 
         // attemptWindowLabel
         // 
         attemptWindowLabel.AutoSize = true;
         attemptWindowLabel.Location = new System.Drawing.Point(19,197);
         attemptWindowLabel.Name = "attemptWindowLabel";
         attemptWindowLabel.Size = new System.Drawing.Size(81,13);
         attemptWindowLabel.TabIndex = 10;
         attemptWindowLabel.Text = "Attempt window:";
         // 
         // m_MinNonAlphanumeric
         // 
         this.m_MinNonAlphanumeric.AutoSize = true;
         this.m_MinNonAlphanumeric.Location = new System.Drawing.Point(188,125);
         this.m_MinNonAlphanumeric.Name = "m_MinNonAlphanumeric";
         this.m_MinNonAlphanumeric.Size = new System.Drawing.Size(9,13);
         this.m_MinNonAlphanumeric.TabIndex = 7;
         this.m_MinNonAlphanumeric.Text = "0";
         // 
         // m_MinLength
         // 
         this.m_MinLength.AutoSize = true;
         this.m_MinLength.Location = new System.Drawing.Point(188,161);
         this.m_MinLength.Name = "m_MinLength";
         this.m_MinLength.Size = new System.Drawing.Size(9,13);
         this.m_MinLength.TabIndex = 9;
         this.m_MinLength.Text = "0";
         // 
         // minLengthLabel
         // 
         minLengthLabel.AutoSize = true;
         minLengthLabel.Location = new System.Drawing.Point(19,161);
         minLengthLabel.Name = "minLengthLabel";
         minLengthLabel.Size = new System.Drawing.Size(96,13);
         minLengthLabel.TabIndex = 8;
         minLengthLabel.Text = "Min required length:";
         // 
         // generatePassorgGroupBox
         // 
         generatePassorgGroupBox.Controls.Add(nonAlphanumericLabel);
         generatePassorgGroupBox.Controls.Add(lengthLabel);
         generatePassorgGroupBox.Controls.Add(this.m_LengthTextBox);
         generatePassorgGroupBox.Controls.Add(this.m_NonAlphanumericTextBox);
         generatePassorgGroupBox.Controls.Add(this.m_GeneratePassword);
         generatePassorgGroupBox.Location = new System.Drawing.Point(270,11);
         generatePassorgGroupBox.Name = "generatePassorgGroupBox";
         generatePassorgGroupBox.Size = new System.Drawing.Size(258,368);
         generatePassorgGroupBox.TabIndex = 17;
         generatePassorgGroupBox.TabStop = false;
         generatePassorgGroupBox.Text = "Generate Password";
         // 
         // nonAlphanumericLabel
         // 
         nonAlphanumericLabel.AutoSize = true;
         nonAlphanumericLabel.Location = new System.Drawing.Point(14,65);
         nonAlphanumericLabel.Name = "nonAlphanumericLabel";
         nonAlphanumericLabel.Size = new System.Drawing.Size(92,13);
         nonAlphanumericLabel.TabIndex = 20;
         nonAlphanumericLabel.Text = "Non-alphanumeric:";
         // 
         // lengthLabel
         // 
         lengthLabel.AutoSize = true;
         lengthLabel.Location = new System.Drawing.Point(15,19);
         lengthLabel.Name = "lengthLabel";
         lengthLabel.Size = new System.Drawing.Size(39,13);
         lengthLabel.TabIndex = 19;
         lengthLabel.Text = "Length:";
         // 
         // m_LengthTextBox
         // 
         this.m_LengthTextBox.Location = new System.Drawing.Point(15,34);
         this.m_LengthTextBox.Name = "m_LengthTextBox";
         this.m_LengthTextBox.Size = new System.Drawing.Size(100,20);
         this.m_LengthTextBox.TabIndex = 18;
         this.m_LengthTextBox.Text = "6";
         // 
         // m_NonAlphanumericTextBox
         // 
         this.m_NonAlphanumericTextBox.Location = new System.Drawing.Point(15,81);
         this.m_NonAlphanumericTextBox.Name = "m_NonAlphanumericTextBox";
         this.m_NonAlphanumericTextBox.Size = new System.Drawing.Size(100,20);
         this.m_NonAlphanumericTextBox.TabIndex = 17;
         this.m_NonAlphanumericTextBox.Text = "1";
         // 
         // m_GeneratePassword
         // 
         this.m_GeneratePassword.Location = new System.Drawing.Point(177,34);
         this.m_GeneratePassword.Name = "m_GeneratePassword";
         this.m_GeneratePassword.Size = new System.Drawing.Size(75,23);
         this.m_GeneratePassword.TabIndex = 16;
         this.m_GeneratePassword.Text = "Generate";
         this.m_GeneratePassword.Click += new System.EventHandler(this.OnGeneratePassword);
         // 
         // usersGroupBox
         // 
         usersGroupBox.Controls.Add(this.m_RolesForUserComboBox);
         usersGroupBox.Controls.Add(this.m_UsersToAssignListView);
         usersGroupBox.Controls.Add(this.m_RemoveUserFromAllRolesButton);
         usersGroupBox.Controls.Add(rolesForUserLabel);
         usersGroupBox.Controls.Add(this.m_RemoveUserFromRoleButton);
         usersGroupBox.Controls.Add(this.m_AssignButton);
         usersGroupBox.Location = new System.Drawing.Point(6,11);
         usersGroupBox.Name = "usersGroupBox";
         usersGroupBox.Size = new System.Drawing.Size(258,368);
         usersGroupBox.TabIndex = 1;
         usersGroupBox.TabStop = false;
         usersGroupBox.Text = "Users";
         // 
         // m_RolesForUserComboBox
         // 
         this.m_RolesForUserComboBox.FormattingEnabled = true;
         this.m_RolesForUserComboBox.ImageList = null;
         this.m_RolesForUserComboBox.Location = new System.Drawing.Point(6,341);
         this.m_RolesForUserComboBox.Name = "m_RolesForUserComboBox";
         this.m_RolesForUserComboBox.Size = new System.Drawing.Size(165,21);
         this.m_RolesForUserComboBox.TabIndex = 4;
         // 
         // m_UsersToAssignListView
         // 
         this.m_UsersToAssignListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            userToassignHeader});
         this.m_UsersToAssignListView.FullRowSelect = true;
         this.m_UsersToAssignListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_UsersToAssignListView.HideSelection = false;
         this.m_UsersToAssignListView.Location = new System.Drawing.Point(7,19);
         this.m_UsersToAssignListView.MultiSelect = false;
         this.m_UsersToAssignListView.Name = "m_UsersToAssignListView";
         this.m_UsersToAssignListView.ShowGroups = false;
         this.m_UsersToAssignListView.Size = new System.Drawing.Size(165,290);
         this.m_UsersToAssignListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_UsersToAssignListView.TabIndex = 2;
         this.m_UsersToAssignListView.View = System.Windows.Forms.View.SmallIcon;
         this.m_UsersToAssignListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.OnSelectedUserAssignChanged);
         // 
         // userToassignHeader
         // 
         userToassignHeader.Width = 300;
         // 
         // m_RemoveUserFromAllRolesButton
         // 
         this.m_RemoveUserFromAllRolesButton.Location = new System.Drawing.Point(177,77);
         this.m_RemoveUserFromAllRolesButton.Name = "m_RemoveUserFromAllRolesButton";
         this.m_RemoveUserFromAllRolesButton.Size = new System.Drawing.Size(75,23);
         this.m_RemoveUserFromAllRolesButton.TabIndex = 2;
         this.m_RemoveUserFromAllRolesButton.Text = "Remove All";
         this.m_RemoveUserFromAllRolesButton.Click += new System.EventHandler(this.OnRemoveUsersFromAllRoles);
         // 
         // rolesForUserLabel
         // 
         rolesForUserLabel.AutoSize = true;
         rolesForUserLabel.Location = new System.Drawing.Point(6,325);
         rolesForUserLabel.Name = "rolesForUserLabel";
         rolesForUserLabel.Size = new System.Drawing.Size(73,13);
         rolesForUserLabel.TabIndex = 5;
         rolesForUserLabel.Text = "Roles for User:"******"m_RemoveUserFromRoleButton";
         this.m_RemoveUserFromRoleButton.Size = new System.Drawing.Size(75,23);
         this.m_RemoveUserFromRoleButton.TabIndex = 3;
         this.m_RemoveUserFromRoleButton.Text = "Remove";
         this.m_RemoveUserFromRoleButton.Click += new System.EventHandler(this.OnRemoveUserFromRole);
         // 
         // m_AssignButton
         // 
         this.m_AssignButton.Location = new System.Drawing.Point(177,19);
         this.m_AssignButton.Name = "m_AssignButton";
         this.m_AssignButton.Size = new System.Drawing.Size(75,23);
         this.m_AssignButton.TabIndex = 1;
         this.m_AssignButton.Text = "Assign";
         this.m_AssignButton.Click += new System.EventHandler(this.OnAssignUserToRole);
         // 
         // usersToAssignHeader
         // 
         usersToAssignHeader.Text = "";
         usersToAssignHeader.Width = 186;
         // 
         // rolesGroupBox
         // 
         rolesGroupBox.Controls.Add(this.m_UsersInRoleComboBox);
         rolesGroupBox.Controls.Add(this.m_RolesListView);
         rolesGroupBox.Controls.Add(this.m_PopulatedLabel);
         rolesGroupBox.Controls.Add(this.m_ThrowIfPopulatedCheckBox);
         rolesGroupBox.Controls.Add(this.m_DeleteAllRolesButton);
         rolesGroupBox.Controls.Add(usersInRoleLabel);
         rolesGroupBox.Controls.Add(this.m_CreateRoleButton);
         rolesGroupBox.Controls.Add(this.m_DeleteRoleButton);
         rolesGroupBox.Location = new System.Drawing.Point(270,11);
         rolesGroupBox.Name = "rolesGroupBox";
         rolesGroupBox.Size = new System.Drawing.Size(258,368);
         rolesGroupBox.TabIndex = 0;
         rolesGroupBox.TabStop = false;
         rolesGroupBox.Text = "Roles";
         // 
         // m_UsersInRoleComboBox
         // 
         this.m_UsersInRoleComboBox.FormattingEnabled = true;
         this.m_UsersInRoleComboBox.ImageList = null;
         this.m_UsersInRoleComboBox.Location = new System.Drawing.Point(6,341);
         this.m_UsersInRoleComboBox.Name = "m_UsersInRoleComboBox";
         this.m_UsersInRoleComboBox.Size = new System.Drawing.Size(165,21);
         this.m_UsersInRoleComboBox.TabIndex = 5;
         // 
         // m_RolesListView
         // 
         this.m_RolesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            rolesHeader});
         this.m_RolesListView.FullRowSelect = true;
         this.m_RolesListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_RolesListView.HideSelection = false;
         this.m_RolesListView.Location = new System.Drawing.Point(6,19);
         this.m_RolesListView.MultiSelect = false;
         this.m_RolesListView.Name = "m_RolesListView";
         this.m_RolesListView.ShowGroups = false;
         this.m_RolesListView.Size = new System.Drawing.Size(165,290);
         this.m_RolesListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_RolesListView.TabIndex = 6;
         this.m_RolesListView.View = System.Windows.Forms.View.SmallIcon;
         this.m_RolesListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.OnSelectedRoleChanged);
         // 
         // rolesHeader
         // 
         rolesHeader.Width = 300;
         // 
         // m_PopulatedLabel
         // 
         this.m_PopulatedLabel.AutoSize = true;
         this.m_PopulatedLabel.Location = new System.Drawing.Point(197,97);
         this.m_PopulatedLabel.Name = "m_PopulatedLabel";
         this.m_PopulatedLabel.Size = new System.Drawing.Size(51,13);
         this.m_PopulatedLabel.TabIndex = 7;
         this.m_PopulatedLabel.Text = "Populated";
         // 
         // m_ThrowIfPopulatedCheckBox
         // 
         this.m_ThrowIfPopulatedCheckBox.AutoSize = true;
         this.m_ThrowIfPopulatedCheckBox.Location = new System.Drawing.Point(177,77);
         this.m_ThrowIfPopulatedCheckBox.Name = "m_ThrowIfPopulatedCheckBox";
         this.m_ThrowIfPopulatedCheckBox.Size = new System.Drawing.Size(46,17);
         this.m_ThrowIfPopulatedCheckBox.TabIndex = 2;
         this.m_ThrowIfPopulatedCheckBox.Text = "Fail if";
         // 
         // m_DeleteAllRolesButton
         // 
         this.m_DeleteAllRolesButton.Location = new System.Drawing.Point(177,286);
         this.m_DeleteAllRolesButton.Name = "m_DeleteAllRolesButton";
         this.m_DeleteAllRolesButton.Size = new System.Drawing.Size(75,23);
         this.m_DeleteAllRolesButton.TabIndex = 6;
         this.m_DeleteAllRolesButton.Text = "Delete All";
         this.m_DeleteAllRolesButton.Click += new System.EventHandler(this.OnDeleteAllRoles);
         // 
         // usersInRoleLabel
         // 
         usersInRoleLabel.AutoSize = true;
         usersInRoleLabel.Location = new System.Drawing.Point(6,325);
         usersInRoleLabel.Name = "usersInRoleLabel";
         usersInRoleLabel.Size = new System.Drawing.Size(69,13);
         usersInRoleLabel.TabIndex = 4;
         usersInRoleLabel.Text = "Users in Role:";
         // 
         // m_CreateRoleButton
         // 
         this.m_CreateRoleButton.Location = new System.Drawing.Point(177,19);
         this.m_CreateRoleButton.Name = "m_CreateRoleButton";
         this.m_CreateRoleButton.Size = new System.Drawing.Size(75,23);
         this.m_CreateRoleButton.TabIndex = 2;
         this.m_CreateRoleButton.Text = "Create";
         this.m_CreateRoleButton.Click += new System.EventHandler(this.OnCreateRole);
         // 
         // m_DeleteRoleButton
         // 
         this.m_DeleteRoleButton.Location = new System.Drawing.Point(177,48);
         this.m_DeleteRoleButton.Name = "m_DeleteRoleButton";
         this.m_DeleteRoleButton.Size = new System.Drawing.Size(75,23);
         this.m_DeleteRoleButton.TabIndex = 1;
         this.m_DeleteRoleButton.Text = "Delete";
         this.m_DeleteRoleButton.Click += new System.EventHandler(this.OnDeleteRole);
         // 
         // usersStatus
         // 
         usersStatus.Controls.Add(this.m_UsersStatusRefresh);
         usersStatus.Controls.Add(this.m_OnlineTimeWindow);
         usersStatus.Controls.Add(onlineTimeWindowLabel);
         usersStatus.Controls.Add(this.m_UsersOnline);
         usersStatus.Controls.Add(onlineUsersLabel);
         usersStatus.Location = new System.Drawing.Point(298,11);
         usersStatus.Name = "usersStatus";
         usersStatus.Size = new System.Drawing.Size(230,368);
         usersStatus.TabIndex = 8;
         usersStatus.TabStop = false;
         usersStatus.Text = "Users Status";
         // 
         // m_UsersStatusRefresh
         // 
         this.m_UsersStatusRefresh.Location = new System.Drawing.Point(139,135);
         this.m_UsersStatusRefresh.Name = "m_UsersStatusRefresh";
         this.m_UsersStatusRefresh.Size = new System.Drawing.Size(75,23);
         this.m_UsersStatusRefresh.TabIndex = 13;
         this.m_UsersStatusRefresh.Text = "Refresh";
         this.m_UsersStatusRefresh.Click += new System.EventHandler(this.OnUserStatusRefresh);
         // 
         // m_OnlineTimeWindow
         // 
         this.m_OnlineTimeWindow.AutoSize = true;
         this.m_OnlineTimeWindow.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
         this.m_OnlineTimeWindow.Location = new System.Drawing.Point(138,62);
         this.m_OnlineTimeWindow.Name = "m_OnlineTimeWindow";
         this.m_OnlineTimeWindow.Size = new System.Drawing.Size(9,13);
         this.m_OnlineTimeWindow.TabIndex = 12;
         this.m_OnlineTimeWindow.Text = "0";
         // 
         // onlineTimeWindowLabel
         // 
         onlineTimeWindowLabel.AutoSize = true;
         onlineTimeWindowLabel.Location = new System.Drawing.Point(12,62);
         onlineTimeWindowLabel.Name = "onlineTimeWindowLabel";
         onlineTimeWindowLabel.Size = new System.Drawing.Size(97,13);
         onlineTimeWindowLabel.TabIndex = 11;
         onlineTimeWindowLabel.Text = "Online time window:";
         // 
         // m_UsersOnline
         // 
         this.m_UsersOnline.AutoSize = true;
         this.m_UsersOnline.Location = new System.Drawing.Point(138,33);
         this.m_UsersOnline.Name = "m_UsersOnline";
         this.m_UsersOnline.Size = new System.Drawing.Size(9,13);
         this.m_UsersOnline.TabIndex = 10;
         this.m_UsersOnline.Text = "0";
         this.m_UsersOnline.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
         // 
         // onlineUsersLabel
         // 
         onlineUsersLabel.AutoSize = true;
         onlineUsersLabel.Location = new System.Drawing.Point(12,33);
         onlineUsersLabel.Name = "onlineUsersLabel";
         onlineUsersLabel.Size = new System.Drawing.Size(114,13);
         onlineUsersLabel.TabIndex = 9;
         onlineUsersLabel.Text = "Number of users online:";
         // 
         // usersGoupBox
         // 
         usersGoupBox.Controls.Add(this.m_UsersListView);
         usersGoupBox.Controls.Add(this.m_ChangePasswordButton);
         usersGoupBox.Controls.Add(this.m_ResetPasswordButton);
         usersGoupBox.Controls.Add(this.m_RelatedDataCheckBox);
         usersGoupBox.Controls.Add(this.m_DeleteAllUsersButton);
         usersGoupBox.Controls.Add(this.m_UpdateUser);
         usersGoupBox.Controls.Add(this.m_DeleteUserButton);
         usersGoupBox.Controls.Add(this.m_CreateUserButton);
         usersGoupBox.Location = new System.Drawing.Point(6,11);
         usersGoupBox.Name = "usersGoupBox";
         usersGoupBox.Size = new System.Drawing.Size(286,368);
         usersGoupBox.TabIndex = 4;
         usersGoupBox.TabStop = false;
         usersGoupBox.Text = "Users";
         // 
         // m_UsersListView
         // 
         this.m_UsersListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            usersHeader});
         this.m_UsersListView.FullRowSelect = true;
         this.m_UsersListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_UsersListView.HideSelection = false;
         this.m_UsersListView.Location = new System.Drawing.Point(6,19);
         this.m_UsersListView.MultiSelect = false;
         this.m_UsersListView.Name = "m_UsersListView";
         this.m_UsersListView.ShowGroups = false;
         this.m_UsersListView.Size = new System.Drawing.Size(165,342);
         this.m_UsersListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_UsersListView.TabIndex = 10;
         this.m_UsersListView.View = System.Windows.Forms.View.SmallIcon;
         // 
         // usersHeader
         // 
         usersHeader.Width = 300;
         // 
         // m_ChangePasswordButton
         // 
         this.m_ChangePasswordButton.Location = new System.Drawing.Point(177,77);
         this.m_ChangePasswordButton.Name = "m_ChangePasswordButton";
         this.m_ChangePasswordButton.Size = new System.Drawing.Size(103,23);
         this.m_ChangePasswordButton.TabIndex = 12;
         this.m_ChangePasswordButton.Text = "Change Password";
         this.m_ChangePasswordButton.Click += new System.EventHandler(this.OnChangePassword);
         // 
         // m_ResetPasswordButton
         // 
         this.m_ResetPasswordButton.Location = new System.Drawing.Point(177,106);
         this.m_ResetPasswordButton.Name = "m_ResetPasswordButton";
         this.m_ResetPasswordButton.Size = new System.Drawing.Size(103,23);
         this.m_ResetPasswordButton.TabIndex = 11;
         this.m_ResetPasswordButton.Text = "Reset Password";
         this.m_ResetPasswordButton.Click += new System.EventHandler(this.OnResetPassword);
         // 
         // m_RelatedDataCheckBox
         // 
         this.m_RelatedDataCheckBox.AutoSize = true;
         this.m_RelatedDataCheckBox.Checked = true;
         this.m_RelatedDataCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
         this.m_RelatedDataCheckBox.Location = new System.Drawing.Point(177,164);
         this.m_RelatedDataCheckBox.Name = "m_RelatedDataCheckBox";
         this.m_RelatedDataCheckBox.Size = new System.Drawing.Size(59,17);
         this.m_RelatedDataCheckBox.TabIndex = 9;
         this.m_RelatedDataCheckBox.Text = "All Data";
         // 
         // m_DeleteAllUsersButton
         // 
         this.m_DeleteAllUsersButton.Location = new System.Drawing.Point(177,338);
         this.m_DeleteAllUsersButton.Name = "m_DeleteAllUsersButton";
         this.m_DeleteAllUsersButton.Size = new System.Drawing.Size(103,23);
         this.m_DeleteAllUsersButton.TabIndex = 8;
         this.m_DeleteAllUsersButton.Text = "Delete All";
         this.m_DeleteAllUsersButton.Click += new System.EventHandler(this.OnDeleteAllUsers);
         // 
         // m_UpdateUser
         // 
         this.m_UpdateUser.Location = new System.Drawing.Point(177,48);
         this.m_UpdateUser.Name = "m_UpdateUser";
         this.m_UpdateUser.Size = new System.Drawing.Size(103,23);
         this.m_UpdateUser.TabIndex = 7;
         this.m_UpdateUser.Text = "Update";
         this.m_UpdateUser.Click += new System.EventHandler(this.OnUpdateUser);
         // 
         // m_DeleteUserButton
         // 
         this.m_DeleteUserButton.Location = new System.Drawing.Point(177,135);
         this.m_DeleteUserButton.Name = "m_DeleteUserButton";
         this.m_DeleteUserButton.Size = new System.Drawing.Size(103,23);
         this.m_DeleteUserButton.TabIndex = 4;
         this.m_DeleteUserButton.Text = "Delete";
         this.m_DeleteUserButton.Click += new System.EventHandler(this.OnDeleteUser);
         // 
         // m_CreateUserButton
         // 
         this.m_CreateUserButton.Location = new System.Drawing.Point(177,19);
         this.m_CreateUserButton.Name = "m_CreateUserButton";
         this.m_CreateUserButton.Size = new System.Drawing.Size(103,23);
         this.m_CreateUserButton.TabIndex = 4;
         this.m_CreateUserButton.Text = "Create...";
         this.m_CreateUserButton.Click += new System.EventHandler(this.OnCreateUser);
         // 
         // applicationsGroupBox
         // 
         applicationsGroupBox.Controls.Add(this.m_ApplicationListView);
         applicationsGroupBox.Controls.Add(this.m_DeleteAllApplicationsButton);
         applicationsGroupBox.Controls.Add(this.m_CreateApplicationButton);
         applicationsGroupBox.Controls.Add(this.m_DeleteApplicationButton);
         applicationsGroupBox.Location = new System.Drawing.Point(6,11);
         applicationsGroupBox.Name = "applicationsGroupBox";
         applicationsGroupBox.Size = new System.Drawing.Size(258,368);
         applicationsGroupBox.TabIndex = 11;
         applicationsGroupBox.TabStop = false;
         applicationsGroupBox.Text = "Applications";
         // 
         // m_ApplicationListView
         // 
         this.m_ApplicationListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            applicationsHeader});
         this.m_ApplicationListView.FullRowSelect = true;
         this.m_ApplicationListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
         this.m_ApplicationListView.HideSelection = false;
         this.m_ApplicationListView.Location = new System.Drawing.Point(6,19);
         this.m_ApplicationListView.MultiSelect = false;
         this.m_ApplicationListView.Name = "m_ApplicationListView";
         this.m_ApplicationListView.ShowGroups = false;
         this.m_ApplicationListView.Size = new System.Drawing.Size(165,342);
         this.m_ApplicationListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
         this.m_ApplicationListView.TabIndex = 12;
         this.m_ApplicationListView.View = System.Windows.Forms.View.SmallIcon;
         this.m_ApplicationListView.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.OnSelectedApplicationChanged);
         // 
         // applicationsHeader
         // 
         applicationsHeader.Width = 390;
         // 
         // m_DeleteAllApplicationsButton
         // 
         this.m_DeleteAllApplicationsButton.Location = new System.Drawing.Point(177,338);
         this.m_DeleteAllApplicationsButton.Name = "m_DeleteAllApplicationsButton";
         this.m_DeleteAllApplicationsButton.Size = new System.Drawing.Size(75,23);
         this.m_DeleteAllApplicationsButton.TabIndex = 11;
         this.m_DeleteAllApplicationsButton.Text = "Delete All";
         this.m_DeleteAllApplicationsButton.Click += new System.EventHandler(this.OnDeleteAllApplications);
         // 
         // m_CreateApplicationButton
         // 
         this.m_CreateApplicationButton.Location = new System.Drawing.Point(177,19);
         this.m_CreateApplicationButton.Name = "m_CreateApplicationButton";
         this.m_CreateApplicationButton.Size = new System.Drawing.Size(75,23);
         this.m_CreateApplicationButton.TabIndex = 4;
         this.m_CreateApplicationButton.Text = "Create";
         this.m_CreateApplicationButton.Click += new System.EventHandler(this.OnCreateApplication);
         // 
         // m_DeleteApplicationButton
         // 
         this.m_DeleteApplicationButton.Location = new System.Drawing.Point(177,48);
         this.m_DeleteApplicationButton.Name = "m_DeleteApplicationButton";
         this.m_DeleteApplicationButton.Size = new System.Drawing.Size(75,23);
         this.m_DeleteApplicationButton.TabIndex = 7;
         this.m_DeleteApplicationButton.Text = "Delete";
         this.m_DeleteApplicationButton.Click += new System.EventHandler(this.OnDeleteApplication);
         // 
         // columnApplications
         // 
         columnApplications.Text = "Select Application:";
         columnApplications.Width = 186;
         // 
         // addressGroupBox
         // 
         addressGroupBox.Controls.Add(this.m_SelectButton);
         addressGroupBox.Controls.Add(this.m_WebBrowser);
         addressGroupBox.Controls.Add(this.m_AddressTextbox);
         addressGroupBox.Controls.Add(this.m_ViewButton);
         addressGroupBox.Location = new System.Drawing.Point(6,11);
         addressGroupBox.Name = "addressGroupBox";
         addressGroupBox.Size = new System.Drawing.Size(549,368);
         addressGroupBox.TabIndex = 5;
         addressGroupBox.TabStop = false;
         addressGroupBox.Text = "Credentials Web Service Address:";
         // 
         // m_SelectButton
         // 
         this.m_SelectButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
         this.m_SelectButton.Location = new System.Drawing.Point(450,17);
         this.m_SelectButton.Name = "m_SelectButton";
         this.m_SelectButton.Size = new System.Drawing.Size(75,23);
         this.m_SelectButton.TabIndex = 5;
         this.m_SelectButton.Text = "Select";
         this.m_SelectButton.Click += new System.EventHandler(this.OnSelectService);
         // 
         // m_WebBrowser
         // 
         this.m_WebBrowser.Location = new System.Drawing.Point(6,45);
         this.m_WebBrowser.Name = "m_WebBrowser";
         this.m_WebBrowser.Size = new System.Drawing.Size(519,317);
         this.m_WebBrowser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.OnDownloadCompleted);
         // 
         // m_AddressTextbox
         // 
         this.m_AddressTextbox.Location = new System.Drawing.Point(6,19);
         this.m_AddressTextbox.Name = "m_AddressTextbox";
         this.m_AddressTextbox.Size = new System.Drawing.Size(357,20);
         this.m_AddressTextbox.TabIndex = 3;
         this.m_AddressTextbox.Text = "http://localhost/CredentialsService/AspNetSqlProviderService.asmx";
         // 
         // m_ViewButton
         // 
         this.m_ViewButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
         this.m_ViewButton.Location = new System.Drawing.Point(369,17);
         this.m_ViewButton.Name = "m_ViewButton";
         this.m_ViewButton.Size = new System.Drawing.Size(75,23);
         this.m_ViewButton.TabIndex = 4;
         this.m_ViewButton.Text = "View";
         this.m_ViewButton.Click += new System.EventHandler(this.OnViewService);
         // 
         // mainMenu
         // 
         mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            applicationMenuItem,
            usersMenuItem,
            rolesMenuItem,
            passwordsMenuItem,
            serviceMenuItem,
            testMenuItem,
            helpMenuItem});
         mainMenu.Location = new System.Drawing.Point(0,0);
         mainMenu.Name = "mainMenu";
         mainMenu.Size = new System.Drawing.Size(542,24);
         mainMenu.TabIndex = 1;
         mainMenu.Text = "m_MainMenu";
         // 
         // applicationMenuItem
         // 
         applicationMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_CreateApplicationMenuItem,
            this.m_DeleteApplicationMenuItem,
            this.m_DeleteAllApplicationsMenuItem});
         applicationMenuItem.Name = "applicationMenuItem";
         applicationMenuItem.Text = "Application";
         // 
         // m_CreateApplicationMenuItem
         // 
         this.m_CreateApplicationMenuItem.Image = CredentialsManagerClient.Properties.Resources.CreateIApplication;
         this.m_CreateApplicationMenuItem.Name = "m_CreateApplicationMenuItem";
         this.m_CreateApplicationMenuItem.Text = "Create";
         this.m_CreateApplicationMenuItem.Click += new System.EventHandler(this.OnCreateApplication);
         // 
         // m_DeleteApplicationMenuItem
         // 
         this.m_DeleteApplicationMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteApplication;
         this.m_DeleteApplicationMenuItem.Name = "m_DeleteApplicationMenuItem";
         this.m_DeleteApplicationMenuItem.Text = "Delete";
         this.m_DeleteApplicationMenuItem.Click += new System.EventHandler(this.OnDeleteApplication);
         // 
         // m_DeleteAllApplicationsMenuItem
         // 
         this.m_DeleteAllApplicationsMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteAllApplications;
         this.m_DeleteAllApplicationsMenuItem.Name = "m_DeleteAllApplicationsMenuItem";
         this.m_DeleteAllApplicationsMenuItem.Text = "Delete All";
         this.m_DeleteAllApplicationsMenuItem.Click += new System.EventHandler(this.OnDeleteAllApplications);
         // 
         // usersMenuItem
         // 
         usersMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_CreateUserMenuItem,
            this.m_UpdateUserMenuItem,
            this.m_DeleteUserMenuItem,
            this.m_DeleteAllUsersMenuItem,
            usersSeparator1,
            this.m_ChangePasswordMenuItem,
            this.m_ResetPasswordMenuItem,
            usersSeparator2,
            this.m_RefreshUsersStatusMenuItem});
         usersMenuItem.Name = "usersMenuItem";
         usersMenuItem.Text = "Users";
         // 
         // m_CreateUserMenuItem
         // 
         this.m_CreateUserMenuItem.Image = CredentialsManagerClient.Properties.Resources.CreateIUser;
         this.m_CreateUserMenuItem.Name = "m_CreateUserMenuItem";
         this.m_CreateUserMenuItem.Text = "Create User";
         this.m_CreateUserMenuItem.Click += new System.EventHandler(this.OnCreateUser);
         // 
         // m_UpdateUserMenuItem
         // 
         this.m_UpdateUserMenuItem.Image = CredentialsManagerClient.Properties.Resources.Update;
         this.m_UpdateUserMenuItem.Name = "m_UpdateUserMenuItem";
         this.m_UpdateUserMenuItem.Text = "Update User";
         this.m_UpdateUserMenuItem.Click += new System.EventHandler(this.OnUpdateUser);
         // 
         // m_DeleteUserMenuItem
         // 
         this.m_DeleteUserMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteUser;
         this.m_DeleteUserMenuItem.Name = "m_DeleteUserMenuItem";
         this.m_DeleteUserMenuItem.Text = "Delete User";
         this.m_DeleteUserMenuItem.Click += new System.EventHandler(this.OnDeleteUser);
         // 
         // m_DeleteAllUsersMenuItem
         // 
         this.m_DeleteAllUsersMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteAllUsers;
         this.m_DeleteAllUsersMenuItem.Name = "m_DeleteAllUsersMenuItem";
         this.m_DeleteAllUsersMenuItem.Text = "Delete All Users";
         this.m_DeleteAllUsersMenuItem.Click += new System.EventHandler(this.OnDeleteAllUsers);
         // 
         // usersSeparator1
         // 
         usersSeparator1.Name = "usersSeparator1";
         // 
         // m_ChangePasswordMenuItem
         // 
         this.m_ChangePasswordMenuItem.Image = CredentialsManagerClient.Properties.Resources.ChangePassword;
         this.m_ChangePasswordMenuItem.Name = "m_ChangePasswordMenuItem";
         this.m_ChangePasswordMenuItem.Text = "Change Password";
         this.m_ChangePasswordMenuItem.Click += new System.EventHandler(this.OnChangePassword);
         // 
         // m_ResetPasswordMenuItem
         // 
         this.m_ResetPasswordMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("m_ResetPasswordMenuItem.Image")));
         this.m_ResetPasswordMenuItem.Name = "m_ResetPasswordMenuItem";
         this.m_ResetPasswordMenuItem.Text = "Reset Password";
         this.m_ResetPasswordMenuItem.Click += new System.EventHandler(this.OnResetPassword);
         // 
         // usersSeparator2
         // 
         usersSeparator2.Name = "usersSeparator2";
         // 
         // m_RefreshUsersStatusMenuItem
         // 
         this.m_RefreshUsersStatusMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("m_RefreshUsersStatusMenuItem.Image")));
         this.m_RefreshUsersStatusMenuItem.Name = "m_RefreshUsersStatusMenuItem";
         this.m_RefreshUsersStatusMenuItem.Text = "Refresh Users Status";
         this.m_RefreshUsersStatusMenuItem.Click += new System.EventHandler(this.OnUserStatusRefresh);
         // 
         // rolesMenuItem
         // 
         rolesMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_CreateRoleMenuItem,
            this.m_DeleteRoleMenuItem,
            this.m_DeleteAllRolesMenuItem,
            rolesSeparator1,
            this.m_AssignUsertoRoleMenuItem,
            this.m_RemoveUserFromRoleMenuItem,
            this.m_RemoveUserFromAllRolesMenuItem});
         rolesMenuItem.Name = "rolesMenuItem";
         rolesMenuItem.Text = "Roles";
         // 
         // m_CreateRoleMenuItem
         // 
         this.m_CreateRoleMenuItem.Image = CredentialsManagerClient.Properties.Resources.CreateIRole;
         this.m_CreateRoleMenuItem.Name = "m_CreateRoleMenuItem";
         this.m_CreateRoleMenuItem.Text = "Create Role";
         this.m_CreateRoleMenuItem.Click += new System.EventHandler(this.OnCreateRole);
         // 
         // m_DeleteRoleMenuItem
         // 
         this.m_DeleteRoleMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteRole;
         this.m_DeleteRoleMenuItem.Name = "m_DeleteRoleMenuItem";
         this.m_DeleteRoleMenuItem.Text = "Delete Role";
         this.m_DeleteRoleMenuItem.Click += new System.EventHandler(this.OnDeleteRole);
         // 
         // m_DeleteAllRolesMenuItem
         // 
         this.m_DeleteAllRolesMenuItem.Image = CredentialsManagerClient.Properties.Resources.DeleteAllRoles;
         this.m_DeleteAllRolesMenuItem.Name = "m_DeleteAllRolesMenuItem";
         this.m_DeleteAllRolesMenuItem.Text = "Delete All Roles";
         this.m_DeleteAllRolesMenuItem.Click += new System.EventHandler(this.OnDeleteAllRoles);
         // 
         // rolesSeparator1
         // 
         rolesSeparator1.Name = "rolesSeparator1";
         // 
         // m_AssignUsertoRoleMenuItem
         // 
         this.m_AssignUsertoRoleMenuItem.Image = CredentialsManagerClient.Properties.Resources.Assign;
         this.m_AssignUsertoRoleMenuItem.Name = "m_AssignUsertoRoleMenuItem";
         this.m_AssignUsertoRoleMenuItem.Text = "Assign User to Role";
         this.m_AssignUsertoRoleMenuItem.Click += new System.EventHandler(this.OnAssignUserToRole);
         // 
         // m_RemoveUserFromRoleMenuItem
         // 
         this.m_RemoveUserFromRoleMenuItem.Image = CredentialsManagerClient.Properties.Resources.Remove;
         this.m_RemoveUserFromRoleMenuItem.Name = "m_RemoveUserFromRoleMenuItem";
         this.m_RemoveUserFromRoleMenuItem.Text = "Remove User from Role";
         this.m_RemoveUserFromRoleMenuItem.Click += new System.EventHandler(this.OnRemoveUserFromRole);
         // 
         // m_RemoveUserFromAllRolesMenuItem
         // 
         this.m_RemoveUserFromAllRolesMenuItem.Image = CredentialsManagerClient.Properties.Resources.RemoveAll;
         this.m_RemoveUserFromAllRolesMenuItem.Name = "m_RemoveUserFromAllRolesMenuItem";
         this.m_RemoveUserFromAllRolesMenuItem.Text = "Remove User from All Roles";
         this.m_RemoveUserFromAllRolesMenuItem.Click += new System.EventHandler(this.OnRemoveUsersFromAllRoles);
         // 
         // passwordsMenuItem
         // 
         passwordsMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_GeneratePasswordMenuItem});
         passwordsMenuItem.Name = "passwordsMenuItem";
         passwordsMenuItem.Text = "Passwords";
         // 
         // m_GeneratePasswordMenuItem
         // 
         this.m_GeneratePasswordMenuItem.Image = CredentialsManagerClient.Properties.Resources.GeneratePassword;
         this.m_GeneratePasswordMenuItem.Name = "m_GeneratePasswordMenuItem";
         this.m_GeneratePasswordMenuItem.Text = "Generate Password";
         this.m_GeneratePasswordMenuItem.Click += new System.EventHandler(this.OnGeneratePassword);
         // 
         // serviceMenuItem
         // 
         serviceMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_ViewMenuItem,
            this.m_SelectMenuItem});
         serviceMenuItem.Name = "serviceMenuItem";
         serviceMenuItem.Text = "Service";
         serviceMenuItem.Click += new System.EventHandler(this.OnViewService);
         // 
         // m_ViewMenuItem
         // 
         this.m_ViewMenuItem.Image = CredentialsManagerClient.Properties.Resources.Service;
         this.m_ViewMenuItem.Name = "m_ViewMenuItem";
         this.m_ViewMenuItem.Text = "View";
         // 
         // m_SelectMenuItem
         // 
         this.m_SelectMenuItem.Image = CredentialsManagerClient.Properties.Resources.SelectService;
         this.m_SelectMenuItem.Name = "m_SelectMenuItem";
         this.m_SelectMenuItem.Text = "Select";
         // 
         // testMenuItem
         // 
         testMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_LogOnMenuItem,
            this.m_AuthorizeMenuItem});
         testMenuItem.Name = "testMenuItem";
         testMenuItem.Text = "Test";
         // 
         // m_LogOnMenuItem
         // 
         this.m_LogOnMenuItem.Image = CredentialsManagerClient.Properties.Resources.Authenticate;
         this.m_LogOnMenuItem.Name = "m_LogOnMenuItem";
         this.m_LogOnMenuItem.Text = "Authenticate";
         this.m_LogOnMenuItem.Click += new System.EventHandler(this.OnAuthenticate);
         // 
         // m_AuthorizeMenuItem
         // 
         this.m_AuthorizeMenuItem.Image = CredentialsManagerClient.Properties.Resources.Authorize;
         this.m_AuthorizeMenuItem.Name = "m_AuthorizeMenuItem";
         this.m_AuthorizeMenuItem.Text = "Authorize";
         this.m_AuthorizeMenuItem.Click += new System.EventHandler(this.OnAuthorize);
         // 
         // helpMenuItem
         // 
         helpMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.helpContentMenuItem,
            aboutMenuItem});
         helpMenuItem.Name = "helpMenuItem";
         helpMenuItem.Text = "Help";
         // 
         // helpContentMenuItem
         // 
         this.helpContentMenuItem.Name = "helpContentMenuItem";
         this.helpContentMenuItem.Text = "Content";
         this.helpContentMenuItem.Click += new System.EventHandler(this.Content);
         // 
         // aboutMenuItem
         // 
         aboutMenuItem.Name = "aboutMenuItem";
         aboutMenuItem.Text = "About";
         aboutMenuItem.Click += new System.EventHandler(this.OnAbout);
         // 
         // passwordsPage
         // 
         passwordsPage.Controls.Add(passwordSetupGroupBox);
         passwordsPage.Controls.Add(generatePassorgGroupBox);
         passwordsPage.Location = new System.Drawing.Point(4,22);
         passwordsPage.Name = "passwordsPage";
         passwordsPage.Size = new System.Drawing.Size(534,387);
         passwordsPage.TabIndex = 3;
         passwordsPage.Text = "Passwords";
         // 
         // rolesPage
         // 
         rolesPage.Controls.Add(usersGroupBox);
         rolesPage.Controls.Add(rolesGroupBox);
         rolesPage.Location = new System.Drawing.Point(4,22);
         rolesPage.Name = "rolesPage";
         rolesPage.Size = new System.Drawing.Size(534,387);
         rolesPage.TabIndex = 2;
         rolesPage.Text = "Roles";
         // 
         // usersPage
         // 
         usersPage.Controls.Add(usersStatus);
         usersPage.Controls.Add(usersGoupBox);
         usersPage.Location = new System.Drawing.Point(4,22);
         usersPage.Name = "usersPage";
         usersPage.Padding = new System.Windows.Forms.Padding(3);
         usersPage.Size = new System.Drawing.Size(534,387);
         usersPage.TabIndex = 1;
         usersPage.Text = "Users";
         // 
         // applicationsTab
         // 
         applicationsTab.Controls.Add(applicationPictureBox);
         applicationsTab.Controls.Add(applicationsGroupBox);
         applicationsTab.Location = new System.Drawing.Point(4,22);
         applicationsTab.Name = "applicationsTab";
         applicationsTab.Padding = new System.Windows.Forms.Padding(3);
         applicationsTab.Size = new System.Drawing.Size(534,387);
         applicationsTab.TabIndex = 0;
         applicationsTab.Text = "Applications";
         // 
         // applicationPictureBox
         // 
         applicationPictureBox.AutoSize = true;
         applicationPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
         applicationPictureBox.Image = CredentialsManagerClient.Properties.Resources.Security;
         applicationPictureBox.Location = new System.Drawing.Point(447,15);
         applicationPictureBox.Name = "applicationPictureBox";
         applicationPictureBox.Size = new System.Drawing.Size(79,79);
         applicationPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
         applicationPictureBox.TabIndex = 12;
         applicationPictureBox.TabStop = false;
         // 
         // tabControl
         // 
         tabControl.Controls.Add(applicationsTab);
         tabControl.Controls.Add(usersPage);
         tabControl.Controls.Add(rolesPage);
         tabControl.Controls.Add(passwordsPage);
         tabControl.Controls.Add(servicePage);
         tabControl.Dock = System.Windows.Forms.DockStyle.Fill;
         tabControl.Location = new System.Drawing.Point(0,24);
         tabControl.Name = "tabControl";
         tabControl.SelectedIndex = 0;
         tabControl.Size = new System.Drawing.Size(542,413);
         tabControl.TabIndex = 0;
         // 
         // servicePage
         // 
         servicePage.Controls.Add(addressGroupBox);
         servicePage.Controls.Add(this.m_AddressLabel);
         servicePage.Location = new System.Drawing.Point(4,22);
         servicePage.Name = "servicePage";
         servicePage.Size = new System.Drawing.Size(534,387);
         servicePage.TabIndex = 4;
         servicePage.Text = "Credentials Service";
         // 
         // m_AddressLabel
         // 
         this.m_AddressLabel.AutoSize = true;
         this.m_AddressLabel.Location = new System.Drawing.Point(8,11);
         this.m_AddressLabel.Name = "m_AddressLabel";
         this.m_AddressLabel.Size = new System.Drawing.Size(0,0);
         this.m_AddressLabel.TabIndex = 2;
         // 
         // columnHeader1
         // 
         this.columnHeader1.Text = "";
         this.columnHeader1.Width = 186;
         // 
         // CredentialsManagerForm
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F,13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
         this.ClientSize = new System.Drawing.Size(542,437);
         this.Controls.Add(tabControl);
         this.Controls.Add(mainMenu);
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
         this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
         this.MainMenuStrip = mainMenu;
         this.MaximizeBox = false;
         this.MinimizeBox = false;
         this.Name = "CredentialsManagerForm";
         this.Text = " IDesign ASP.NET Credentials Manager";
         this.Load += new System.EventHandler(this.OnLoad);
         this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.OnClosed);
         this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnClosing);
         passwordSetupGroupBox.ResumeLayout(false);
         passwordSetupGroupBox.PerformLayout();
         generatePassorgGroupBox.ResumeLayout(false);
         generatePassorgGroupBox.PerformLayout();
         usersGroupBox.ResumeLayout(false);
         usersGroupBox.PerformLayout();
         rolesGroupBox.ResumeLayout(false);
         rolesGroupBox.PerformLayout();
         usersStatus.ResumeLayout(false);
         usersStatus.PerformLayout();
         usersGoupBox.ResumeLayout(false);
         usersGoupBox.PerformLayout();
         applicationsGroupBox.ResumeLayout(false);
         addressGroupBox.ResumeLayout(false);
         addressGroupBox.PerformLayout();
         mainMenu.ResumeLayout(false);
         passwordsPage.ResumeLayout(false);
         rolesPage.ResumeLayout(false);
         usersPage.ResumeLayout(false);
         applicationsTab.ResumeLayout(false);
         applicationsTab.PerformLayout();
         ((System.ComponentModel.ISupportInitialize)(applicationPictureBox)).EndInit();
         tabControl.ResumeLayout(false);
         servicePage.ResumeLayout(false);
         servicePage.PerformLayout();
         this.ResumeLayout(false);
         this.PerformLayout();

      }
Ejemplo n.º 37
0
        //private void SetControlsOrder()
        //{
        //    TraceFormControls();
        //    int i = 0;
        //    this.Controls.SetChildIndex(pan_status, i++);
        //    this.Controls.SetChildIndex(tc_result, i++);
        //    this.Controls.SetChildIndex(split_top, i++);
        //    this.Controls.SetChildIndex(pan_top, i++);
        //    this.Controls.SetChildIndex(_menuStrip, i++);
        //    TraceFormControls();
        //}

        //private void TraceFormControls()
        //{
        //    _trace.WriteLine("TraceFormControls :");
        //    _trace.WriteLine("  pan_status     : index {0}", this.Controls.IndexOf(pan_status));     // index 0
        //    _trace.WriteLine("  tc_result      : index {0}", this.Controls.IndexOf(tc_result));      // index 1
        //    _trace.WriteLine("  split_top      : index {0}", this.Controls.IndexOf(split_top));      // index 2
        //    _trace.WriteLine("  pan_top        : index {0}", this.Controls.IndexOf(pan_top));        // index 3
        //    _trace.WriteLine("  menuStrip      : index {0}", this.Controls.IndexOf(_menuStrip));     // index 4
        //}

        private void CreateMenu()
        {
            _menuStrip = new MenuStrip();
            _menuStrip.SuspendLayout();

            ToolStripMenuItem m_file = zForm.CreateMenuItem("&File");
            m_file.DropDownItems.AddRange(new ToolStripItem[] {
                zForm.CreateMenuItem("&New (Ctrl-N)"),
                zForm.CreateMenuItem("&Open (Ctrl-O)"),
                zForm.CreateMenuItem("&Save (Ctrl-S)"),
                zForm.CreateMenuItem("Save &as (Ctrl-A)"),
                //new ToolStripSeparator(),
                //zForm.CreateMenuItem("&Execute (F5)", onClick: m_execute_Click),
                //zForm.CreateMenuItem("Execute on &main thread (shift + F5)", onClick: m_execute_on_main_thread_Click),
                //zForm.CreateMenuItem("Execute on &main thread (shift + F5)", onClick: m_execute_on_main_thread_Click),
                //zForm.CreateMenuItem("Execute &without project (ctrl + F5)", onClick: m_execute_without_project_Click),
                //zForm.CreateMenuItem("&Compile (Shift-Ctrl-B)", onClick: m_compile_Click),
                //new ToolStripSeparator(),
                //zForm.CreateMenuItem("Compile and &restart \"Run source\" (Shift-Ctrl-U)", onClick: m_update_runsource_Click),
                //zForm.CreateMenuItem("C&ompile \"Run source\"  (Shift-Ctrl-C)", onClick: m_compile_runsource_Click),
                //zForm.CreateMenuItem("&Restart \"Run source\"  (Shift-Ctrl-R)", onClick:  m_restart_runsource_Click),
                //new ToolStripSeparator(),
                //zForm.CreateMenuItem("&Quit", onClick: m_quit_Click),
            });

            ToolStripMenuItem m_options = zForm.CreateMenuItem("&Options");

            //m_view_source_line_number = zForm.CreateMenuItem("View source line number", checkOnClick: true, @checked: true, onClick: m_view_source_line_number_Click);
            //m_run_init = zForm.CreateMenuItem("Run &init", checkOnClick: true, @checked: true, onClick: m_run_init_Click);
            //m_allow_multiple_execution = zForm.CreateMenuItem("&Allow multiple execution", checkOnClick: true, @checked: true, onClick: m_allow_multiple_execution_Click);

            m_options.DropDownItems.AddRange(new ToolStripItem[] {
                zForm.CreateMenuItem("Set grid &max width height", checkOnClick: true, @checked: true),
                zForm.CreateMenuItem("Resize data table images", checkOnClick: true, @checked: true)
                //m_view_source_line_number,
                //new ToolStripSeparator(),
                //m_run_init,
                //m_allow_multiple_execution
            });

            _menuStrip.Items.AddRange(new ToolStripItem[] { m_file, m_options });

            _menuStrip.ResumeLayout(false);
            _menuStrip.PerformLayout();
        }
Ejemplo n.º 38
0
        /// <summary>
        /// 
        /// </summary>
        protected void InitializeGUI()
        {
            EditingManager_cl.Instance.EditingEnabled = true;

            mShowEditorGUI = true;

            // Get the game window as a WinForm Form class
            Form windowForm = Control.FromHandle(FNA.Game_cl.BaseInstance.WindowHandle) as Form;

            windowForm.MouseUp += new MouseEventHandler(windowForm_MouseUp);
            windowForm.MouseLeave += new EventHandler(windowForm_MouseLeave);
            windowForm.MouseEnter += new EventHandler(windowForm_MouseEnter);

            mEditorMenuStrip = new MenuStrip();
            mEditorMenuStrip.Dock = DockStyle.Top;
            mEditorMenuStrip.SuspendLayout();
            mEditorStatusStrip = new StatusStrip();
            mEditorStatusStrip.SuspendLayout();
            mEditorStatusLabel = new ToolStripStatusLabel("Welcome to the World Editor!");
            mMenuFile = new ToolStripMenuItem();
            mMenuPanels = new ToolStripMenuItem();
            mMenuView = new ToolStripMenuItem();
            mMenuItemNewScene = new ToolStripMenuItem();
            mMenuItemOpenScene = new ToolStripMenuItem();
            mMenuItemSaveScene = new ToolStripMenuItem();
            mMenuItemObjectPanel = new ToolStripMenuItem();
            mMenuItemPrefabPanel = new ToolStripMenuItem();
            mMenuItemDepthSnapping = new ToolStripMenuItem();

            //mEditorMenuStrip.Dock = System.Windows.Forms.DockStyle.Top;
            mEditorMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                mMenuFile,
                mMenuPanels,
                mMenuView});
            mEditorMenuStrip.Location = new System.Drawing.Point(0, 0);
            mEditorMenuStrip.Name = "mEditorMenuStrip";
            mEditorMenuStrip.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
            mEditorMenuStrip.Size = new System.Drawing.Size(windowForm.Width, 32);
            mEditorMenuStrip.TabIndex = 1;
            mEditorMenuStrip.Text = "mEditorMenuStrip";

            mEditorStatusStrip.Dock = DockStyle.Bottom;
            mEditorStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { mEditorStatusLabel });
            mEditorStatusStrip.TabStop = false;
            mEditorStatusLabel.Size = new Size(mEditorStatusStrip.Width, mEditorStatusStrip.Height);

            mMenuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                mMenuItemNewScene, mMenuItemOpenScene, mMenuItemSaveScene});
            mMenuFile.Name = "mMenuFile";
            mMenuFile.Size = new System.Drawing.Size(40, 20);
            mMenuFile.Text = "File";
            mMenuPanels.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                mMenuItemObjectPanel, mMenuItemPrefabPanel});
            mMenuPanels.Name = "mMenuPanels";
            mMenuPanels.Size = new System.Drawing.Size(40, 20);
            mMenuPanels.Text = "Panels";

            mMenuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                mMenuItemDepthSnapping});
            mMenuView.Name = "mMenuView";
            mMenuView.Size = new System.Drawing.Size(40, 20);
            mMenuView.Text = "View";

            mMenuItemNewScene.Name = "mMenuItemNewScene";
            mMenuItemNewScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
            mMenuItemNewScene.Size = new System.Drawing.Size(200, 22);
            mMenuItemNewScene.Text = "New Scene";
            mMenuItemNewScene.Click += new System.EventHandler(mMenuItemNewScene_Click);
            mMenuItemOpenScene.Name = "mMenuItemOpenScene";
            mMenuItemOpenScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
            mMenuItemOpenScene.Size = new System.Drawing.Size(200, 22);
            mMenuItemOpenScene.Text = "Open Scene";
            mMenuItemOpenScene.Click += new System.EventHandler(mMenuItemOpenScene_Click);
            mMenuItemSaveScene.Name = "mMenuItemSaveScene";
            mMenuItemSaveScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
            mMenuItemSaveScene.Size = new System.Drawing.Size(200, 22);
            mMenuItemSaveScene.Text = "Save Scene";
            mMenuItemSaveScene.Click += new System.EventHandler(mMenuItemSaveScene_Click);
            mMenuItemObjectPanel.Size = new System.Drawing.Size(200, 22);
            mMenuItemObjectPanel.Text = "Object Panel";
            mMenuItemObjectPanel.Checked = true;
            mMenuItemObjectPanel.CheckOnClick = true;
            mMenuItemObjectPanel.Click += new System.EventHandler(mMenuItemObjectPanel_Click);
            mMenuItemPrefabPanel.Size = new System.Drawing.Size(200, 22);
            mMenuItemPrefabPanel.Text = "Prefab Panel";
            mMenuItemPrefabPanel.Checked = true;
            mMenuItemPrefabPanel.CheckOnClick = true;
            mMenuItemPrefabPanel.Click += new System.EventHandler(mMenuItemPrefabPanel_Click);
            mMenuItemDepthSnapping.Size = new System.Drawing.Size(200, 22);
            mMenuItemDepthSnapping.Text = "Snap to Depth";
            mMenuItemDepthSnapping.Checked = false;
            mMenuItemDepthSnapping.CheckOnClick = true;
            mMenuItemDepthSnapping.Click += new System.EventHandler(mMenuItemSnapping_Click);

            mEditorContextMenu = new ContextMenuStrip(new System.ComponentModel.Container());
            /************************************************************************
             * TODO:
             * Add images to the context menu items.
             *
             * Jay Sternfield	-	2011/11/16
             ************************************************************************/
            mContextItemLoadPrefab = new ToolStripMenuItem("Load Prefab");
            mContextItemAddTrigger = new ToolStripMenuItem("Add Trigger");
            mContextItemAddParticle = new ToolStripMenuItem("Add Particle");
            //mContextItemEditComponents = new ToolStripMenuItem("Edit Components");
            mContextItemLoadPrefab.Click += new System.EventHandler(mContextItemLoadPrefab_Click);
            mContextItemAddTrigger.Click += new System.EventHandler(mContextItemAddTrigger_Click);
            mContextItemAddParticle.Click += new System.EventHandler(mContextItemAddParticle_Click);
            //mContextItemAddParticle.Click += new System.EventHandler(mContextItemAddParticle_Click);
            //mContextItemAddParticle.Click += new System.EventHandler(mContextItemAddParticle_Click);
            mEditorContextMenu.SuspendLayout();
            mEditorContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                mContextItemLoadPrefab, mContextItemAddTrigger, mContextItemAddParticle});
            mEditorContextMenu.Name = "mEditorContextMenu";
            mEditorContextMenu.Size = new System.Drawing.Size(200, 28);
            mEditorContextMenu.MouseLeave += new EventHandler(mEditorContextMenu_MouseLeave);

            mObjectPanel = new Panel();
            mObjectPanel.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
            mObjectPanel.Size = new System.Drawing.Size(240, FNA.Game_cl.BaseInstance.WindowHeight - 22);
            mObjectPanel.Dock = DockStyle.Left;
            Panel titlePanel = new Panel();
            titlePanel.Dock = DockStyle.Top;
            titlePanel.Size = new System.Drawing.Size(mObjectPanel.Width, 22);
            Label titleLabel = new Label();
            titleLabel.Dock = DockStyle.Fill;
            titleLabel.Text = "Object Panel";
            titlePanel.Controls.Add(titleLabel);
            mObjectPanelTree = new TreeView();
            mObjectPanelTree.Dock = DockStyle.Fill;
            //mObjectPanelTree.AllowDrop = true;
            mObjectPanelTree.HideSelection = false;
            mObjectPanelTree.DoubleClick += new EventHandler(mObjectPanelTree_DoubleClick);
            mObjectPanelTree.AfterSelect += new TreeViewEventHandler(mObjectPanelTree_AfterSelect);
            //Splitter midSplitter = new Splitter();
            //midSplitter.BackColor = System.Drawing.Color.DarkGray;
            //midSplitter.Dock = DockStyle.Bottom;
            mObjectPanelSplitter = new Splitter();
            mObjectPanelSplitter.Dock = DockStyle.Right;
            mObjectPanelSplitter.SplitPosition = mObjectPanel.Width - 4;
            mObjectPanelSplitter.MouseDown += new MouseEventHandler(mObjectPanelSplitter_MouseDown);
            mObjectPanelSplitter.MouseUp += new MouseEventHandler(mObjectPanelSplitter_MouseUp);

            mObjectPanel.Controls.Add(mObjectPanelTree);
            mObjectPanel.Controls.Add(titlePanel);
            //mObjectPanel.Controls.Add(midSplitter);
            mObjectPanel.Controls.Add(mObjectPanelSplitter);

            mPrefabPanel = new Panel();
            mPrefabPanel.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
            mPrefabPanel.Size = new System.Drawing.Size(240, FNA.Game_cl.BaseInstance.WindowHeight - 22);
            mPrefabPanel.Dock = DockStyle.Right;
            mPrefabPanelTree = new TreeView();
            mPrefabPanelTree.Dock = DockStyle.Fill;
            //mPrefabPanelTree.AllowDrop = true;
            mPrefabPanelTree.HideSelection = false;
            mPrefabPanelTree.MouseDown += new MouseEventHandler(mPrefabPanelTree_MouseDown);
            mPrefabPanelTree.MouseClick += new MouseEventHandler(mPrefabPanelTree_MouseClick);

            titlePanel = new Panel();
            titlePanel.Dock = DockStyle.Top;
            titlePanel.Size = new System.Drawing.Size(mPrefabPanel.Width, 22);
            titleLabel = new Label();
            titleLabel.Dock = DockStyle.Fill;
            titleLabel.Text = "Prefab Panel";
            titlePanel.Controls.Add(titleLabel);

            mPrefabPanelSplitter = new Splitter();
            mPrefabPanelSplitter.Dock = DockStyle.Left;
            mPrefabPanelSplitter.SplitPosition = 4;
            mPrefabPanelSplitter.MouseDown += new MouseEventHandler(mPrefabPanelSplitter_MouseDown);
            mPrefabPanelSplitter.MouseUp += new MouseEventHandler(mPrefabPanelSplitter_MouseUp);

            mPrefabPanel.Controls.Add(mPrefabPanelTree);
            mPrefabPanel.Controls.Add(titlePanel);
            mPrefabPanel.Controls.Add(mPrefabPanelSplitter);

            windowForm.Controls.Add(mEditorMenuStrip);
            windowForm.Controls.Add(mEditorStatusStrip);
            windowForm.Controls.Add(mObjectPanel);
            windowForm.Controls.Add(mPrefabPanel);

            windowForm.MainMenuStrip = mEditorMenuStrip;
            windowForm.ContextMenuStrip = mEditorContextMenu;

            mEditorMenuStrip.ResumeLayout(false);
            mEditorMenuStrip.PerformLayout();
            mEditorStatusStrip.ResumeLayout(false);
            mEditorStatusStrip.PerformLayout();
            mEditorContextMenu.ResumeLayout(false);
        }
Ejemplo n.º 39
0
 private static void CreateMenuDataForm(Form form)
 {
     MenuStrip menu = new MenuStrip();
     ToolStripMenuItem m_file = new ToolStripMenuItem();
     ToolStripMenuItem m_quit = new ToolStripMenuItem();
     menu.SuspendLayout();
     menu.Items.AddRange(new ToolStripItem[] { m_file });
     m_file.DropDownItems.AddRange(new ToolStripItem[] { m_quit } );
     m_file.Text = "&File";
     m_quit.Text = "&Update data definition";
     m_quit.Click += new System.EventHandler(m_update_data_def_Click);
     //form.MainMenuStrip = menu;
     form.Controls.Add(menu);
     menu.ResumeLayout();
 }
Ejemplo n.º 40
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ToolStripStatusLabel           statusLabel1;
     System.Windows.Forms.ToolStripStatusLabel           statusLabel2;
     System.Windows.Forms.MenuStrip                      menuStrip;
     System.Windows.Forms.ToolStripSeparator             toolStripMenuItem1;
     System.Windows.Forms.ToolStripSeparator             toolStripMenuItem2;
     AIMS.Libraries.CodeEditor.WinForms.LineMarginRender lineMarginRender2 = new AIMS.Libraries.CodeEditor.WinForms.LineMarginRender();
     this.mnuEdit         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuFind         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuReplace      = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuFindNext     = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuSelectAll    = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuSave         = new System.Windows.Forms.ToolStripMenuItem();
     this.mnuClose        = new System.Windows.Forms.ToolStripMenuItem();
     this.statusBar       = new System.Windows.Forms.StatusStrip();
     this.cursorLine      = new System.Windows.Forms.ToolStripStatusLabel();
     this.cursorCol       = new System.Windows.Forms.ToolStripStatusLabel();
     this.txtText         = new AIMS.Libraries.CodeEditor.CodeEditorControl();
     this.syntaxDocument1 = new AIMS.Libraries.CodeEditor.Syntax.SyntaxDocument(this.components);
     statusLabel1         = new System.Windows.Forms.ToolStripStatusLabel();
     statusLabel2         = new System.Windows.Forms.ToolStripStatusLabel();
     menuStrip            = new System.Windows.Forms.MenuStrip();
     toolStripMenuItem1   = new System.Windows.Forms.ToolStripSeparator();
     toolStripMenuItem2   = new System.Windows.Forms.ToolStripSeparator();
     menuStrip.SuspendLayout();
     this.statusBar.SuspendLayout();
     this.SuspendLayout();
     //
     // statusLabel1
     //
     statusLabel1.Name      = "statusLabel1";
     statusLabel1.Size      = new System.Drawing.Size(32, 17);
     statusLabel1.Text      = "Line:";
     statusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // statusLabel2
     //
     statusLabel2.Name      = "statusLabel2";
     statusLabel2.Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
     statusLabel2.Size      = new System.Drawing.Size(45, 17);
     statusLabel2.Text      = "Char:";
     statusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // menuStrip
     //
     menuStrip.BackColor = System.Drawing.SystemColors.Window;
     menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnuEdit
     });
     menuStrip.Location = new System.Drawing.Point(0, 0);
     menuStrip.Name     = "menuStrip";
     menuStrip.Size     = new System.Drawing.Size(1230, 24);
     menuStrip.TabIndex = 1004;
     menuStrip.Text     = "menuStrip1";
     //
     // mnuEdit
     //
     this.mnuEdit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnuFind,
         this.mnuReplace,
         this.mnuFindNext,
         toolStripMenuItem1,
         this.mnuSelectAll,
         toolStripMenuItem2,
         this.mnuSave,
         this.mnuClose
     });
     this.mnuEdit.Name = "mnuEdit";
     this.mnuEdit.Size = new System.Drawing.Size(39, 20);
     this.mnuEdit.Text = "&Edit";
     //
     // mnuFind
     //
     this.mnuFind.Name         = "mnuFind";
     this.mnuFind.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
     this.mnuFind.Size         = new System.Drawing.Size(167, 22);
     this.mnuFind.Text         = "&Find...";
     this.mnuFind.Click       += new System.EventHandler(this.mnuFind_Click);
     //
     // mnuReplace
     //
     this.mnuReplace.Name         = "mnuReplace";
     this.mnuReplace.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
     this.mnuReplace.Size         = new System.Drawing.Size(167, 22);
     this.mnuReplace.Text         = "&Replace...";
     this.mnuReplace.Click       += new System.EventHandler(this.mnuReplace_Click);
     //
     // mnuFindNext
     //
     this.mnuFindNext.Name         = "mnuFindNext";
     this.mnuFindNext.ShortcutKeys = System.Windows.Forms.Keys.F3;
     this.mnuFindNext.Size         = new System.Drawing.Size(167, 22);
     this.mnuFindNext.Text         = "Find &Next";
     this.mnuFindNext.Click       += new System.EventHandler(this.mnuFindNext_Click);
     //
     // toolStripMenuItem1
     //
     toolStripMenuItem1.Name = "toolStripMenuItem1";
     toolStripMenuItem1.Size = new System.Drawing.Size(164, 6);
     //
     // mnuSelectAll
     //
     this.mnuSelectAll.Name         = "mnuSelectAll";
     this.mnuSelectAll.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
     this.mnuSelectAll.Size         = new System.Drawing.Size(167, 22);
     this.mnuSelectAll.Text         = "Select &All";
     this.mnuSelectAll.Click       += new System.EventHandler(this.mnuSelectAll_Click);
     //
     // toolStripMenuItem2
     //
     toolStripMenuItem2.Name = "toolStripMenuItem2";
     toolStripMenuItem2.Size = new System.Drawing.Size(164, 6);
     //
     // mnuSave
     //
     this.mnuSave.Name         = "mnuSave";
     this.mnuSave.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     this.mnuSave.Size         = new System.Drawing.Size(167, 22);
     this.mnuSave.Text         = "&Save";
     this.mnuSave.Click       += new System.EventHandler(this.mnuSave_Click);
     //
     // mnuClose
     //
     this.mnuClose.Name   = "mnuClose";
     this.mnuClose.Size   = new System.Drawing.Size(167, 22);
     this.mnuClose.Text   = "&Close";
     this.mnuClose.Click += new System.EventHandler(this.mnuClose_Click);
     //
     // statusBar
     //
     this.statusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         statusLabel1,
         this.cursorLine,
         statusLabel2,
         this.cursorCol
     });
     this.statusBar.Location = new System.Drawing.Point(0, 713);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(1230, 22);
     this.statusBar.TabIndex = 1003;
     this.statusBar.Text     = "statusStrip1";
     //
     // cursorLine
     //
     this.cursorLine.Name      = "cursorLine";
     this.cursorLine.Size      = new System.Drawing.Size(13, 17);
     this.cursorLine.Text      = "0";
     this.cursorLine.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cursorCol
     //
     this.cursorCol.Name      = "cursorCol";
     this.cursorCol.Size      = new System.Drawing.Size(13, 17);
     this.cursorCol.Text      = "0";
     this.cursorCol.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtText
     //
     this.txtText.ActiveView           = AIMS.Libraries.CodeEditor.WinForms.ActiveView.BottomRight;
     this.txtText.AutoListPosition     = null;
     this.txtText.AutoListSelectedText = "";
     this.txtText.AutoListVisible      = false;
     this.txtText.CopyAsRTF            = false;
     this.txtText.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.txtText.Document             = this.syntaxDocument1;
     this.txtText.FileName             = null;
     this.txtText.InfoTipCount         = 1;
     this.txtText.InfoTipPosition      = null;
     this.txtText.InfoTipSelectedIndex = 1;
     this.txtText.InfoTipVisible       = false;
     lineMarginRender2.Bounds          = new System.Drawing.Rectangle(19, 0, 19, 16);
     this.txtText.LineMarginRender     = lineMarginRender2;
     this.txtText.Location             = new System.Drawing.Point(0, 52);
     this.txtText.LockCursorUpdate     = false;
     this.txtText.Name                 = "txtText";
     this.txtText.Saved                = false;
     this.txtText.ShowScopeIndicator   = false;
     this.txtText.Size                 = new System.Drawing.Size(1230, 661);
     this.txtText.SmoothScroll         = false;
     this.txtText.SplitviewH           = -4;
     this.txtText.SplitviewV           = -4;
     this.txtText.TabGuideColor        = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(233)))), ((int)(((byte)(233)))));
     this.txtText.TabIndex             = 1005;
     this.txtText.Text                 = "codeEditorControl1";
     this.txtText.WhitespaceColor      = System.Drawing.SystemColors.ControlDark;
     this.txtText.CaretChange         += new System.EventHandler(this.txtText_CaretChange);
     //
     // syntaxDocument1
     //
     this.syntaxDocument1.Lines = new string[] {
         ""
     };
     this.syntaxDocument1.MaxUndoBufferSize = 1000;
     this.syntaxDocument1.Modified          = false;
     this.syntaxDocument1.UndoStep          = 0;
     //
     // TextEditorFormBase
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(1230, 735);
     this.Controls.Add(this.txtText);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(menuStrip);
     this.MinimizeBox   = false;
     this.Name          = "TextEditorFormBase";
     this.ShowIcon      = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Script Editor";
     menuStrip.ResumeLayout(false);
     menuStrip.PerformLayout();
     this.statusBar.ResumeLayout(false);
     this.statusBar.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 41
0
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(LiveOutlook.LiveApp.FrmMain));
     ToolTip                         = new System.Windows.Forms.ToolTip(components);
     lblStatus                       = new System.Windows.Forms.ToolStripStatusLabel();
     statusStrip                     = new System.Windows.Forms.StatusStrip();
     lblLoggedInLive                 = new System.Windows.Forms.ToolStripStatusLabel();
     lblPCUserLive                   = new System.Windows.Forms.ToolStripStatusLabel();
     lblUsersOnlineLive              = new System.Windows.Forms.ToolStripStatusLabel();
     pblive                          = new System.Windows.Forms.ToolStripProgressBar();
     toolStrip                       = new System.Windows.Forms.ToolStrip();
     tsbtnAppointments               = new System.Windows.Forms.ToolStripButton();
     tsbtnEnrollement                = new System.Windows.Forms.ToolStripButton();
     tsbtnVisit                      = new System.Windows.Forms.ToolStripButton();
     fileMenu                        = new System.Windows.Forms.ToolStripMenuItem();
     exitToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     viewMenu                        = new System.Windows.Forms.ToolStripMenuItem();
     toolBarToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     statusBarToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     windowsMenu                     = new System.Windows.Forms.ToolStripMenuItem();
     cascadeToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     tileVerticalToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     tileHorizontalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     closeAllToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     arrangeIconsToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     menuStrip                       = new System.Windows.Forms.MenuStrip();
     patientsToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     appointmentsToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     enroToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     settingsToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     facilityToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     usersToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     reportsToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     visitsToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     activePatientsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     defaultersToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     userToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     changePasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     statusStrip.SuspendLayout();
     toolStrip.SuspendLayout();
     menuStrip.SuspendLayout();
     SuspendLayout();
     lblStatus.Name      = "lblStatus";
     lblStatus.Size      = new System.Drawing.Size(161, 17);
     lblStatus.Spring    = true;
     lblStatus.Text      = "Ready";
     lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[5]
     {
         lblStatus,
         lblLoggedInLive,
         lblPCUserLive,
         lblUsersOnlineLive,
         pblive
     });
     statusStrip.Location      = new System.Drawing.Point(0, 431);
     statusStrip.Name          = "statusStrip";
     statusStrip.Size          = new System.Drawing.Size(764, 22);
     statusStrip.TabIndex      = 2;
     statusStrip.Text          = "StatusStrip";
     lblLoggedInLive.Name      = "lblLoggedInLive";
     lblLoggedInLive.Size      = new System.Drawing.Size(161, 17);
     lblLoggedInLive.Spring    = true;
     lblLoggedInLive.Text      = "logged in as Amme";
     lblPCUserLive.Name        = "lblPCUserLive";
     lblPCUserLive.Size        = new System.Drawing.Size(161, 17);
     lblPCUserLive.Spring      = true;
     lblPCUserLive.Text        = "Ke\\dkoske";
     lblUsersOnlineLive.Name   = "lblUsersOnlineLive";
     lblUsersOnlineLive.Size   = new System.Drawing.Size(161, 17);
     lblUsersOnlineLive.Spring = true;
     lblUsersOnlineLive.Text   = "5 users online";
     pblive.Name = "pblive";
     pblive.Size = new System.Drawing.Size(100, 16);
     toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[3]
     {
         tsbtnAppointments,
         tsbtnEnrollement,
         tsbtnVisit
     });
     toolStrip.Location                      = new System.Drawing.Point(0, 24);
     toolStrip.Name                          = "toolStrip";
     toolStrip.Size                          = new System.Drawing.Size(764, 25);
     toolStrip.TabIndex                      = 1;
     toolStrip.Text                          = "ToolStrip";
     tsbtnAppointments.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnAppointments.Image                 = LiveOutlook.Properties.Resources.cale;
     tsbtnAppointments.ImageTransparentColor = System.Drawing.Color.Magenta;
     tsbtnAppointments.Name                  = "tsbtnAppointments";
     tsbtnAppointments.Size                  = new System.Drawing.Size(23, 22);
     tsbtnAppointments.Text                  = "toolStripButton1";
     tsbtnAppointments.ToolTipText           = "Manage Appointments";
     tsbtnAppointments.Click                += new System.EventHandler(tsbtnAppointments_Click);
     tsbtnEnrollement.DisplayStyle           = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnEnrollement.Image                  = LiveOutlook.Properties.Resources.Accept;
     tsbtnEnrollement.ImageTransparentColor  = System.Drawing.Color.Magenta;
     tsbtnEnrollement.Name                   = "tsbtnEnrollement";
     tsbtnEnrollement.Size                   = new System.Drawing.Size(23, 22);
     tsbtnEnrollement.Text                   = "toolStripButton2";
     tsbtnEnrollement.ToolTipText            = "Manage Patients";
     tsbtnEnrollement.Click                 += new System.EventHandler(tsbtnEnrollement_Click);
     tsbtnVisit.DisplayStyle                 = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnVisit.Image                        = LiveOutlook.Properties.Resources.ReportGraph;
     tsbtnVisit.ImageTransparentColor        = System.Drawing.Color.Magenta;
     tsbtnVisit.Name                         = "tsbtnVisit";
     tsbtnVisit.Size                         = new System.Drawing.Size(23, 22);
     tsbtnVisit.Text                         = "toolStripButton3";
     tsbtnVisit.ToolTipText                  = "Reporting";
     tsbtnVisit.Click                       += new System.EventHandler(tsbtnVisit_Click);
     fileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[1]
     {
         exitToolStripMenuItem
     });
     fileMenu.ImageTransparentColor = System.Drawing.SystemColors.ActiveBorder;
     fileMenu.Name = "fileMenu";
     fileMenu.Size = new System.Drawing.Size(37, 20);
     fileMenu.Text = "&File";
     exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
     exitToolStripMenuItem.Size   = new System.Drawing.Size(92, 22);
     exitToolStripMenuItem.Text   = "E&xit";
     exitToolStripMenuItem.Click += new System.EventHandler(ExitToolsStripMenuItem_Click);
     viewMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         toolBarToolStripMenuItem,
         statusBarToolStripMenuItem
     });
     viewMenu.Name = "viewMenu";
     viewMenu.Size = new System.Drawing.Size(44, 20);
     viewMenu.Text = "&View";
     toolBarToolStripMenuItem.Checked        = true;
     toolBarToolStripMenuItem.CheckOnClick   = true;
     toolBarToolStripMenuItem.CheckState     = System.Windows.Forms.CheckState.Checked;
     toolBarToolStripMenuItem.Name           = "toolBarToolStripMenuItem";
     toolBarToolStripMenuItem.Size           = new System.Drawing.Size(126, 22);
     toolBarToolStripMenuItem.Text           = "&Toolbar";
     toolBarToolStripMenuItem.Click         += new System.EventHandler(ToolBarToolStripMenuItem_Click);
     statusBarToolStripMenuItem.Checked      = true;
     statusBarToolStripMenuItem.CheckOnClick = true;
     statusBarToolStripMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     statusBarToolStripMenuItem.Name         = "statusBarToolStripMenuItem";
     statusBarToolStripMenuItem.Size         = new System.Drawing.Size(126, 22);
     statusBarToolStripMenuItem.Text         = "&Status Bar";
     statusBarToolStripMenuItem.Click       += new System.EventHandler(StatusBarToolStripMenuItem_Click);
     windowsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[5]
     {
         cascadeToolStripMenuItem,
         tileVerticalToolStripMenuItem,
         tileHorizontalToolStripMenuItem,
         closeAllToolStripMenuItem,
         arrangeIconsToolStripMenuItem
     });
     windowsMenu.Name = "windowsMenu";
     windowsMenu.Size = new System.Drawing.Size(68, 20);
     windowsMenu.Text = "&Windows";
     cascadeToolStripMenuItem.Name          = "cascadeToolStripMenuItem";
     cascadeToolStripMenuItem.Size          = new System.Drawing.Size(151, 22);
     cascadeToolStripMenuItem.Text          = "&Cascade";
     cascadeToolStripMenuItem.Click        += new System.EventHandler(CascadeToolStripMenuItem_Click);
     tileVerticalToolStripMenuItem.Name     = "tileVerticalToolStripMenuItem";
     tileVerticalToolStripMenuItem.Size     = new System.Drawing.Size(151, 22);
     tileVerticalToolStripMenuItem.Text     = "Tile &Vertical";
     tileVerticalToolStripMenuItem.Click   += new System.EventHandler(TileVerticalToolStripMenuItem_Click);
     tileHorizontalToolStripMenuItem.Name   = "tileHorizontalToolStripMenuItem";
     tileHorizontalToolStripMenuItem.Size   = new System.Drawing.Size(151, 22);
     tileHorizontalToolStripMenuItem.Text   = "Tile &Horizontal";
     tileHorizontalToolStripMenuItem.Click += new System.EventHandler(TileHorizontalToolStripMenuItem_Click);
     closeAllToolStripMenuItem.Name         = "closeAllToolStripMenuItem";
     closeAllToolStripMenuItem.Size         = new System.Drawing.Size(151, 22);
     closeAllToolStripMenuItem.Text         = "C&lose All";
     closeAllToolStripMenuItem.Click       += new System.EventHandler(CloseAllToolStripMenuItem_Click);
     arrangeIconsToolStripMenuItem.Name     = "arrangeIconsToolStripMenuItem";
     arrangeIconsToolStripMenuItem.Size     = new System.Drawing.Size(151, 22);
     arrangeIconsToolStripMenuItem.Text     = "&Arrange Icons";
     arrangeIconsToolStripMenuItem.Click   += new System.EventHandler(ArrangeIconsToolStripMenuItem_Click);
     menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[7]
     {
         fileMenu,
         viewMenu,
         patientsToolStripMenuItem,
         settingsToolStripMenuItem,
         reportsToolStripMenuItem,
         windowsMenu,
         userToolStripMenuItem
     });
     menuStrip.Location          = new System.Drawing.Point(0, 0);
     menuStrip.MdiWindowListItem = windowsMenu;
     menuStrip.Name     = "menuStrip";
     menuStrip.Size     = new System.Drawing.Size(764, 24);
     menuStrip.TabIndex = 0;
     menuStrip.Text     = "MenuStrip";
     patientsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         appointmentsToolStripMenuItem,
         enroToolStripMenuItem
     });
     patientsToolStripMenuItem.Name       = "patientsToolStripMenuItem";
     patientsToolStripMenuItem.Size       = new System.Drawing.Size(61, 20);
     patientsToolStripMenuItem.Text       = "Patients";
     appointmentsToolStripMenuItem.Name   = "appointmentsToolStripMenuItem";
     appointmentsToolStripMenuItem.Size   = new System.Drawing.Size(150, 22);
     appointmentsToolStripMenuItem.Text   = "Appointments";
     appointmentsToolStripMenuItem.Click += new System.EventHandler(appointmentsToolStripMenuItem_Click);
     enroToolStripMenuItem.Name           = "enroToolStripMenuItem";
     enroToolStripMenuItem.Size           = new System.Drawing.Size(150, 22);
     enroToolStripMenuItem.Text           = "Enrollment";
     enroToolStripMenuItem.Click         += new System.EventHandler(enroToolStripMenuItem_Click);
     settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         facilityToolStripMenuItem,
         usersToolStripMenuItem
     });
     settingsToolStripMenuItem.Name   = "settingsToolStripMenuItem";
     settingsToolStripMenuItem.Size   = new System.Drawing.Size(61, 20);
     settingsToolStripMenuItem.Text   = "Settings";
     facilityToolStripMenuItem.Name   = "facilityToolStripMenuItem";
     facilityToolStripMenuItem.Size   = new System.Drawing.Size(111, 22);
     facilityToolStripMenuItem.Text   = "Facility";
     facilityToolStripMenuItem.Click += new System.EventHandler(facilityToolStripMenuItem_Click);
     usersToolStripMenuItem.Name      = "usersToolStripMenuItem";
     usersToolStripMenuItem.Size      = new System.Drawing.Size(111, 22);
     usersToolStripMenuItem.Text      = "Users";
     usersToolStripMenuItem.Click    += new System.EventHandler(usersToolStripMenuItem_Click);
     reportsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[3]
     {
         visitsToolStripMenuItem,
         activePatientsToolStripMenuItem,
         defaultersToolStripMenuItem
     });
     reportsToolStripMenuItem.Name          = "reportsToolStripMenuItem";
     reportsToolStripMenuItem.Size          = new System.Drawing.Size(59, 20);
     reportsToolStripMenuItem.Text          = "Reports";
     visitsToolStripMenuItem.Image          = LiveOutlook.Properties.Resources.ReportGraph;
     visitsToolStripMenuItem.Name           = "visitsToolStripMenuItem";
     visitsToolStripMenuItem.Size           = new System.Drawing.Size(152, 22);
     visitsToolStripMenuItem.Text           = "Visits";
     visitsToolStripMenuItem.Click         += new System.EventHandler(visitsToolStripMenuItem_Click);
     activePatientsToolStripMenuItem.Name   = "activePatientsToolStripMenuItem";
     activePatientsToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     activePatientsToolStripMenuItem.Text   = "Active patients";
     activePatientsToolStripMenuItem.Click += new System.EventHandler(activePatientsToolStripMenuItem_Click);
     defaultersToolStripMenuItem.Name       = "defaultersToolStripMenuItem";
     defaultersToolStripMenuItem.Size       = new System.Drawing.Size(152, 22);
     defaultersToolStripMenuItem.Text       = "Defaulters";
     defaultersToolStripMenuItem.Click     += new System.EventHandler(defaultersToolStripMenuItem_Click);
     userToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[1]
     {
         changePasswordToolStripMenuItem
     });
     userToolStripMenuItem.Name             = "userToolStripMenuItem";
     userToolStripMenuItem.Size             = new System.Drawing.Size(41, 20);
     userToolStripMenuItem.Text             = "user";
     changePasswordToolStripMenuItem.Name   = "changePasswordToolStripMenuItem";
     changePasswordToolStripMenuItem.Size   = new System.Drawing.Size(168, 22);
     changePasswordToolStripMenuItem.Text   = "Change Password";
     changePasswordToolStripMenuItem.Click += new System.EventHandler(changePasswordToolStripMenuItem_Click);
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize          = new System.Drawing.Size(764, 453);
     base.Controls.Add(statusStrip);
     base.Controls.Add(toolStrip);
     base.Controls.Add(menuStrip);
     base.Icon           = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon");
     base.IsMdiContainer = true;
     base.MainMenuStrip  = menuStrip;
     base.Name           = "FrmMain";
     base.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text              = "Hospital Reception System - PSC";
     base.WindowState  = System.Windows.Forms.FormWindowState.Maximized;
     base.Load        += new System.EventHandler(FrmMain_Load);
     base.FormClosed  += new System.Windows.Forms.FormClosedEventHandler(FrmMain_FormClosed);
     base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FrmMain_FormClosing);
     statusStrip.ResumeLayout(performLayout: false);
     statusStrip.PerformLayout();
     toolStrip.ResumeLayout(performLayout: false);
     toolStrip.PerformLayout();
     menuStrip.ResumeLayout(performLayout: false);
     menuStrip.PerformLayout();
     ResumeLayout(performLayout: false);
     PerformLayout();
 }