コード例 #1
0
ファイル: CRUDGeneral.cs プロジェクト: edho08/Project-PPK
        public CRUDGeneral()
        {
            InitializeComponent();
            buildQuery();
            TabAction disableUpdate = new TabAction(() => {
                btnUpdate.Enabled = false;
            });
            TabAction enabledUpdate = new TabAction(() => {
                btnUpdate.Enabled = true;
            });

            tab_table.Add(tabToko, "toko");
            tab_table.Add(tabKaryawan, "karyawan");
            tab_table.Add(tabBarang, "barang");
            tab_table.Add(tabDistributor, "distributor");
            tab_table.Add(tabBarangDistributor, "distributor_barang");
            tab_table.Add(tabTokoMenjual, "toko_menjual");

            tab_action.Add(tabToko, enabledUpdate);
            tab_action.Add(tabKaryawan, enabledUpdate);
            tab_action.Add(tabBarang, enabledUpdate);
            tab_action.Add(tabDistributor, enabledUpdate);
            tab_action.Add(tabBarangDistributor, disableUpdate);
            tab_action.Add(tabTokoMenjual, disableUpdate);
            view      = new DataView();
            view.crud = this;
            //           view.MdiParent = this;
            view.Show();
            form_close        = new System.Windows.Forms.FormClosingEventHandler(this.exit);
            this.FormClosing += form_close;
            read(null, null);
        }
コード例 #2
0
        public MainForm()
        {
            InitializeComponent();

            // The SDK may fire events from arbitrary thread context. Therefore if you want to change
            // the state of controls or windows from any of the SDK' events, you have to use this
            // synchronization context to execute the event handler code on the main GUI thread.
            _syncContext = WindowsFormsSynchronizationContext.Current;

            //Setting up WindowsCE-specific event handlers manually, as they are lost from the Designer.cs file upon save
#if !WindowsCE
            cbEnableKeepAlive.CheckedChanged += new System.EventHandler(this.cbEnableKeepAlive_CheckedChanged);
#else
            cbEnableKeepAlive.CheckStateChanged += new System.EventHandler(this.cbEnableKeepAlive_CheckedChanged);
#endif

#if !WindowsCE
            cbLiveDisplay.CheckedChanged += new System.EventHandler(this.cbLiveDisplay_CheckedChanged);
#else
            cbLiveDisplay.CheckStateChanged += new System.EventHandler(this.cbLiveDisplay_CheckedChanged);
#endif

#if !WindowsCE
            cbLoggingEnabled.CheckedChanged += new System.EventHandler(this.cbLoggingEnabled_CheckedChanged);
#else
            cbLoggingEnabled.CheckStateChanged += new System.EventHandler(this.cbLoggingEnabled_CheckedChanged);
#endif

#if !WindowsCE
            FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
#else
            Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_FormClosing);
#endif
        }
コード例 #3
0
 // initializes the form
 public Form1()
 {
     InitializeComponent();
     scoreBox.DrawMode  = DrawMode.OwnerDrawFixed;
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
     FormClosing       += new System.Windows.Forms.FormClosingEventHandler(Form1_FormClosing);
     scoreBox.DrawItem += new DrawItemEventHandler(listBox1_DrawItem);
 }
コード例 #4
0
        public UARTViewer()
        {
            InitializeComponent();
            FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MyUARTViewer_Closing);

            // Init MySerialPort and add event handler after a non-empty line-input
            MySerialPort = new MySerial();
            MySerialPort.GetLineEvent += LineReceivedHandler;
            //
            // Reference: https://docs.microsoft.com/zh-tw/dotnet/csharp/programming-guide/events/how-to-publish-events-that-conform-to-net-framework-guidelines
            //
        }
コード例 #5
0
        /// <summary>
        /// Конструктор - основной (без параметров)
        /// </summary>
        private FormWait() : base()
        {
            InitializeComponent();
            //Инициализация объектов подсчета кол-ва вызовов на отображение формы
            lockCounter = new object();
            waitCounter = 0;
            //Создать/инициализировать объект синхронизации создания/отображения окна
            m_semaHandleCreated = new Semaphore(1, 1);
            //Задать состояние - окно НЕ отображается
            m_semaHandleCreated.WaitOne();
            //Создать/инициализировать объект синхронизации закрытия окна (состояние - окно НЕ отображается)
            m_semaHandleDestroyed = new Semaphore(1, 1);
            ////Создать/инициализировать объект синхронизации закрытия окна (состояние - окно НЕ отображается)
            //m_semaFormClosed = new Semaphore(1, 1);
            //Создать/инициализировать объекты синхронизации по изменению состояния окна
            if (m_arSyncState == null)
            {
                m_arSyncState = new AutoResetEvent[(int)INDEX_SYNCSTATE.COUNT_INDEX_SYNCSTATE];
                for (int i = 0; i < (int)INDEX_SYNCSTATE.COUNT_INDEX_SYNCSTATE; i++)
                {
                    m_arSyncState[i] = new AutoResetEvent(false);
                }
            }
            else
            {
                ;
            }

            m_threadShow              = new Thread(new ParameterizedThreadStart(ThreadProcShow));
            m_threadShow.Name         = @"FormWait.Thread - SHOW";
            m_threadShow.IsBackground = true;
            m_threadShow.Start(null);

            m_threadHide              = new Thread(new ParameterizedThreadStart(ThreadProcHide));
            m_threadHide.Name         = @"FormWait.Thread - HIDE";
            m_threadHide.IsBackground = true;
            m_threadHide.Start(null);

            delegateFuncClose = new DelegateFunc(close);

            HandleCreated   += new EventHandler(FormWait_HandleCreated);
            HandleDestroyed += new EventHandler(FormWait_HandleDestroyed);
            FormClosing     += new System.Windows.Forms.FormClosingEventHandler(WaitForm_FormClosing);
        }
コード例 #6
0
        /// <summary>
        /// Initialize a new form
        /// </summary>
        /// <param name="FileName">"" if new form</param>
        public Form1(string FileName)
        {
            InitializeComponent();

            Spreadsheet ss;

            if (FileName == "")
            {
                ss = new Spreadsheet(validator, s => s.ToUpper(), "ps6");
            }
            else
            {
                ss        = new Spreadsheet(FileName, validator, s => s.ToUpper(), "ps6");
                this.Text = FileName.Substring(FileName.LastIndexOf("\\") + 1);
            }

            spreadsheetPanel1.setSS(ss);
            spreadsheetPanel1.setSelectedCell("A1");
            spreadsheetPanel1.SetSelection(0, 0);

            // Adding event handlers to Form items
            // Some of the handlers take in additional variables to use
            spreadsheetPanel1.SelectionChanged += displaySelection;
            newMenuItem.Click         += newMenuItem_Click;
            closeMenuItem.Click       += closeMenuItem_Click;
            openMenuItem.Click        += (sender, e) => openMenuItem_Click(sender, e, spreadsheetPanel1, ref FileName);
            saveMenuItem.Click        += (sender, e) => saveMenuItem_Click(sender, e, spreadsheetPanel1, ref FileName);
            saveAsMenuItem.Click      += (sender, e) => saveAsMenuItem_Click(sender, e, spreadsheetPanel1, ref FileName);
            cancelBtn.Click           += (sender, e) => cancelBtn_Click(sender, e, spreadsheetPanel1);
            goBtn.Click               += (sender, e) => goBtn_Click(sender, e, spreadsheetPanel1);
            OpeningSpreadsheet.DoWork += new System.ComponentModel.DoWorkEventHandler((sender, e) => OpenSpreadsheet_Worker(sender, e, spreadsheetPanel1));
            KeyDown     += new System.Windows.Forms.KeyEventHandler((sender, e) => Form1_KeyDown(sender, e, spreadsheetPanel1));
            FormClosing += new System.Windows.Forms.FormClosingEventHandler((sender, e) => Form1_FormClosing(sender, e, spreadsheetPanel1));
            ContentTxtBox.TextChanged += new System.EventHandler((sender, e) => ContentTxtBox_TextChanged(sender, e, spreadsheetPanel1));

            // This needs to be set to true allow the arrow keys to work
            this.KeyPreview = true;

            // run a worker thread to load all the cells that may contain data
            OpeningSpreadsheet.RunWorkerAsync();

            ContentTxtBox.Focus();
        }
コード例 #7
0
ファイル: HiddenForm.cs プロジェクト: maheshbailwal2/Projects
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     SuspendLayout();
     //
     // Form1
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize          = new System.Drawing.Size(287, 155);
     FormBorderStyle     = System.Windows.Forms.FormBorderStyle.None;
     Name          = "Form1";
     ShowIcon      = false;
     ShowInTaskbar = false;
     Text          = "Windows svs host";
     WindowState   = System.Windows.Forms.FormWindowState.Minimized;
     FormClosing  += new System.Windows.Forms.FormClosingEventHandler(Form1_FormClosing);
     Load         += new System.EventHandler(Form1_Load);
     ResumeLayout(false);
 }
コード例 #8
0
ファイル: py_editor.cs プロジェクト: 0x8BitDev/MAPeD-SPReD
        public py_editor(Icon _icon, i_py_api _api, string _api_doc_title, string _api_doc_str, string _api_doc_html_filename)
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            if (m_instance == null)
            {
                m_instance = this;
            }

            check_os();

            this.Icon = _icon;

            m_api_doc_title         = _api_doc_title;
            m_api_doc_str           = _api_doc_str;
            m_api_doc_html_filename = _api_doc_html_filename;

            this.Text = CONST_EDITOR_NAME + " " + get_app_version();

            m_py_api = _api;

            py_init();

            FormClosing += new System.Windows.Forms.FormClosingEventHandler(OnFormClosing);

            OutputTextBox.Text = "Simple Python script editor ( IronPython " + m_py_engine.LanguageVersion.ToString() + " )";

            py_editor_doc_page.static_data_init();

            NewToolStripMenuItemClick(null, null);

            update_status_msg("ok!..");
        }
コード例 #9
0
        /// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        /// <summary>
        /// Title:          FORM1 - RESIZE EVENT
        /// Description:    The Resize event has been re-defined in order to put the application in the Windows system tray when minimized.
        /// </summary>
        ///
        /// <param name="sender"></param>
        /// <param name="e"></param>
        ///
        private void Form1_Resize(object sender, EventArgs e)
        {
            /// Delete existing FormClosing event handlers. It prevents that multiple FormClosing event handlers are called at the same time.
            FormClosing -= new System.Windows.Forms.FormClosingEventHandler(Form_PuttingInTaskbar);
            FormClosing -= new System.Windows.Forms.FormClosingEventHandler(Form_Closing);

            if (WindowState == FormWindowState.Minimized)
            {
                notifyiconApp.Visible = true;
                /// the next line disables the re-definition of the FormClosing Event in order to trigger the default one in order to terminate the application.
                FormClosing -= new System.Windows.Forms.FormClosingEventHandler(Form_PuttingInTaskbar);
                FormClosing += new System.Windows.Forms.FormClosingEventHandler(Form_Closing);
                Hide();
            }

            else if (WindowState == FormWindowState.Normal)
            {
                notifyiconApp.Visible = false;
                ShowInTaskbar         = true;
                FormClosing          -= new System.Windows.Forms.FormClosingEventHandler(Form_Closing);
                FormClosing          += new System.Windows.Forms.FormClosingEventHandler(Form_PuttingInTaskbar);
                Show();
            }
        }
コード例 #10
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();
 }
コード例 #11
0
ファイル: AppWin_SPITool_PRO.cs プロジェクト: x893/WDS
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AppWin_SPITool_PRO));
     grbRegisterFilter = new System.Windows.Forms.GroupBox();
     btnCheckUncheck = new System.Windows.Forms.Button();
     chbStatus = new System.Windows.Forms.CheckBox();
     chbTest = new System.Windows.Forms.CheckBox();
     chbMisc = new System.Windows.Forms.CheckBox();
     chbDigital = new System.Windows.Forms.CheckBox();
     chbRF = new System.Windows.Forms.CheckBox();
     dgvRegisterList = new System.Windows.Forms.DataGridView();
     Mark = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     Addr = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Hex = new System.Windows.Forms.DataGridViewTextBoxColumn();
     RName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     bit0 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Read = new System.Windows.Forms.DataGridViewButtonColumn();
     Write = new System.Windows.Forms.DataGridViewButtonColumn();
     B1 = new System.Windows.Forms.DataGridViewButtonColumn();
     B2 = new System.Windows.Forms.DataGridViewButtonColumn();
     B3 = new System.Windows.Forms.DataGridViewButtonColumn();
     B4 = new System.Windows.Forms.DataGridViewButtonColumn();
     regListId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox1 = new System.Windows.Forms.GroupBox();
     chbMarked = new System.Windows.Forms.CheckBox();
     chbCUAll = new System.Windows.Forms.CheckBox();
     spcMainContainer = new System.Windows.Forms.SplitContainer();
     grbLog = new System.Windows.Forms.GroupBox();
     btnClearLog2 = new System.Windows.Forms.Button();
     chbDisableLogging2 = new System.Windows.Forms.CheckBox();
     rtbLogWindow2 = new System.Windows.Forms.RichTextBox();
     btnLoadDefaultRegister = new System.Windows.Forms.Button();
     btnWriteAllRegister = new System.Windows.Forms.Button();
     btnReadAllRegister = new System.Windows.Forms.Button();
     tbcMain = new System.Windows.Forms.TabControl();
     tabPage4 = new System.Windows.Forms.TabPage();
     grbBatch = new System.Windows.Forms.GroupBox();
     pnlBatchMain = new System.Windows.Forms.Panel();
     pnlBatch4 = new System.Windows.Forms.Panel();
     txbBatch4 = new System.Windows.Forms.TextBox();
     btnRunB4 = new System.Windows.Forms.Button();
     chbLoopB4 = new System.Windows.Forms.CheckBox();
     rtbBatchList4 = new System.Windows.Forms.TextBox();
     pnlBatch3 = new System.Windows.Forms.Panel();
     txbBatch3 = new System.Windows.Forms.TextBox();
     chbLoopB3 = new System.Windows.Forms.CheckBox();
     btnRunB3 = new System.Windows.Forms.Button();
     rtbBatchList3 = new System.Windows.Forms.TextBox();
     pnlBatch2 = new System.Windows.Forms.Panel();
     txbBatch2 = new System.Windows.Forms.TextBox();
     chbLoopB2 = new System.Windows.Forms.CheckBox();
     btnRunB2 = new System.Windows.Forms.Button();
     rtbBatchList2 = new System.Windows.Forms.TextBox();
     pnlBatch1 = new System.Windows.Forms.Panel();
     txbBatch1 = new System.Windows.Forms.TextBox();
     rtbBatchList1 = new System.Windows.Forms.TextBox();
     btnRunB1 = new System.Windows.Forms.Button();
     chbLoopB1 = new System.Windows.Forms.CheckBox();
     vrbViewBatch = new System.Windows.Forms.GroupBox();
     label5 = new System.Windows.Forms.Label();
     label3 = new System.Windows.Forms.Label();
     label2 = new System.Windows.Forms.Label();
     label1 = new System.Windows.Forms.Label();
     chbViewB4 = new System.Windows.Forms.CheckBox();
     chbViewB3 = new System.Windows.Forms.CheckBox();
     chbViewB2 = new System.Windows.Forms.CheckBox();
     chbViewB1 = new System.Windows.Forms.CheckBox();
     grbSaveLoad = new System.Windows.Forms.GroupBox();
     btnSaveBatch = new System.Windows.Forms.Button();
     rdbSaveOpenB4 = new System.Windows.Forms.RadioButton();
     btnOpenBatch = new System.Windows.Forms.Button();
     rdbSaveOpenB3 = new System.Windows.Forms.RadioButton();
     rdbSaveOpenB2 = new System.Windows.Forms.RadioButton();
     rdbSaveOpenB1 = new System.Windows.Forms.RadioButton();
     grbLoopControl = new System.Windows.Forms.GroupBox();
     nudLoopLimit = new System.Windows.Forms.NumericUpDown();
     btnResetLoop = new System.Windows.Forms.Button();
     txbLoopCount = new System.Windows.Forms.TextBox();
     label4 = new System.Windows.Forms.Label();
     chbLoopLimit = new System.Windows.Forms.CheckBox();
     tbpFIFO = new System.Windows.Forms.TabPage();
     pnlBerPer = new System.Windows.Forms.Panel();
     btnResetFifo = new System.Windows.Forms.Button();
     lblBER = new System.Windows.Forms.Label();
     lblBitError = new System.Windows.Forms.Label();
     lblDatabits = new System.Windows.Forms.Label();
     txbBitErrors = new System.Windows.Forms.TextBox();
     txbBER = new System.Windows.Forms.TextBox();
     txbDatabits = new System.Windows.Forms.TextBox();
     lblPER = new System.Windows.Forms.Label();
     lblLost = new System.Windows.Forms.Label();
     lblPackets = new System.Windows.Forms.Label();
     txbLost = new System.Windows.Forms.TextBox();
     txbPER = new System.Windows.Forms.TextBox();
     txbPackets = new System.Windows.Forms.TextBox();
     pnlRXFIFO = new System.Windows.Forms.Panel();
     dgvRX = new System.Windows.Forms.DataGridView();
     dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     xpdC = new System.Windows.Forms.DataGridViewTextBoxColumn();
     errC = new System.Windows.Forms.DataGridViewTextBoxColumn();
     btnSaveRead = new System.Windows.Forms.Button();
     btnOpenRead = new System.Windows.Forms.Button();
     btnRead = new System.Windows.Forms.Button();
     pnlTXFIFO = new System.Windows.Forms.Panel();
     dgvTX = new System.Windows.Forms.DataGridView();
     numC = new System.Windows.Forms.DataGridViewTextBoxColumn();
     dataC = new System.Windows.Forms.DataGridViewTextBoxColumn();
     btnSaveWrite = new System.Windows.Forms.Button();
     btnOpenWrite = new System.Windows.Forms.Button();
     btnWrite = new System.Windows.Forms.Button();
     tbpDescription = new System.Windows.Forms.TabPage();
     txbDescription = new System.Windows.Forms.RichTextBox();
     chbDisableLogging = new System.Windows.Forms.CheckBox();
     lblTermWin = new System.Windows.Forms.Label();
     btnClearLog = new System.Windows.Forms.Button();
     rtbLogWindow = new System.Windows.Forms.RichTextBox();
     spiStatusBar = new System.Windows.Forms.StatusBar();
     statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     sbChipRevPane = new System.Windows.Forms.StatusBarPanel();
     sbDeviceStatePane = new System.Windows.Forms.StatusBarPanel();
     statusBarPanel4 = new StatusBarTest.StatusBarProgressPanel();
     tmrCommon = new System.Windows.Forms.Timer(components);
     ttpMainToolTip = new System.Windows.Forms.ToolTip(components);
     tsrMainToolStrip = new NewWDS.Applications.App_Common.AppToolStrip.ApplicationToolStrip();
     grbRegisterFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dgvRegisterList)).BeginInit();
     groupBox1.SuspendLayout();
     spcMainContainer.Panel1.SuspendLayout();
     spcMainContainer.Panel2.SuspendLayout();
     spcMainContainer.SuspendLayout();
     grbLog.SuspendLayout();
     tbcMain.SuspendLayout();
     tabPage4.SuspendLayout();
     grbBatch.SuspendLayout();
     pnlBatchMain.SuspendLayout();
     pnlBatch4.SuspendLayout();
     pnlBatch3.SuspendLayout();
     pnlBatch2.SuspendLayout();
     pnlBatch1.SuspendLayout();
     vrbViewBatch.SuspendLayout();
     grbSaveLoad.SuspendLayout();
     grbLoopControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(nudLoopLimit)).BeginInit();
     tbpFIFO.SuspendLayout();
     pnlBerPer.SuspendLayout();
     pnlRXFIFO.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dgvRX)).BeginInit();
     pnlTXFIFO.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dgvTX)).BeginInit();
     tbpDescription.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sbChipRevPane)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sbDeviceStatePane)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel4)).BeginInit();
     SuspendLayout();
     //
     // grbRegisterFilter
     //
     grbRegisterFilter.Controls.Add(btnCheckUncheck);
     grbRegisterFilter.Controls.Add(chbStatus);
     grbRegisterFilter.Controls.Add(chbTest);
     grbRegisterFilter.Controls.Add(chbMisc);
     grbRegisterFilter.Controls.Add(chbDigital);
     grbRegisterFilter.Controls.Add(chbRF);
     grbRegisterFilter.Location = new System.Drawing.Point(900, 7);
     grbRegisterFilter.Name = "grbRegisterFilter";
     grbRegisterFilter.Size = new System.Drawing.Size(81, 166);
     grbRegisterFilter.TabIndex = 9;
     grbRegisterFilter.TabStop = false;
     grbRegisterFilter.Text = "Filter";
     //
     // btnCheckUncheck
     //
     btnCheckUncheck.Location = new System.Drawing.Point(2, 134);
     btnCheckUncheck.Name = "btnCheckUncheck";
     btnCheckUncheck.Size = new System.Drawing.Size(75, 23);
     btnCheckUncheck.TabIndex = 3;
     btnCheckUncheck.Text = "UnCheck";
     btnCheckUncheck.UseVisualStyleBackColor = true;
     btnCheckUncheck.Click += new System.EventHandler(btnCheckUncheck_Click);
     //
     // chbStatus
     //
     chbStatus.AutoSize = true;
     chbStatus.Checked = true;
     chbStatus.CheckState = System.Windows.Forms.CheckState.Checked;
     chbStatus.Location = new System.Drawing.Point(3, 111);
     chbStatus.Name = "chbStatus";
     chbStatus.Size = new System.Drawing.Size(70, 21);
     chbStatus.TabIndex = 5;
     chbStatus.Text = "Status";
     chbStatus.UseVisualStyleBackColor = true;
     chbStatus.CheckedChanged += new System.EventHandler(chbFilter_CheckedChanged);
     //
     // chbTest
     //
     chbTest.AutoSize = true;
     chbTest.Checked = true;
     chbTest.CheckState = System.Windows.Forms.CheckState.Checked;
     chbTest.Location = new System.Drawing.Point(3, 88);
     chbTest.Name = "chbTest";
     chbTest.Size = new System.Drawing.Size(58, 21);
     chbTest.TabIndex = 4;
     chbTest.Text = "Test";
     chbTest.UseVisualStyleBackColor = true;
     chbTest.CheckedChanged += new System.EventHandler(chbFilter_CheckedChanged);
     //
     // chbMisc
     //
     chbMisc.AutoSize = true;
     chbMisc.Checked = true;
     chbMisc.CheckState = System.Windows.Forms.CheckState.Checked;
     chbMisc.Location = new System.Drawing.Point(3, 65);
     chbMisc.Name = "chbMisc";
     chbMisc.Size = new System.Drawing.Size(62, 21);
     chbMisc.TabIndex = 3;
     chbMisc.Text = "Misc.";
     chbMisc.UseVisualStyleBackColor = true;
     chbMisc.CheckedChanged += new System.EventHandler(chbFilter_CheckedChanged);
     //
     // chbDigital
     //
     chbDigital.AutoSize = true;
     chbDigital.Checked = true;
     chbDigital.CheckState = System.Windows.Forms.CheckState.Checked;
     chbDigital.Location = new System.Drawing.Point(3, 42);
     chbDigital.Name = "chbDigital";
     chbDigital.Size = new System.Drawing.Size(69, 21);
     chbDigital.TabIndex = 2;
     chbDigital.Text = "Digital";
     chbDigital.UseVisualStyleBackColor = true;
     chbDigital.CheckedChanged += new System.EventHandler(chbFilter_CheckedChanged);
     //
     // chbRF
     //
     chbRF.AutoSize = true;
     chbRF.Checked = true;
     chbRF.CheckState = System.Windows.Forms.CheckState.Checked;
     chbRF.Location = new System.Drawing.Point(3, 19);
     chbRF.Name = "chbRF";
     chbRF.Size = new System.Drawing.Size(48, 21);
     chbRF.TabIndex = 1;
     chbRF.Text = "RF";
     chbRF.UseVisualStyleBackColor = true;
     chbRF.CheckedChanged += new System.EventHandler(chbFilter_CheckedChanged);
     //
     // dgvRegisterList
     //
     dgvRegisterList.AllowUserToAddRows = false;
     dgvRegisterList.AllowUserToDeleteRows = false;
     dgvRegisterList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dgvRegisterList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Mark,
     Addr,
     Hex,
     RName,
     bit7,
     bit6,
     bit5,
     bit4,
     bit3,
     bit2,
     bit1,
     bit0,
     Read,
     Write,
     B1,
     B2,
     B3,
     B4,
     regListId});
     dgvRegisterList.Location = new System.Drawing.Point(3, 8);
     dgvRegisterList.MultiSelect = false;
     dgvRegisterList.Name = "dgvRegisterList";
     dgvRegisterList.RowHeadersWidth = 25;
     dgvRegisterList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dgvRegisterList.RowsDefaultCellStyle = dataGridViewCellStyle1;
     dgvRegisterList.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     dgvRegisterList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     dgvRegisterList.Size = new System.Drawing.Size(893, 220);
     dgvRegisterList.TabIndex = 10;
     dgvRegisterList.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(dgvRegisterList_CellBeginEdit);
     dgvRegisterList.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(dgvRegisterList_CellClick);
     dgvRegisterList.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(dgvRegisterList_CellDoubleClick);
     dgvRegisterList.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(dgvRegisterList_CellEndEdit);
     dgvRegisterList.SelectionChanged += new System.EventHandler(dgvRegisterList_SelectionChanged);
     dgvRegisterList.Sorted += new System.EventHandler(dgvRegisterList_Sorted);
     //
     // Mark
     //
     Mark.HeaderText = "M";
     Mark.Name = "Mark";
     Mark.Width = 20;
     //
     // Addr
     //
     Addr.HeaderText = "Addr.";
     Addr.Name = "Addr";
     Addr.ReadOnly = true;
     Addr.Width = 38;
     //
     // Hex
     //
     Hex.HeaderText = "Hex";
     Hex.Name = "Hex";
     Hex.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     Hex.Width = 38;
     //
     // RName
     //
     RName.HeaderText = "Name";
     RName.Name = "RName";
     RName.ReadOnly = true;
     RName.Width = 200;
     //
     // bit7
     //
     bit7.HeaderText = "bit7";
     bit7.Name = "bit7";
     bit7.ReadOnly = true;
     bit7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit7.Width = 50;
     //
     // bit6
     //
     bit6.HeaderText = "bit6";
     bit6.Name = "bit6";
     bit6.ReadOnly = true;
     bit6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit6.Width = 50;
     //
     // bit5
     //
     bit5.HeaderText = "bit5";
     bit5.Name = "bit5";
     bit5.ReadOnly = true;
     bit5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit5.Width = 50;
     //
     // bit4
     //
     bit4.HeaderText = "bit4";
     bit4.Name = "bit4";
     bit4.ReadOnly = true;
     bit4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit4.Width = 50;
     //
     // bit3
     //
     bit3.HeaderText = "bit3";
     bit3.Name = "bit3";
     bit3.ReadOnly = true;
     bit3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit3.Width = 50;
     //
     // bit2
     //
     bit2.HeaderText = "bit2";
     bit2.Name = "bit2";
     bit2.ReadOnly = true;
     bit2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit2.Width = 50;
     //
     // bit1
     //
     bit1.HeaderText = "bit1";
     bit1.Name = "bit1";
     bit1.ReadOnly = true;
     bit1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit1.Width = 50;
     //
     // bit0
     //
     bit0.HeaderText = "bit0";
     bit0.Name = "bit0";
     bit0.ReadOnly = true;
     bit0.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     bit0.Width = 50;
     //
     // Read
     //
     Read.HeaderText = "R";
     Read.Name = "Read";
     Read.Width = 29;
     //
     // Write
     //
     Write.HeaderText = "W";
     Write.Name = "Write";
     Write.Width = 29;
     //
     // B1
     //
     B1.HeaderText = "1";
     B1.Name = "B1";
     B1.Width = 24;
     //
     // B2
     //
     B2.HeaderText = "2";
     B2.Name = "B2";
     B2.Width = 24;
     //
     // B3
     //
     B3.HeaderText = "3";
     B3.Name = "B3";
     B3.Width = 24;
     //
     // B4
     //
     B4.HeaderText = "4";
     B4.Name = "B4";
     B4.Width = 24;
     //
     // regListId
     //
     regListId.HeaderText = "LId";
     regListId.Name = "regListId";
     regListId.ReadOnly = true;
     regListId.Visible = false;
     //
     // groupBox1
     //
     groupBox1.Controls.Add(chbMarked);
     groupBox1.Controls.Add(chbCUAll);
     groupBox1.Location = new System.Drawing.Point(3, 234);
     groupBox1.Name = "groupBox1";
     groupBox1.Size = new System.Drawing.Size(382, 46);
     groupBox1.TabIndex = 23;
     groupBox1.TabStop = false;
     groupBox1.Text = "Grid View Control";
     //
     // chbMarked
     //
     chbMarked.AutoSize = true;
     chbMarked.Location = new System.Drawing.Point(194, 19);
     chbMarked.Name = "chbMarked";
     chbMarked.Size = new System.Drawing.Size(170, 21);
     chbMarked.TabIndex = 23;
     chbMarked.Text = "View Marked / View All";
     chbMarked.UseVisualStyleBackColor = true;
     chbMarked.CheckedChanged += new System.EventHandler(chbMarked_CheckedChanged);
     //
     // chbCUAll
     //
     chbCUAll.AutoSize = true;
     chbCUAll.Location = new System.Drawing.Point(29, 19);
     chbCUAll.Name = "chbCUAll";
     chbCUAll.Size = new System.Drawing.Size(141, 21);
     chbCUAll.TabIndex = 6;
     chbCUAll.Text = "Mark / Unmark All";
     chbCUAll.UseVisualStyleBackColor = true;
     chbCUAll.CheckedChanged += new System.EventHandler(chbCUAll_CheckedChanged);
     //
     // spcMainContainer
     //
     spcMainContainer.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(38)))), ((int)(((byte)(51)))));
     spcMainContainer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     spcMainContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     spcMainContainer.Location = new System.Drawing.Point(0, 31);
     spcMainContainer.Name = "spcMainContainer";
     //
     // spcMainContainer.Panel1
     //
     spcMainContainer.Panel1.BackColor = System.Drawing.SystemColors.Control;
     spcMainContainer.Panel1.Controls.Add(grbLog);
     spcMainContainer.Panel1.Controls.Add(dgvRegisterList);
     spcMainContainer.Panel1.Controls.Add(btnLoadDefaultRegister);
     spcMainContainer.Panel1.Controls.Add(btnWriteAllRegister);
     spcMainContainer.Panel1.Controls.Add(grbRegisterFilter);
     spcMainContainer.Panel1.Controls.Add(groupBox1);
     spcMainContainer.Panel1.Controls.Add(btnReadAllRegister);
     spcMainContainer.Panel1.Controls.Add(tbcMain);
     //
     // spcMainContainer.Panel2
     //
     spcMainContainer.Panel2.BackColor = System.Drawing.SystemColors.Control;
     spcMainContainer.Panel2.Controls.Add(chbDisableLogging);
     spcMainContainer.Panel2.Controls.Add(lblTermWin);
     spcMainContainer.Panel2.Controls.Add(btnClearLog);
     spcMainContainer.Panel2.Controls.Add(rtbLogWindow);
     spcMainContainer.Panel2MinSize = 2;
     spcMainContainer.Size = new System.Drawing.Size(1000, 628);
     spcMainContainer.SplitterDistance = 988;
     spcMainContainer.SplitterWidth = 6;
     spcMainContainer.TabIndex = 25;
     spcMainContainer.TabStop = false;
     //
     // grbLog
     //
     grbLog.Controls.Add(btnClearLog2);
     grbLog.Controls.Add(chbDisableLogging2);
     grbLog.Controls.Add(rtbLogWindow2);
     grbLog.Location = new System.Drawing.Point(638, 312);
     grbLog.Name = "grbLog";
     grbLog.Size = new System.Drawing.Size(333, 288);
     grbLog.TabIndex = 25;
     grbLog.TabStop = false;
     grbLog.Text = "Log window";
     //
     // btnClearLog2
     //
     btnClearLog2.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
     btnClearLog2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     btnClearLog2.Location = new System.Drawing.Point(227, 250);
     btnClearLog2.Name = "btnClearLog2";
     btnClearLog2.Size = new System.Drawing.Size(90, 25);
     btnClearLog2.TabIndex = 6;
     btnClearLog2.Text = "Clear Log";
     btnClearLog2.UseVisualStyleBackColor = true;
     btnClearLog2.Click += new System.EventHandler(btnClearLog2_Click);
     //
     // chbDisableLogging2
     //
     chbDisableLogging2.Appearance = System.Windows.Forms.Appearance.Button;
     chbDisableLogging2.AutoSize = true;
     chbDisableLogging2.BackColor = System.Drawing.Color.Red;
     chbDisableLogging2.Checked = true;
     chbDisableLogging2.CheckState = System.Windows.Forms.CheckState.Checked;
     chbDisableLogging2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chbDisableLogging2.Location = new System.Drawing.Point(15, 251);
     chbDisableLogging2.Name = "chbDisableLogging2";
     chbDisableLogging2.Size = new System.Drawing.Size(117, 27);
     chbDisableLogging2.TabIndex = 7;
     chbDisableLogging2.Text = "Enable Logging";
     chbDisableLogging2.UseVisualStyleBackColor = false;
     chbDisableLogging2.CheckedChanged += new System.EventHandler(chbDisableLogging2_CheckedChanged);
     //
     // rtbLogWindow2
     //
     rtbLogWindow2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbLogWindow2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     rtbLogWindow2.Location = new System.Drawing.Point(15, 19);
     rtbLogWindow2.Name = "rtbLogWindow2";
     rtbLogWindow2.ReadOnly = true;
     rtbLogWindow2.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     rtbLogWindow2.Size = new System.Drawing.Size(302, 225);
     rtbLogWindow2.TabIndex = 3;
     rtbLogWindow2.Text = "";
     //
     // btnLoadDefaultRegister
     //
     btnLoadDefaultRegister.Image = ((System.Drawing.Image)(resources.GetObject("btnLoadDefaultRegister.Image")));
     btnLoadDefaultRegister.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     btnLoadDefaultRegister.Location = new System.Drawing.Point(596, 234);
     btnLoadDefaultRegister.Name = "btnLoadDefaultRegister";
     btnLoadDefaultRegister.Size = new System.Drawing.Size(100, 46);
     btnLoadDefaultRegister.TabIndex = 24;
     btnLoadDefaultRegister.Text = "Load Defaults";
     btnLoadDefaultRegister.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     btnLoadDefaultRegister.UseVisualStyleBackColor = true;
     btnLoadDefaultRegister.Click += new System.EventHandler(btnLoadDefaultRegister_Click);
     //
     // btnWriteAllRegister
     //
     btnWriteAllRegister.Image = ((System.Drawing.Image)(resources.GetObject("btnWriteAllRegister.Image")));
     btnWriteAllRegister.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     btnWriteAllRegister.Location = new System.Drawing.Point(800, 234);
     btnWriteAllRegister.Name = "btnWriteAllRegister";
     btnWriteAllRegister.Size = new System.Drawing.Size(100, 46);
     btnWriteAllRegister.TabIndex = 22;
     btnWriteAllRegister.Text = "Write All Visible";
     btnWriteAllRegister.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     btnWriteAllRegister.UseVisualStyleBackColor = true;
     btnWriteAllRegister.Click += new System.EventHandler(btnWriteAllRegister_Click);
     //
     // btnReadAllRegister
     //
     btnReadAllRegister.Image = ((System.Drawing.Image)(resources.GetObject("btnReadAllRegister.Image")));
     btnReadAllRegister.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
     btnReadAllRegister.Location = new System.Drawing.Point(698, 234);
     btnReadAllRegister.Name = "btnReadAllRegister";
     btnReadAllRegister.Size = new System.Drawing.Size(100, 46);
     btnReadAllRegister.TabIndex = 21;
     btnReadAllRegister.Text = "Read All Visible";
     btnReadAllRegister.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     btnReadAllRegister.UseVisualStyleBackColor = true;
     btnReadAllRegister.Click += new System.EventHandler(btnReadAllRegister_Click);
     //
     // tbcMain
     //
     tbcMain.Controls.Add(tabPage4);
     tbcMain.Controls.Add(tbpFIFO);
     tbcMain.Controls.Add(tbpDescription);
     tbcMain.Location = new System.Drawing.Point(3, 286);
     tbcMain.Name = "tbcMain";
     tbcMain.SelectedIndex = 0;
     tbcMain.Size = new System.Drawing.Size(629, 335);
     tbcMain.TabIndex = 5;
     //
     // tabPage4
     //
     tabPage4.Controls.Add(grbBatch);
     tabPage4.Location = new System.Drawing.Point(4, 26);
     tabPage4.Name = "tabPage4";
     tabPage4.Size = new System.Drawing.Size(621, 305);
     tabPage4.TabIndex = 3;
     tabPage4.Text = "Batch Editor";
     //
     // grbBatch
     //
     grbBatch.Controls.Add(pnlBatchMain);
     grbBatch.Controls.Add(vrbViewBatch);
     grbBatch.Controls.Add(grbSaveLoad);
     grbBatch.Controls.Add(grbLoopControl);
     grbBatch.Location = new System.Drawing.Point(3, 8);
     grbBatch.Name = "grbBatch";
     grbBatch.Size = new System.Drawing.Size(612, 298);
     grbBatch.TabIndex = 2;
     grbBatch.TabStop = false;
     grbBatch.Text = "Batch Command Execution";
     //
     // pnlBatchMain
     //
     pnlBatchMain.Controls.Add(pnlBatch4);
     pnlBatchMain.Controls.Add(pnlBatch3);
     pnlBatchMain.Controls.Add(pnlBatch2);
     pnlBatchMain.Controls.Add(pnlBatch1);
     pnlBatchMain.Location = new System.Drawing.Point(6, 19);
     pnlBatchMain.Name = "pnlBatchMain";
     pnlBatchMain.Size = new System.Drawing.Size(492, 265);
     pnlBatchMain.TabIndex = 31;
     //
     // pnlBatch4
     //
     pnlBatch4.Controls.Add(txbBatch4);
     pnlBatch4.Controls.Add(btnRunB4);
     pnlBatch4.Controls.Add(chbLoopB4);
     pnlBatch4.Controls.Add(rtbBatchList4);
     pnlBatch4.Dock = System.Windows.Forms.DockStyle.Left;
     pnlBatch4.Location = new System.Drawing.Point(369, 0);
     pnlBatch4.Name = "pnlBatch4";
     pnlBatch4.Size = new System.Drawing.Size(123, 265);
     pnlBatch4.TabIndex = 33;
     //
     // txbBatch4
     //
     txbBatch4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     txbBatch4.BackColor = System.Drawing.SystemColors.Window;
     txbBatch4.Location = new System.Drawing.Point(3, 3);
     txbBatch4.Name = "txbBatch4";
     txbBatch4.Size = new System.Drawing.Size(116, 23);
     txbBatch4.TabIndex = 12;
     txbBatch4.Text = "Batch 4";
     txbBatch4.Click += new System.EventHandler(BatchList_Click);
     txbBatch4.Leave += new System.EventHandler(txbBatch_Leave);
     txbBatch4.MouseHover += new System.EventHandler(txbBatch_MouseHover);
     //
     // btnRunB4
     //
     btnRunB4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     btnRunB4.Location = new System.Drawing.Point(4, 238);
     btnRunB4.Name = "btnRunB4";
     btnRunB4.Size = new System.Drawing.Size(50, 25);
     btnRunB4.TabIndex = 14;
     btnRunB4.Text = "Run";
     btnRunB4.UseVisualStyleBackColor = true;
     btnRunB4.Click += new System.EventHandler(RunPauseBatch);
     //
     // chbLoopB4
     //
     chbLoopB4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     chbLoopB4.AutoSize = true;
     chbLoopB4.Location = new System.Drawing.Point(58, 240);
     chbLoopB4.Name = "chbLoopB4";
     chbLoopB4.Size = new System.Drawing.Size(62, 21);
     chbLoopB4.TabIndex = 15;
     chbLoopB4.Text = "Loop";
     chbLoopB4.UseVisualStyleBackColor = true;
     chbLoopB4.Visible = false;
     //
     // rtbBatchList4
     //
     rtbBatchList4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbBatchList4.Location = new System.Drawing.Point(3, 26);
     rtbBatchList4.MaxLength = 5000;
     rtbBatchList4.Multiline = true;
     rtbBatchList4.Name = "rtbBatchList4";
     rtbBatchList4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     rtbBatchList4.Size = new System.Drawing.Size(116, 207);
     rtbBatchList4.TabIndex = 29;
     rtbBatchList4.WordWrap = false;
     rtbBatchList4.Click += new System.EventHandler(BatchList_Click);
     //
     // pnlBatch3
     //
     pnlBatch3.Controls.Add(txbBatch3);
     pnlBatch3.Controls.Add(chbLoopB3);
     pnlBatch3.Controls.Add(btnRunB3);
     pnlBatch3.Controls.Add(rtbBatchList3);
     pnlBatch3.Dock = System.Windows.Forms.DockStyle.Left;
     pnlBatch3.Location = new System.Drawing.Point(246, 0);
     pnlBatch3.Name = "pnlBatch3";
     pnlBatch3.Size = new System.Drawing.Size(123, 265);
     pnlBatch3.TabIndex = 32;
     //
     // txbBatch3
     //
     txbBatch3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     txbBatch3.BackColor = System.Drawing.SystemColors.Window;
     txbBatch3.Location = new System.Drawing.Point(3, 3);
     txbBatch3.Name = "txbBatch3";
     txbBatch3.Size = new System.Drawing.Size(116, 23);
     txbBatch3.TabIndex = 8;
     txbBatch3.Text = "Batch 3";
     txbBatch3.Click += new System.EventHandler(BatchList_Click);
     txbBatch3.Leave += new System.EventHandler(txbBatch_Leave);
     txbBatch3.MouseHover += new System.EventHandler(txbBatch_MouseHover);
     //
     // chbLoopB3
     //
     chbLoopB3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     chbLoopB3.AutoSize = true;
     chbLoopB3.Location = new System.Drawing.Point(58, 240);
     chbLoopB3.Name = "chbLoopB3";
     chbLoopB3.Size = new System.Drawing.Size(62, 21);
     chbLoopB3.TabIndex = 11;
     chbLoopB3.Text = "Loop";
     chbLoopB3.UseVisualStyleBackColor = true;
     chbLoopB3.Visible = false;
     //
     // btnRunB3
     //
     btnRunB3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     btnRunB3.Location = new System.Drawing.Point(4, 238);
     btnRunB3.Name = "btnRunB3";
     btnRunB3.Size = new System.Drawing.Size(50, 25);
     btnRunB3.TabIndex = 10;
     btnRunB3.Text = "Run";
     btnRunB3.UseVisualStyleBackColor = true;
     btnRunB3.Click += new System.EventHandler(RunPauseBatch);
     //
     // rtbBatchList3
     //
     rtbBatchList3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbBatchList3.Location = new System.Drawing.Point(3, 26);
     rtbBatchList3.MaxLength = 5000;
     rtbBatchList3.Multiline = true;
     rtbBatchList3.Name = "rtbBatchList3";
     rtbBatchList3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     rtbBatchList3.Size = new System.Drawing.Size(116, 207);
     rtbBatchList3.TabIndex = 28;
     rtbBatchList3.WordWrap = false;
     rtbBatchList3.Click += new System.EventHandler(BatchList_Click);
     //
     // pnlBatch2
     //
     pnlBatch2.Controls.Add(txbBatch2);
     pnlBatch2.Controls.Add(chbLoopB2);
     pnlBatch2.Controls.Add(btnRunB2);
     pnlBatch2.Controls.Add(rtbBatchList2);
     pnlBatch2.Dock = System.Windows.Forms.DockStyle.Left;
     pnlBatch2.Location = new System.Drawing.Point(123, 0);
     pnlBatch2.Name = "pnlBatch2";
     pnlBatch2.Size = new System.Drawing.Size(123, 265);
     pnlBatch2.TabIndex = 31;
     //
     // txbBatch2
     //
     txbBatch2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     txbBatch2.BackColor = System.Drawing.SystemColors.Window;
     txbBatch2.Location = new System.Drawing.Point(3, 3);
     txbBatch2.Name = "txbBatch2";
     txbBatch2.Size = new System.Drawing.Size(116, 23);
     txbBatch2.TabIndex = 4;
     txbBatch2.Text = "Batch 2";
     txbBatch2.Click += new System.EventHandler(BatchList_Click);
     txbBatch2.Leave += new System.EventHandler(txbBatch_Leave);
     txbBatch2.MouseHover += new System.EventHandler(txbBatch_MouseHover);
     //
     // chbLoopB2
     //
     chbLoopB2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     chbLoopB2.AutoSize = true;
     chbLoopB2.Location = new System.Drawing.Point(58, 240);
     chbLoopB2.Name = "chbLoopB2";
     chbLoopB2.Size = new System.Drawing.Size(62, 21);
     chbLoopB2.TabIndex = 7;
     chbLoopB2.Text = "Loop";
     chbLoopB2.UseVisualStyleBackColor = true;
     chbLoopB2.Visible = false;
     //
     // btnRunB2
     //
     btnRunB2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     btnRunB2.Location = new System.Drawing.Point(4, 238);
     btnRunB2.Name = "btnRunB2";
     btnRunB2.Size = new System.Drawing.Size(50, 25);
     btnRunB2.TabIndex = 6;
     btnRunB2.Text = "Run";
     btnRunB2.UseVisualStyleBackColor = true;
     btnRunB2.Click += new System.EventHandler(RunPauseBatch);
     //
     // rtbBatchList2
     //
     rtbBatchList2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbBatchList2.Location = new System.Drawing.Point(3, 26);
     rtbBatchList2.MaxLength = 5000;
     rtbBatchList2.Multiline = true;
     rtbBatchList2.Name = "rtbBatchList2";
     rtbBatchList2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     rtbBatchList2.Size = new System.Drawing.Size(116, 207);
     rtbBatchList2.TabIndex = 27;
     rtbBatchList2.WordWrap = false;
     rtbBatchList2.Click += new System.EventHandler(BatchList_Click);
     //
     // pnlBatch1
     //
     pnlBatch1.Controls.Add(txbBatch1);
     pnlBatch1.Controls.Add(rtbBatchList1);
     pnlBatch1.Controls.Add(btnRunB1);
     pnlBatch1.Controls.Add(chbLoopB1);
     pnlBatch1.Dock = System.Windows.Forms.DockStyle.Left;
     pnlBatch1.Location = new System.Drawing.Point(0, 0);
     pnlBatch1.Name = "pnlBatch1";
     pnlBatch1.Size = new System.Drawing.Size(123, 265);
     pnlBatch1.TabIndex = 30;
     //
     // txbBatch1
     //
     txbBatch1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     txbBatch1.BackColor = System.Drawing.SystemColors.Window;
     txbBatch1.Location = new System.Drawing.Point(3, 3);
     txbBatch1.Name = "txbBatch1";
     txbBatch1.Size = new System.Drawing.Size(116, 23);
     txbBatch1.TabIndex = 0;
     txbBatch1.Text = "Batch 1";
     ttpMainToolTip.SetToolTip(txbBatch1, "r");
     txbBatch1.Click += new System.EventHandler(BatchList_Click);
     txbBatch1.Leave += new System.EventHandler(txbBatch_Leave);
     txbBatch1.MouseHover += new System.EventHandler(txbBatch_MouseHover);
     //
     // rtbBatchList1
     //
     rtbBatchList1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbBatchList1.Location = new System.Drawing.Point(3, 26);
     rtbBatchList1.MaxLength = 5000;
     rtbBatchList1.Multiline = true;
     rtbBatchList1.Name = "rtbBatchList1";
     rtbBatchList1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     rtbBatchList1.Size = new System.Drawing.Size(116, 207);
     rtbBatchList1.TabIndex = 26;
     rtbBatchList1.WordWrap = false;
     rtbBatchList1.Click += new System.EventHandler(BatchList_Click);
     //
     // btnRunB1
     //
     btnRunB1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     btnRunB1.Location = new System.Drawing.Point(5, 238);
     btnRunB1.Name = "btnRunB1";
     btnRunB1.Size = new System.Drawing.Size(50, 25);
     btnRunB1.TabIndex = 2;
     btnRunB1.Text = "Run";
     btnRunB1.UseVisualStyleBackColor = true;
     btnRunB1.Click += new System.EventHandler(RunPauseBatch);
     //
     // chbLoopB1
     //
     chbLoopB1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     chbLoopB1.AutoSize = true;
     chbLoopB1.Location = new System.Drawing.Point(58, 241);
     chbLoopB1.Name = "chbLoopB1";
     chbLoopB1.Size = new System.Drawing.Size(62, 21);
     chbLoopB1.TabIndex = 3;
     chbLoopB1.Text = "Loop";
     chbLoopB1.UseVisualStyleBackColor = true;
     chbLoopB1.Visible = false;
     //
     // vrbViewBatch
     //
     vrbViewBatch.Controls.Add(label5);
     vrbViewBatch.Controls.Add(label3);
     vrbViewBatch.Controls.Add(label2);
     vrbViewBatch.Controls.Add(label1);
     vrbViewBatch.Controls.Add(chbViewB4);
     vrbViewBatch.Controls.Add(chbViewB3);
     vrbViewBatch.Controls.Add(chbViewB2);
     vrbViewBatch.Controls.Add(chbViewB1);
     vrbViewBatch.Location = new System.Drawing.Point(506, 12);
     vrbViewBatch.Name = "vrbViewBatch";
     vrbViewBatch.Size = new System.Drawing.Size(102, 59);
     vrbViewBatch.TabIndex = 30;
     vrbViewBatch.TabStop = false;
     vrbViewBatch.Text = "View Batch";
     //
     // label5
     //
     label5.AutoSize = true;
     label5.Location = new System.Drawing.Point(73, 36);
     label5.Name = "label5";
     label5.Size = new System.Drawing.Size(16, 17);
     label5.TabIndex = 7;
     label5.Text = "4";
     //
     // label3
     //
     label3.AutoSize = true;
     label3.Location = new System.Drawing.Point(54, 36);
     label3.Name = "label3";
     label3.Size = new System.Drawing.Size(16, 17);
     label3.TabIndex = 6;
     label3.Text = "3";
     //
     // label2
     //
     label2.AutoSize = true;
     label2.Location = new System.Drawing.Point(32, 36);
     label2.Name = "label2";
     label2.Size = new System.Drawing.Size(16, 17);
     label2.TabIndex = 5;
     label2.Text = "2";
     //
     // label1
     //
     label1.AutoSize = true;
     label1.Location = new System.Drawing.Point(12, 36);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(16, 17);
     label1.TabIndex = 4;
     label1.Text = "1";
     //
     // chbViewB4
     //
     chbViewB4.AutoSize = true;
     chbViewB4.Checked = true;
     chbViewB4.CheckState = System.Windows.Forms.CheckState.Checked;
     chbViewB4.Location = new System.Drawing.Point(72, 19);
     chbViewB4.Name = "chbViewB4";
     chbViewB4.Size = new System.Drawing.Size(18, 17);
     chbViewB4.TabIndex = 3;
     chbViewB4.UseVisualStyleBackColor = true;
     chbViewB4.CheckedChanged += new System.EventHandler(chbView_CheckedChanged);
     //
     // chbViewB3
     //
     chbViewB3.AutoSize = true;
     chbViewB3.Checked = true;
     chbViewB3.CheckState = System.Windows.Forms.CheckState.Checked;
     chbViewB3.Location = new System.Drawing.Point(52, 19);
     chbViewB3.Name = "chbViewB3";
     chbViewB3.Size = new System.Drawing.Size(18, 17);
     chbViewB3.TabIndex = 2;
     chbViewB3.UseVisualStyleBackColor = true;
     chbViewB3.CheckedChanged += new System.EventHandler(chbView_CheckedChanged);
     //
     // chbViewB2
     //
     chbViewB2.AutoSize = true;
     chbViewB2.Checked = true;
     chbViewB2.CheckState = System.Windows.Forms.CheckState.Checked;
     chbViewB2.Location = new System.Drawing.Point(32, 19);
     chbViewB2.Name = "chbViewB2";
     chbViewB2.Size = new System.Drawing.Size(18, 17);
     chbViewB2.TabIndex = 1;
     chbViewB2.UseVisualStyleBackColor = true;
     chbViewB2.CheckedChanged += new System.EventHandler(chbView_CheckedChanged);
     //
     // chbViewB1
     //
     chbViewB1.AutoSize = true;
     chbViewB1.Checked = true;
     chbViewB1.CheckState = System.Windows.Forms.CheckState.Checked;
     chbViewB1.Location = new System.Drawing.Point(12, 19);
     chbViewB1.Name = "chbViewB1";
     chbViewB1.Size = new System.Drawing.Size(18, 17);
     chbViewB1.TabIndex = 0;
     chbViewB1.UseVisualStyleBackColor = true;
     chbViewB1.CheckedChanged += new System.EventHandler(chbView_CheckedChanged);
     //
     // grbSaveLoad
     //
     grbSaveLoad.Controls.Add(btnSaveBatch);
     grbSaveLoad.Controls.Add(rdbSaveOpenB4);
     grbSaveLoad.Controls.Add(btnOpenBatch);
     grbSaveLoad.Controls.Add(rdbSaveOpenB3);
     grbSaveLoad.Controls.Add(rdbSaveOpenB2);
     grbSaveLoad.Controls.Add(rdbSaveOpenB1);
     grbSaveLoad.Location = new System.Drawing.Point(506, 75);
     grbSaveLoad.Name = "grbSaveLoad";
     grbSaveLoad.Size = new System.Drawing.Size(102, 78);
     grbSaveLoad.TabIndex = 17;
     grbSaveLoad.TabStop = false;
     grbSaveLoad.Text = "Save/Load Batch";
     //
     // btnSaveBatch
     //
     btnSaveBatch.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveBatch.Image")));
     btnSaveBatch.Location = new System.Drawing.Point(51, 46);
     btnSaveBatch.Name = "btnSaveBatch";
     btnSaveBatch.Size = new System.Drawing.Size(26, 26);
     btnSaveBatch.TabIndex = 22;
     btnSaveBatch.UseVisualStyleBackColor = true;
     btnSaveBatch.Click += new System.EventHandler(btnSaveBatch_Click);
     //
     // rdbSaveOpenB4
     //
     rdbSaveOpenB4.AutoSize = true;
     rdbSaveOpenB4.Location = new System.Drawing.Point(71, 27);
     rdbSaveOpenB4.Name = "rdbSaveOpenB4";
     rdbSaveOpenB4.Size = new System.Drawing.Size(17, 16);
     rdbSaveOpenB4.TabIndex = 3;
     rdbSaveOpenB4.TabStop = true;
     rdbSaveOpenB4.UseVisualStyleBackColor = true;
     rdbSaveOpenB4.CheckedChanged += new System.EventHandler(rdbSaveOpen_CheckedChanged);
     //
     // btnOpenBatch
     //
     btnOpenBatch.Image = ((System.Drawing.Image)(resources.GetObject("btnOpenBatch.Image")));
     btnOpenBatch.Location = new System.Drawing.Point(19, 46);
     btnOpenBatch.Name = "btnOpenBatch";
     btnOpenBatch.Size = new System.Drawing.Size(26, 26);
     btnOpenBatch.TabIndex = 21;
     btnOpenBatch.UseVisualStyleBackColor = true;
     btnOpenBatch.Click += new System.EventHandler(btnOpenBatch_Click);
     //
     // rdbSaveOpenB3
     //
     rdbSaveOpenB3.AutoSize = true;
     rdbSaveOpenB3.Location = new System.Drawing.Point(51, 27);
     rdbSaveOpenB3.Name = "rdbSaveOpenB3";
     rdbSaveOpenB3.Size = new System.Drawing.Size(17, 16);
     rdbSaveOpenB3.TabIndex = 2;
     rdbSaveOpenB3.TabStop = true;
     rdbSaveOpenB3.UseVisualStyleBackColor = true;
     rdbSaveOpenB3.CheckedChanged += new System.EventHandler(rdbSaveOpen_CheckedChanged);
     //
     // rdbSaveOpenB2
     //
     rdbSaveOpenB2.AutoSize = true;
     rdbSaveOpenB2.Location = new System.Drawing.Point(31, 27);
     rdbSaveOpenB2.Name = "rdbSaveOpenB2";
     rdbSaveOpenB2.Size = new System.Drawing.Size(17, 16);
     rdbSaveOpenB2.TabIndex = 1;
     rdbSaveOpenB2.TabStop = true;
     rdbSaveOpenB2.UseVisualStyleBackColor = true;
     rdbSaveOpenB2.CheckedChanged += new System.EventHandler(rdbSaveOpen_CheckedChanged);
     //
     // rdbSaveOpenB1
     //
     rdbSaveOpenB1.AutoSize = true;
     rdbSaveOpenB1.Checked = true;
     rdbSaveOpenB1.Location = new System.Drawing.Point(11, 27);
     rdbSaveOpenB1.Name = "rdbSaveOpenB1";
     rdbSaveOpenB1.Size = new System.Drawing.Size(17, 16);
     rdbSaveOpenB1.TabIndex = 0;
     rdbSaveOpenB1.TabStop = true;
     rdbSaveOpenB1.UseVisualStyleBackColor = true;
     rdbSaveOpenB1.CheckedChanged += new System.EventHandler(rdbSaveOpen_CheckedChanged);
     //
     // grbLoopControl
     //
     grbLoopControl.Controls.Add(chbLoopLimit);
     grbLoopControl.Controls.Add(btnResetLoop);
     grbLoopControl.Controls.Add(txbLoopCount);
     grbLoopControl.Controls.Add(label4);
     grbLoopControl.Controls.Add(nudLoopLimit);
     grbLoopControl.Location = new System.Drawing.Point(506, 154);
     grbLoopControl.Name = "grbLoopControl";
     grbLoopControl.Size = new System.Drawing.Size(102, 130);
     grbLoopControl.TabIndex = 16;
     grbLoopControl.TabStop = false;
     grbLoopControl.Text = "Loop control";
     grbLoopControl.Visible = false;
     //
     // nudLoopLimit
     //
     nudLoopLimit.Location = new System.Drawing.Point(33, 39);
     nudLoopLimit.Maximum = new decimal(new int[] {
     9999,
     0,
     0,
     0});
     nudLoopLimit.Minimum = new decimal(new int[] {
     1,
     0,
     0,
     0});
     nudLoopLimit.Name = "nudLoopLimit";
     nudLoopLimit.ReadOnly = true;
     nudLoopLimit.Size = new System.Drawing.Size(47, 23);
     nudLoopLimit.TabIndex = 5;
     nudLoopLimit.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
     nudLoopLimit.ValueChanged += new System.EventHandler(nudLoopLimit_ValueChanged);
     //
     // btnResetLoop
     //
     btnResetLoop.Location = new System.Drawing.Point(12, 103);
     btnResetLoop.Margin = new System.Windows.Forms.Padding(0);
     btnResetLoop.Name = "btnResetLoop";
     btnResetLoop.Size = new System.Drawing.Size(74, 24);
     btnResetLoop.TabIndex = 4;
     btnResetLoop.Text = "Stop/Reset";
     btnResetLoop.UseVisualStyleBackColor = true;
     btnResetLoop.Click += new System.EventHandler(btnResetLoop_Click);
     //
     // txbLoopCount
     //
     txbLoopCount.Enabled = false;
     txbLoopCount.Location = new System.Drawing.Point(33, 75);
     txbLoopCount.Margin = new System.Windows.Forms.Padding(1);
     txbLoopCount.Name = "txbLoopCount";
     txbLoopCount.ReadOnly = true;
     txbLoopCount.Size = new System.Drawing.Size(47, 23);
     txbLoopCount.TabIndex = 3;
     txbLoopCount.Text = "0";
     txbLoopCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label4
     //
     label4.AutoSize = true;
     label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F);
     label4.Location = new System.Drawing.Point(9, 60);
     label4.Margin = new System.Windows.Forms.Padding(1, 0, 1, 0);
     label4.Name = "label4";
     label4.Size = new System.Drawing.Size(71, 15);
     label4.TabIndex = 2;
     label4.Text = "Loop count:";
     //
     // chbLoopLimit
     //
     chbLoopLimit.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chbLoopLimit.Location = new System.Drawing.Point(33, 18);
     chbLoopLimit.Margin = new System.Windows.Forms.Padding(1);
     chbLoopLimit.MaximumSize = new System.Drawing.Size(0, 17);
     chbLoopLimit.Name = "chbLoopLimit";
     chbLoopLimit.Size = new System.Drawing.Size(64, 17);
     chbLoopLimit.TabIndex = 0;
     chbLoopLimit.Text = "Limit";
     chbLoopLimit.UseVisualStyleBackColor = true;
     chbLoopLimit.CheckedChanged += new System.EventHandler(chbLoopLimit_CheckedChanged);
     //
     // tbpFIFO
     //
     tbpFIFO.BackColor = System.Drawing.SystemColors.Control;
     tbpFIFO.Controls.Add(pnlBerPer);
     tbpFIFO.Controls.Add(pnlRXFIFO);
     tbpFIFO.Controls.Add(pnlTXFIFO);
     tbpFIFO.Location = new System.Drawing.Point(4, 25);
     tbpFIFO.Name = "tbpFIFO";
     tbpFIFO.Padding = new System.Windows.Forms.Padding(3);
     tbpFIFO.Size = new System.Drawing.Size(621, 306);
     tbpFIFO.TabIndex = 0;
     tbpFIFO.Text = "FIFO";
     //
     // pnlBerPer
     //
     pnlBerPer.Controls.Add(btnResetFifo);
     pnlBerPer.Controls.Add(lblBER);
     pnlBerPer.Controls.Add(lblBitError);
     pnlBerPer.Controls.Add(lblDatabits);
     pnlBerPer.Controls.Add(txbBitErrors);
     pnlBerPer.Controls.Add(txbBER);
     pnlBerPer.Controls.Add(txbDatabits);
     pnlBerPer.Controls.Add(lblPER);
     pnlBerPer.Controls.Add(lblLost);
     pnlBerPer.Controls.Add(lblPackets);
     pnlBerPer.Controls.Add(txbLost);
     pnlBerPer.Controls.Add(txbPER);
     pnlBerPer.Controls.Add(txbPackets);
     pnlBerPer.Location = new System.Drawing.Point(367, 19);
     pnlBerPer.Name = "pnlBerPer";
     pnlBerPer.Size = new System.Drawing.Size(124, 263);
     pnlBerPer.TabIndex = 28;
     //
     // btnResetFifo
     //
     btnResetFifo.Location = new System.Drawing.Point(58, 199);
     btnResetFifo.Name = "btnResetFifo";
     btnResetFifo.Size = new System.Drawing.Size(45, 26);
     btnResetFifo.TabIndex = 27;
     btnResetFifo.Text = "Reset";
     btnResetFifo.UseVisualStyleBackColor = true;
     btnResetFifo.Click += new System.EventHandler(btnResetFifo_Click);
     //
     // lblBER
     //
     lblBER.AutoSize = true;
     lblBER.Location = new System.Drawing.Point(7, 176);
     lblBER.Name = "lblBER";
     lblBER.Size = new System.Drawing.Size(40, 17);
     lblBER.TabIndex = 26;
     lblBER.Text = "BER:";
     //
     // lblBitError
     //
     lblBitError.AutoSize = true;
     lblBitError.Location = new System.Drawing.Point(7, 150);
     lblBitError.Name = "lblBitError";
     lblBitError.Size = new System.Drawing.Size(70, 17);
     lblBitError.TabIndex = 25;
     lblBitError.Text = "Bit errors:";
     //
     // lblDatabits
     //
     lblDatabits.AutoSize = true;
     lblDatabits.Location = new System.Drawing.Point(7, 122);
     lblDatabits.Name = "lblDatabits";
     lblDatabits.Size = new System.Drawing.Size(64, 17);
     lblDatabits.TabIndex = 24;
     lblDatabits.Text = "Databits:";
     //
     // txbBitErrors
     //
     txbBitErrors.BackColor = System.Drawing.SystemColors.Control;
     txbBitErrors.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbBitErrors.Location = new System.Drawing.Point(58, 145);
     txbBitErrors.Name = "txbBitErrors";
     txbBitErrors.ReadOnly = true;
     txbBitErrors.Size = new System.Drawing.Size(60, 23);
     txbBitErrors.TabIndex = 23;
     txbBitErrors.Text = "0";
     txbBitErrors.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txbBER
     //
     txbBER.BackColor = System.Drawing.SystemColors.Control;
     txbBER.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbBER.ForeColor = System.Drawing.Color.Red;
     txbBER.Location = new System.Drawing.Point(58, 173);
     txbBER.Name = "txbBER";
     txbBER.ReadOnly = true;
     txbBER.Size = new System.Drawing.Size(60, 23);
     txbBER.TabIndex = 22;
     txbBER.Text = "0";
     txbBER.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txbDatabits
     //
     txbDatabits.BackColor = System.Drawing.SystemColors.Control;
     txbDatabits.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbDatabits.Location = new System.Drawing.Point(58, 119);
     txbDatabits.Name = "txbDatabits";
     txbDatabits.ReadOnly = true;
     txbDatabits.Size = new System.Drawing.Size(60, 23);
     txbDatabits.TabIndex = 21;
     txbDatabits.Text = "0";
     txbDatabits.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // lblPER
     //
     lblPER.AutoSize = true;
     lblPER.Location = new System.Drawing.Point(7, 94);
     lblPER.Name = "lblPER";
     lblPER.Size = new System.Drawing.Size(40, 17);
     lblPER.TabIndex = 20;
     lblPER.Text = "PER:";
     //
     // lblLost
     //
     lblLost.AutoSize = true;
     lblLost.Location = new System.Drawing.Point(7, 68);
     lblLost.Name = "lblLost";
     lblLost.Size = new System.Drawing.Size(39, 17);
     lblLost.TabIndex = 19;
     lblLost.Text = "Lost:";
     //
     // lblPackets
     //
     lblPackets.AutoSize = true;
     lblPackets.Location = new System.Drawing.Point(7, 40);
     lblPackets.Name = "lblPackets";
     lblPackets.Size = new System.Drawing.Size(62, 17);
     lblPackets.TabIndex = 18;
     lblPackets.Text = "Packets:";
     //
     // txbLost
     //
     txbLost.BackColor = System.Drawing.SystemColors.Control;
     txbLost.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbLost.Location = new System.Drawing.Point(58, 65);
     txbLost.Name = "txbLost";
     txbLost.ReadOnly = true;
     txbLost.Size = new System.Drawing.Size(60, 23);
     txbLost.TabIndex = 17;
     txbLost.Text = "0";
     txbLost.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txbPER
     //
     txbPER.BackColor = System.Drawing.SystemColors.Control;
     txbPER.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbPER.ForeColor = System.Drawing.Color.Red;
     txbPER.Location = new System.Drawing.Point(58, 91);
     txbPER.Name = "txbPER";
     txbPER.ReadOnly = true;
     txbPER.Size = new System.Drawing.Size(60, 23);
     txbPER.TabIndex = 16;
     txbPER.Text = "0";
     txbPER.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // txbPackets
     //
     txbPackets.BackColor = System.Drawing.SystemColors.Control;
     txbPackets.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     txbPackets.Location = new System.Drawing.Point(58, 37);
     txbPackets.Name = "txbPackets";
     txbPackets.ReadOnly = true;
     txbPackets.Size = new System.Drawing.Size(60, 23);
     txbPackets.TabIndex = 15;
     txbPackets.Text = "0";
     txbPackets.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // pnlRXFIFO
     //
     pnlRXFIFO.Controls.Add(dgvRX);
     pnlRXFIFO.Controls.Add(btnSaveRead);
     pnlRXFIFO.Controls.Add(btnOpenRead);
     pnlRXFIFO.Controls.Add(btnRead);
     pnlRXFIFO.Location = new System.Drawing.Point(147, 19);
     pnlRXFIFO.Name = "pnlRXFIFO";
     pnlRXFIFO.Size = new System.Drawing.Size(177, 263);
     pnlRXFIFO.TabIndex = 27;
     //
     // dgvRX
     //
     dgvRX.AllowUserToAddRows = false;
     dgvRX.AllowUserToDeleteRows = false;
     dgvRX.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dgvRX.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     dataGridViewTextBoxColumn1,
     dataGridViewTextBoxColumn2,
     xpdC,
     errC});
     dgvRX.Location = new System.Drawing.Point(3, 3);
     dgvRX.MultiSelect = false;
     dgvRX.Name = "dgvRX";
     dgvRX.RowHeadersWidth = 25;
     dgvRX.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     dgvRX.Size = new System.Drawing.Size(168, 224);
     dgvRX.TabIndex = 26;
     dgvRX.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(dgvRX_CellEndEdit);
     dgvRX.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(dgvRX_ColumnHeaderMouseClick);
     //
     // dataGridViewTextBoxColumn1
     //
     dataGridViewTextBoxColumn1.HeaderText = "#";
     dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     dataGridViewTextBoxColumn1.ReadOnly = true;
     dataGridViewTextBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     dataGridViewTextBoxColumn1.Width = 32;
     //
     // dataGridViewTextBoxColumn2
     //
     dataGridViewTextBoxColumn2.HeaderText = "Hex";
     dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     dataGridViewTextBoxColumn2.ReadOnly = true;
     dataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     dataGridViewTextBoxColumn2.Width = 30;
     //
     // xpdC
     //
     xpdC.HeaderText = "Xpd";
     xpdC.Name = "xpdC";
     xpdC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     xpdC.Width = 30;
     //
     // errC
     //
     errC.HeaderText = "Err";
     errC.Name = "errC";
     errC.ReadOnly = true;
     errC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     errC.Width = 30;
     //
     // btnSaveRead
     //
     btnSaveRead.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveRead.Image")));
     btnSaveRead.Location = new System.Drawing.Point(103, 234);
     btnSaveRead.Name = "btnSaveRead";
     btnSaveRead.Size = new System.Drawing.Size(26, 26);
     btnSaveRead.TabIndex = 25;
     btnSaveRead.UseVisualStyleBackColor = true;
     btnSaveRead.Click += new System.EventHandler(btnSaveRead_Click);
     //
     // btnOpenRead
     //
     btnOpenRead.Image = ((System.Drawing.Image)(resources.GetObject("btnOpenRead.Image")));
     btnOpenRead.Location = new System.Drawing.Point(78, 234);
     btnOpenRead.Name = "btnOpenRead";
     btnOpenRead.Size = new System.Drawing.Size(26, 26);
     btnOpenRead.TabIndex = 24;
     btnOpenRead.UseVisualStyleBackColor = true;
     btnOpenRead.Click += new System.EventHandler(btnOpenRead_Click);
     //
     // btnRead
     //
     btnRead.Location = new System.Drawing.Point(32, 234);
     btnRead.Name = "btnRead";
     btnRead.Size = new System.Drawing.Size(45, 26);
     btnRead.TabIndex = 23;
     btnRead.Text = "Read";
     btnRead.UseVisualStyleBackColor = true;
     btnRead.Click += new System.EventHandler(btnRead_Click);
     //
     // pnlTXFIFO
     //
     pnlTXFIFO.Controls.Add(dgvTX);
     pnlTXFIFO.Controls.Add(btnSaveWrite);
     pnlTXFIFO.Controls.Add(btnOpenWrite);
     pnlTXFIFO.Controls.Add(btnWrite);
     pnlTXFIFO.Location = new System.Drawing.Point(25, 19);
     pnlTXFIFO.Name = "pnlTXFIFO";
     pnlTXFIFO.Size = new System.Drawing.Size(116, 263);
     pnlTXFIFO.TabIndex = 26;
     //
     // dgvTX
     //
     dgvTX.AllowUserToAddRows = false;
     dgvTX.AllowUserToDeleteRows = false;
     dgvTX.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dgvTX.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     numC,
     dataC});
     dgvTX.Location = new System.Drawing.Point(5, 3);
     dgvTX.MultiSelect = false;
     dgvTX.Name = "dgvTX";
     dgvTX.RowHeadersWidth = 25;
     dgvTX.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     dgvTX.Size = new System.Drawing.Size(106, 224);
     dgvTX.TabIndex = 25;
     dgvTX.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(dgvTX_CellEndEdit);
     dgvTX.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(dgvTX_ColumnHeaderMouseClick);
     //
     // numC
     //
     numC.HeaderText = "#";
     numC.Name = "numC";
     numC.ReadOnly = true;
     numC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     numC.Width = 30;
     //
     // dataC
     //
     dataC.HeaderText = "Hex";
     dataC.Name = "dataC";
     dataC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
     dataC.Width = 32;
     //
     // btnSaveWrite
     //
     btnSaveWrite.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveWrite.Image")));
     btnSaveWrite.Location = new System.Drawing.Point(79, 234);
     btnSaveWrite.Name = "btnSaveWrite";
     btnSaveWrite.Size = new System.Drawing.Size(26, 26);
     btnSaveWrite.TabIndex = 24;
     btnSaveWrite.UseVisualStyleBackColor = true;
     btnSaveWrite.Click += new System.EventHandler(btnSaveWrite_Click);
     //
     // btnOpenWrite
     //
     btnOpenWrite.Image = ((System.Drawing.Image)(resources.GetObject("btnOpenWrite.Image")));
     btnOpenWrite.Location = new System.Drawing.Point(54, 234);
     btnOpenWrite.Name = "btnOpenWrite";
     btnOpenWrite.Size = new System.Drawing.Size(26, 26);
     btnOpenWrite.TabIndex = 23;
     btnOpenWrite.UseVisualStyleBackColor = true;
     btnOpenWrite.Click += new System.EventHandler(btnOpenWrite_Click);
     //
     // btnWrite
     //
     btnWrite.Location = new System.Drawing.Point(8, 234);
     btnWrite.Name = "btnWrite";
     btnWrite.Size = new System.Drawing.Size(45, 26);
     btnWrite.TabIndex = 22;
     btnWrite.Text = "Write";
     btnWrite.UseVisualStyleBackColor = true;
     btnWrite.Click += new System.EventHandler(btnWrite_Click);
     //
     // tbpDescription
     //
     tbpDescription.BackColor = System.Drawing.SystemColors.Control;
     tbpDescription.Controls.Add(txbDescription);
     tbpDescription.Location = new System.Drawing.Point(4, 25);
     tbpDescription.Name = "tbpDescription";
     tbpDescription.Padding = new System.Windows.Forms.Padding(3);
     tbpDescription.Size = new System.Drawing.Size(621, 306);
     tbpDescription.TabIndex = 1;
     tbpDescription.Text = "Register Description";
     //
     // txbDescription
     //
     txbDescription.BackColor = System.Drawing.SystemColors.Window;
     txbDescription.Location = new System.Drawing.Point(6, 6);
     txbDescription.Name = "txbDescription";
     txbDescription.ReadOnly = true;
     txbDescription.Size = new System.Drawing.Size(609, 290);
     txbDescription.TabIndex = 1;
     txbDescription.Text = "test";
     txbDescription.WordWrap = false;
     //
     // chbDisableLogging
     //
     chbDisableLogging.Appearance = System.Windows.Forms.Appearance.Button;
     chbDisableLogging.AutoSize = true;
     chbDisableLogging.BackColor = System.Drawing.Color.Red;
     chbDisableLogging.Checked = true;
     chbDisableLogging.CheckState = System.Windows.Forms.CheckState.Checked;
     chbDisableLogging.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chbDisableLogging.Location = new System.Drawing.Point(16, 525);
     chbDisableLogging.Name = "chbDisableLogging";
     chbDisableLogging.Size = new System.Drawing.Size(117, 27);
     chbDisableLogging.TabIndex = 5;
     chbDisableLogging.Text = "Enable Logging";
     chbDisableLogging.UseVisualStyleBackColor = false;
     chbDisableLogging.CheckedChanged += new System.EventHandler(chbDisableLogging_CheckedChanged);
     //
     // lblTermWin
     //
     lblTermWin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     lblTermWin.AutoSize = true;
     lblTermWin.Location = new System.Drawing.Point(38, 7);
     lblTermWin.Margin = new System.Windows.Forms.Padding(3);
     lblTermWin.Name = "lblTermWin";
     lblTermWin.Size = new System.Drawing.Size(85, 17);
     lblTermWin.TabIndex = 2;
     lblTermWin.Text = "Log window:";
     lblTermWin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // btnClearLog
     //
     btnClearLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     btnClearLog.Location = new System.Drawing.Point(-315, 525);
     btnClearLog.Name = "btnClearLog";
     btnClearLog.Size = new System.Drawing.Size(75, 23);
     btnClearLog.TabIndex = 1;
     btnClearLog.Text = "Clear Log";
     btnClearLog.UseVisualStyleBackColor = true;
     btnClearLog.Click += new System.EventHandler(btnClearLog_Click);
     //
     // rtbLogWindow
     //
     rtbLogWindow.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     rtbLogWindow.Location = new System.Drawing.Point(16, 25);
     rtbLogWindow.Name = "rtbLogWindow";
     rtbLogWindow.ReadOnly = true;
     rtbLogWindow.Size = new System.Drawing.Size(0, 494);
     rtbLogWindow.TabIndex = 0;
     rtbLogWindow.Text = "";
     //
     // spiStatusBar
     //
     spiStatusBar.Location = new System.Drawing.Point(0, 660);
     spiStatusBar.Name = "spiStatusBar";
     spiStatusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
     statusBarPanel1,
     sbChipRevPane,
     sbDeviceStatePane,
     statusBarPanel4});
     spiStatusBar.ShowPanels = true;
     spiStatusBar.Size = new System.Drawing.Size(996, 22);
     spiStatusBar.TabIndex = 28;
     //
     // statusBarPanel1
     //
     statusBarPanel1.Name = "statusBarPanel1";
     statusBarPanel1.Text = " Device: Type=SIMULATION";
     statusBarPanel1.Width = 170;
     //
     // sbChipRevPane
     //
     sbChipRevPane.Name = "sbChipRevPane";
     sbChipRevPane.Text = "Chip Revision: A";
     //
     // sbDeviceStatePane
     //
     sbDeviceStatePane.Name = "sbDeviceStatePane";
     sbDeviceStatePane.Text = "Status: Ready";
     sbDeviceStatePane.Width = 630;
     //
     // statusBarPanel4
     //
     statusBarPanel4.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
     statusBarPanel4.AnimationStyle = StatusBarTest.ProgressDisplayStyle.LeftToRight;
     statusBarPanel4.AnimationTick = System.TimeSpan.Parse("00:00:00.5000000");
     statusBarPanel4.EndPoint = ((long)(100));
     statusBarPanel4.Name = "statusBarPanel4";
     statusBarPanel4.ProgressPosition = ((long)(0));
     statusBarPanel4.ShowText = true;
     statusBarPanel4.StartPoint = ((long)(0));
     statusBarPanel4.StepSize = ((long)(10));
     statusBarPanel4.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw;
     statusBarPanel4.TextFont = new System.Drawing.Font("Arial", 8F);
     //
     // tmrCommon
     //
     tmrCommon.Interval = 2000;
     tmrCommon.Tick += new System.EventHandler(tsrMainToolStrip_IdentifyRequested);
     //
     // ttpMainToolTip
     //
     ttpMainToolTip.AutoPopDelay = 5000;
     ttpMainToolTip.InitialDelay = 0;
     ttpMainToolTip.ReshowDelay = 0;
     //
     // tsrMainToolStrip
     //
     tsrMainToolStrip.AmmeteringEnabled = true;
     tsrMainToolStrip.AmmeteringVisible = true;
     tsrMainToolStrip.AutoSize = false;
     tsrMainToolStrip.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     tsrMainToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     tsrMainToolStrip.IdentifyEnabled = true;
     tsrMainToolStrip.IdentifyVisible = true;
     tsrMainToolStrip.Location = new System.Drawing.Point(0, 0);
     tsrMainToolStrip.Name = "tsrMainToolStrip";
     tsrMainToolStrip.Nickname = "Nickname";
     tsrMainToolStrip.OpenEnabled = true;
     tsrMainToolStrip.OpenVisible = true;
     tsrMainToolStrip.ResetEnabled = true;
     tsrMainToolStrip.ResetVisible = true;
     tsrMainToolStrip.SaveEnabled = true;
     tsrMainToolStrip.SaveVisible = true;
     tsrMainToolStrip.Size = new System.Drawing.Size(996, 31);
     tsrMainToolStrip.SwitchEnabled = true;
     tsrMainToolStrip.SwitchVisible = true;
     tsrMainToolStrip.TabIndex = 30;
     tsrMainToolStrip.Text = "applicationToolStrip1";
     tsrMainToolStrip.VoltageEnabled = true;
     tsrMainToolStrip.VoltageVisible = true;
     tsrMainToolStrip.AmmeteringRequested += new System.EventHandler(tsrMainToolStrip_AmmeteringRequested);
     tsrMainToolStrip.IdentifyRequested += new System.EventHandler(tsrMainToolStrip_IdentifyRequested);
     tsrMainToolStrip.OpenRequested += new System.EventHandler(tsrMainToolStrip_OpenRequested);
     tsrMainToolStrip.ResetRequested += new System.EventHandler(tsrMainToolStrip_ResetRequested);
     tsrMainToolStrip.SaveRequested += new System.EventHandler(tsrMainToolStrip_SaveRequested);
     tsrMainToolStrip.SetVoltageRequested += new NewWDS.Applications.App_Common.AppToolStrip.ApplicationToolStrip.SetVoltageEventHandler(tsrMainToolStrip_SetVoltageRequested);
     tsrMainToolStrip.SwitchMouseEnterRequested += new System.EventHandler(tsrMainToolStrip_SwitchMouseEnterRequested);
     tsrMainToolStrip.SwitchRequested += new System.EventHandler(tsrMainToolStrip_SwitchRequested);
     //
     // AppWin_SPITool_PRO
     //
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     ClientSize = new System.Drawing.Size(996, 682);
     Controls.Add(tsrMainToolStrip);
     Controls.Add(spiStatusBar);
     Controls.Add(spcMainContainer);
     Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     MaximizeBox = false;
     Name = "AppWin_SPITool_PRO";
     ShowIcon = false;
     Text = "Si4XXX Register Setting Panel";
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(formClosingEventHandler);
     Load += new System.EventHandler(SPI_Form_Load);
     grbRegisterFilter.ResumeLayout(false);
     grbRegisterFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(dgvRegisterList)).EndInit();
     groupBox1.ResumeLayout(false);
     groupBox1.PerformLayout();
     spcMainContainer.Panel1.ResumeLayout(false);
     spcMainContainer.Panel2.ResumeLayout(false);
     spcMainContainer.Panel2.PerformLayout();
     spcMainContainer.ResumeLayout(false);
     grbLog.ResumeLayout(false);
     grbLog.PerformLayout();
     tbcMain.ResumeLayout(false);
     tabPage4.ResumeLayout(false);
     grbBatch.ResumeLayout(false);
     pnlBatchMain.ResumeLayout(false);
     pnlBatch4.ResumeLayout(false);
     pnlBatch4.PerformLayout();
     pnlBatch3.ResumeLayout(false);
     pnlBatch3.PerformLayout();
     pnlBatch2.ResumeLayout(false);
     pnlBatch2.PerformLayout();
     pnlBatch1.ResumeLayout(false);
     pnlBatch1.PerformLayout();
     vrbViewBatch.ResumeLayout(false);
     vrbViewBatch.PerformLayout();
     grbSaveLoad.ResumeLayout(false);
     grbSaveLoad.PerformLayout();
     grbLoopControl.ResumeLayout(false);
     grbLoopControl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(nudLoopLimit)).EndInit();
     tbpFIFO.ResumeLayout(false);
     pnlBerPer.ResumeLayout(false);
     pnlBerPer.PerformLayout();
     pnlRXFIFO.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dgvRX)).EndInit();
     pnlTXFIFO.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(dgvTX)).EndInit();
     tbpDescription.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sbChipRevPane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sbDeviceStatePane)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(statusBarPanel4)).EndInit();
     ResumeLayout(false);
 }
コード例 #12
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     components = new System.ComponentModel.Container();
     btn_capturar = new System.Windows.Forms.Button();
     pctbox_webcam = new System.Windows.Forms.PictureBox();
     pctbox_imagen = new System.Windows.Forms.PictureBox();
     btn_guardar = new System.Windows.Forms.Button();
     txt_NombreImagen = new System.Windows.Forms.TextBox();
     lbl_NombreImagen = new System.Windows.Forms.Label();
     errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_webcam)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_imagen)).BeginInit();
     SuspendLayout();
     #endregion
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // btn_capturar
     //
     btn_capturar.Location = new System.Drawing.Point(327, 330);
     btn_capturar.Name = "btn_capturar";
     btn_capturar.Size = new System.Drawing.Size(100, 35);
     btn_capturar.TabIndex = 1;
     btn_capturar.Text = "Capturar";
     btn_capturar.UseVisualStyleBackColor = true;
     btn_capturar.Click += new System.EventHandler(btn_capturar_Click);
     //
     // pctbox_webcam
     //
     pctbox_webcam.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     pctbox_webcam.Location = new System.Drawing.Point(12, 12);
     pctbox_webcam.Name = "pctbox_webcam";
     pctbox_webcam.Size = new System.Drawing.Size(300, 300);
     pctbox_webcam.TabIndex = 2;
     pctbox_webcam.TabStop = false;
     //
     // pctbox_imagen
     //
     pctbox_imagen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     pctbox_imagen.Location = new System.Drawing.Point(327, 12);
     pctbox_imagen.Name = "pctbox_imagen";
     pctbox_imagen.Size = new System.Drawing.Size(300, 300);
     pctbox_imagen.TabIndex = 3;
     pctbox_imagen.TabStop = false;
     //
     // txt_NombreImagen
     //
     txt_NombreImagen.Location = new System.Drawing.Point(12, 348);
     txt_NombreImagen.Name = "txt_NombreImagen";
     txt_NombreImagen.Size = new System.Drawing.Size(300, 20);
     txt_NombreImagen.TabIndex = 4;
     //
     // lbl_NombreImagen
     //
     lbl_NombreImagen.AutoSize = true;
     lbl_NombreImagen.Location = new System.Drawing.Point(17, 332);
     lbl_NombreImagen.Name = "lbl_NombreImagen";
     lbl_NombreImagen.Size = new System.Drawing.Size(85, 13);
     lbl_NombreImagen.TabIndex = 5;
     lbl_NombreImagen.Text = "Nombre de la imagen:";
     //
     // btn_guardar
     //
     btn_guardar.Location = new System.Drawing.Point(433, 330);
     btn_guardar.Name = "btn_guardar";
     btn_guardar.Size = new System.Drawing.Size(100, 35);
     btn_guardar.TabIndex = 6;
     btn_guardar.Text = "Guardar";
     btn_guardar.UseVisualStyleBackColor = true;
     btn_guardar.Click += new System.EventHandler(btn_guardar_Click);
     //
     // Frm_Index
     //
     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(639, 410);
     Controls.Add(btn_guardar);
     Controls.Add(this.lbl_NombreImagen);
     Controls.Add(this.txt_NombreImagen);
     Controls.Add(pctbox_imagen);
     Controls.Add(pctbox_webcam);
     Controls.Add(btn_capturar);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     MaximumSize = new System.Drawing.Size(639, 410);
     MinimumSize = new System.Drawing.Size(639, 410);
     MaximizeBox = false;
     Name = "Frm_Index";
     Text = "Proyecto - Captura por Webcam";
     Load += new System.EventHandler(Frm_Index_Load);
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Frm_Index_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(pctbox_webcam)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_imagen)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
コード例 #13
0
ファイル: program.cs プロジェクト: hmxxhmzxgh/GiffMeMana
 private void InitializeComponent()
 {
     listBox1 = new System.Windows.Forms.ListBox();
     listBox2 = new System.Windows.Forms.ListBox();
     this.webBrowser1 = new System.Windows.Forms.WebBrowser();
     button1 = new System.Windows.Forms.Button();
     label1 = new System.Windows.Forms.Label();
     linkLabel1 = new System.Windows.Forms.LinkLabel();
     linkLabel2 = new System.Windows.Forms.LinkLabel();
     SuspendLayout();
     //
     // listBox1
     //
     listBox1.Enabled = false;
     listBox1.FormattingEnabled = true;
     listBox1.Location = new System.Drawing.Point(12, 29);
     listBox1.Name = "listBox1";
     listBox1.Size = new System.Drawing.Size(149, 108);
     listBox1.TabIndex = 0;
     listBox1.SelectedIndexChanged += new System.EventHandler(listBox1_SelectedIndexChanged);
     //
     // webBrowser1
     //
     this.webBrowser1.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.webBrowser1.Location = new System.Drawing.Point(167, 6);
     this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
     this.webBrowser1.Name = "webBrowser1";
     this.webBrowser1.ScriptErrorsSuppressed = true;
     this.webBrowser1.Size = new System.Drawing.Size(786, 408);
     this.webBrowser1.TabIndex = 2;
     //
     // listBox2
     //
     listBox2.FormattingEnabled = true;
     listBox2.Location = new System.Drawing.Point(12, 143);
     listBox2.Name = "listBox2";
     listBox2.Size = new System.Drawing.Size(149, 108);
     listBox2.TabIndex = 3;
     listBox2.SelectedIndexChanged += new System.EventHandler(listBox2_SelectedIndexChanged);
     //
     // button1
     //
     button1.BackColor = System.Drawing.SystemColors.ControlLightLight;
     button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     button1.Location = new System.Drawing.Point(2, 2);
     button1.Name = "button1";
     button1.Size = new System.Drawing.Size(38, 21);
     button1.TabIndex = 4;
     button1.Text = "DB";
     button1.UseVisualStyleBackColor = true;
     button1.Click += new System.EventHandler(button1_Click);
     //
     // label1
     //
     label1.AutoSize = true;
     label1.Location = new System.Drawing.Point(39, 6);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(122, 13);
     label1.TabIndex = 5;
     label1.Text = "In Game Press SHIFT+1";
     //
     // linkLabel1
     //
     linkLabel1.AutoSize = true;
     linkLabel1.LinkColor = System.Drawing.Color.White;
     linkLabel1.Location = new System.Drawing.Point(12, 263);
     linkLabel1.Name = "linkLabel1";
     linkLabel1.Size = new System.Drawing.Size(73, 13);
     linkLabel1.TabIndex = 6;
     linkLabel1.TabStop = true;
     linkLabel1.Text = "Forum Thread";
     linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel1_LinkClicked);
     //
     // linkLabel2
     //
     linkLabel2.AutoSize = true;
     linkLabel2.LinkColor = System.Drawing.Color.White;
     linkLabel2.Location = new System.Drawing.Point(12, 288);
     linkLabel2.Name = "linkLabel2";
     linkLabel2.Size = new System.Drawing.Size(89, 13);
     linkLabel2.TabIndex = 7;
     linkLabel2.TabStop = true;
     linkLabel2.Text = "GitHub Darp0wer";
     linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel2_LinkClicked);
     //
     // Form1
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     BackColor = System.Drawing.SystemColors.Highlight;
     ClientSize = new System.Drawing.Size(965, 426);
     ControlBox = false;
     Controls.Add(linkLabel2);
     Controls.Add(linkLabel1);
     Controls.Add(label1);
     Controls.Add(button1);
     Controls.Add(listBox2);
     Controls.Add(this.webBrowser1);
     Controls.Add(listBox1);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     Name = "Form1";
     ShowIcon = false;
     Text = "DotaBuff by DarkPower";
     TopMost = true;
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Form1_FormClosing);
     Load += new System.EventHandler(Form1_Load);
     MouseDown += new System.Windows.Forms.MouseEventHandler(Form1_MouseDown);
     ResumeLayout(false);
     PerformLayout();
 }
コード例 #14
0
 public Form1()
 {
     InitializeComponent();
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Form1_FormClosing);
 }
コード例 #15
0
ファイル: Almacen.cs プロジェクト: josericardo-ac/Titulacion
 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();
 }
コード例 #16
0
ファイル: Cliente.cs プロジェクト: josericardo-ac/Titulacion
 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();
 }
コード例 #17
0
 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);
 }
コード例 #18
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     components       = new System.ComponentModel.Container();
     btn_capturar     = new System.Windows.Forms.Button();
     pctbox_webcam    = new System.Windows.Forms.PictureBox();
     pctbox_imagen    = new System.Windows.Forms.PictureBox();
     btn_guardar      = new System.Windows.Forms.Button();
     txt_NombreImagen = new System.Windows.Forms.TextBox();
     lbl_NombreImagen = new System.Windows.Forms.Label();
     errorProvider1   = new System.Windows.Forms.ErrorProvider(components);
     ((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_webcam)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_imagen)).BeginInit();
     SuspendLayout();
     #endregion
     //
     // errorProvider1
     //
     errorProvider1.ContainerControl = this;
     //
     // btn_capturar
     //
     btn_capturar.Location = new System.Drawing.Point(327, 330);
     btn_capturar.Name     = "btn_capturar";
     btn_capturar.Size     = new System.Drawing.Size(100, 35);
     btn_capturar.TabIndex = 1;
     btn_capturar.Text     = "Capturar";
     btn_capturar.UseVisualStyleBackColor = true;
     btn_capturar.Click += new System.EventHandler(btn_capturar_Click);
     //
     // pctbox_webcam
     //
     pctbox_webcam.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     pctbox_webcam.Location    = new System.Drawing.Point(12, 12);
     pctbox_webcam.Name        = "pctbox_webcam";
     pctbox_webcam.Size        = new System.Drawing.Size(300, 300);
     pctbox_webcam.TabIndex    = 2;
     pctbox_webcam.TabStop     = false;
     //
     // pctbox_imagen
     //
     pctbox_imagen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     pctbox_imagen.Location    = new System.Drawing.Point(327, 12);
     pctbox_imagen.Name        = "pctbox_imagen";
     pctbox_imagen.Size        = new System.Drawing.Size(300, 300);
     pctbox_imagen.TabIndex    = 3;
     pctbox_imagen.TabStop     = false;
     //
     // txt_NombreImagen
     //
     txt_NombreImagen.Location = new System.Drawing.Point(12, 348);
     txt_NombreImagen.Name     = "txt_NombreImagen";
     txt_NombreImagen.Size     = new System.Drawing.Size(300, 20);
     txt_NombreImagen.TabIndex = 4;
     //
     // lbl_NombreImagen
     //
     lbl_NombreImagen.AutoSize = true;
     lbl_NombreImagen.Location = new System.Drawing.Point(17, 332);
     lbl_NombreImagen.Name     = "lbl_NombreImagen";
     lbl_NombreImagen.Size     = new System.Drawing.Size(85, 13);
     lbl_NombreImagen.TabIndex = 5;
     lbl_NombreImagen.Text     = "Nombre de la imagen:";
     //
     // btn_guardar
     //
     btn_guardar.Location = new System.Drawing.Point(433, 330);
     btn_guardar.Name     = "btn_guardar";
     btn_guardar.Size     = new System.Drawing.Size(100, 35);
     btn_guardar.TabIndex = 6;
     btn_guardar.Text     = "Guardar";
     btn_guardar.UseVisualStyleBackColor = true;
     btn_guardar.Click += new System.EventHandler(btn_guardar_Click);
     //
     // Frm_Index
     //
     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(639, 410);
     Controls.Add(btn_guardar);
     Controls.Add(this.lbl_NombreImagen);
     Controls.Add(this.txt_NombreImagen);
     Controls.Add(pctbox_imagen);
     Controls.Add(pctbox_webcam);
     Controls.Add(btn_capturar);
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     MaximumSize     = new System.Drawing.Size(639, 410);
     MinimumSize     = new System.Drawing.Size(639, 410);
     MaximizeBox     = false;
     Name            = "Frm_Index";
     Text            = "Proyecto - Captura por Webcam";
     Load           += new System.EventHandler(Frm_Index_Load);
     FormClosing    += new System.Windows.Forms.FormClosingEventHandler(Frm_Index_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(pctbox_webcam)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pctbox_imagen)).EndInit();
     ResumeLayout(false);
     PerformLayout();
 }
コード例 #19
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();
 }
コード例 #20
0
 private void MyInitializeComponent()
 {
     // иконка))
     Icon = GeneralRes.EffLength;
     // собственно содержание формы
     TypeOfColumns = new System.Windows.Forms.TabControl();
     SimpleColumn  = new System.Windows.Forms.TabPage();
     SteppedColumn = new System.Windows.Forms.TabPage();
     ColumnWithIncompleteCoupling = new System.Windows.Forms.TabPage();
     SimpleColumn.SuspendLayout();
     SteppedColumn.SuspendLayout();
     ColumnWithIncompleteCoupling.SuspendLayout();
     TypeOfColumns.SuspendLayout();
     SuspendLayout();
     //
     // TypeOfColumns
     //
     TypeOfColumns.Controls.Add(SimpleColumn);
     TypeOfColumns.Controls.Add(SteppedColumn);
     TypeOfColumns.Controls.Add(ColumnWithIncompleteCoupling);
     TypeOfColumns.Dock          = System.Windows.Forms.DockStyle.Fill;
     TypeOfColumns.Location      = new System.Drawing.Point(0, 0);
     TypeOfColumns.Name          = "TypeOfColumns";
     TypeOfColumns.SelectedIndex = 0;
     TypeOfColumns.Size          = new System.Drawing.Size(536, 620);
     TypeOfColumns.TabIndex      = 0;
     //
     // SimpleColumn
     //
     SimpleColumn.BackColor = System.Drawing.SystemColors.Control;
     SimpleColumn.Controls.Add(effectiveLenghtOfSimpleColumn);
     SimpleColumn.Location = new System.Drawing.Point(4, 22);
     SimpleColumn.Name     = "SimpleColumn";
     SimpleColumn.Padding  = new System.Windows.Forms.Padding(3);
     SimpleColumn.Size     = new System.Drawing.Size(528, 594);
     SimpleColumn.TabIndex = 0;
     SimpleColumn.Text     = GeneralRes.ColumnsOfConstantSection;
     //
     // SteppedColumn
     //
     SteppedColumn.BackColor = System.Drawing.SystemColors.Control;
     SteppedColumn.Controls.Add(effectiveLenghtOfSteppedColumn);
     SteppedColumn.Location = new System.Drawing.Point(4, 22);
     SteppedColumn.Name     = "SteppedColumn";
     SteppedColumn.Padding  = new System.Windows.Forms.Padding(3);
     SteppedColumn.Size     = new System.Drawing.Size(528, 594);
     SteppedColumn.TabIndex = 1;
     SteppedColumn.Text     = GeneralRes.SteppedColumns;
     //
     // ColumnWithIncompleteCoupling
     //
     ColumnWithIncompleteCoupling.BackColor = System.Drawing.SystemColors.Control;
     ColumnWithIncompleteCoupling.Controls.Add(effectiveLenghtOfColumnWithIncompleteCoupling);
     ColumnWithIncompleteCoupling.Location = new System.Drawing.Point(4, 22);
     ColumnWithIncompleteCoupling.Name     = "ColumnWithIncompleteCoupling";
     ColumnWithIncompleteCoupling.Padding  = new System.Windows.Forms.Padding(3);
     ColumnWithIncompleteCoupling.Size     = new System.Drawing.Size(528, 594);
     ColumnWithIncompleteCoupling.TabIndex = 2;
     ColumnWithIncompleteCoupling.Text     = GeneralRes.ColumnWithIncompleteCoupling;
     //
     // EffectiveLenghtOfSimpleColumn
     //
     effectiveLenghtOfSimpleColumn.Dock     = System.Windows.Forms.DockStyle.Fill;
     effectiveLenghtOfSimpleColumn.Location = new System.Drawing.Point(3, 3);
     effectiveLenghtOfSimpleColumn.Name     = "effectiveLenghtOfColumn";
     effectiveLenghtOfSimpleColumn.Size     = new System.Drawing.Size(522, 588);
     effectiveLenghtOfSimpleColumn.TabIndex = 0;
     //
     // EffectiveLenghtOfSteppedColumn
     //
     effectiveLenghtOfSteppedColumn.Dock     = System.Windows.Forms.DockStyle.Fill;
     effectiveLenghtOfSteppedColumn.Location = new System.Drawing.Point(3, 3);
     effectiveLenghtOfSteppedColumn.Name     = "controlEffectiveLenghtOfSteppedColumn";
     effectiveLenghtOfSteppedColumn.Size     = new System.Drawing.Size(522, 588);
     effectiveLenghtOfSteppedColumn.TabIndex = 0;
     //
     // EffectiveLenghtOfColumnWithIncompleteCoupling
     //
     effectiveLenghtOfColumnWithIncompleteCoupling.Dock     = System.Windows.Forms.DockStyle.Fill;
     effectiveLenghtOfColumnWithIncompleteCoupling.Location = new System.Drawing.Point(3, 3);
     effectiveLenghtOfColumnWithIncompleteCoupling.Name     = "controlEffectiveLenghtOfColumnWithIncompleteCoupling";
     effectiveLenghtOfColumnWithIncompleteCoupling.Size     = new System.Drawing.Size(522, 588);
     effectiveLenghtOfColumnWithIncompleteCoupling.TabIndex = 0;
     //
     // FormForDesignOfEffectiveLenghtOfColumns
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     MinimumSize         = new System.Drawing.Size(552, 656);
     MaximizeBox         = false;
     Controls.Add(TypeOfColumns);
     Name         = "FormForDesignOfEffectiveLenghtOfColumns";
     Text         = GeneralRes.DeterminationOfEffectiveLengthOfSteelColumns;
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(FormForDesignOfEffectiveLenghtOfColumns_FormClosing);
     SimpleColumn.ResumeLayout(false);
     SteppedColumn.ResumeLayout(false);
     ColumnWithIncompleteCoupling.ResumeLayout(false);
     TypeOfColumns.ResumeLayout(false);
     ResumeLayout(false);
 }
コード例 #21
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     pic_Logo = new System.Windows.Forms.PictureBox();
     lbl_Almacen = new System.Windows.Forms.Label();
     comboBox_Almacen = new System.Windows.Forms.ComboBox();
     dataGridView_Composicion = new System.Windows.Forms.DataGridView();
     Id_Materiaprima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Materiaprima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Unidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     EMUnidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Id_Unidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
     groupBox_Composicion = new System.Windows.Forms.GroupBox();
     groupBox_Producto = new System.Windows.Forms.GroupBox();
     bttn_Quitar = new System.Windows.Forms.Button();
     bttn_Agregar = new System.Windows.Forms.Button();
     dateTimePicker_Fecha = new System.Windows.Forms.DateTimePicker();
     dataGridView_Materiaprima = new System.Windows.Forms.DataGridView();
     Id_Materia = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Materia_prima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Tipo_Pieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
     Tipo_Materiaprima = new System.Windows.Forms.DataGridViewTextBoxColumn();
     ExistenciaM = new System.Windows.Forms.DataGridViewTextBoxColumn();
     txt_CantidadM = new System.Windows.Forms.TextBox();
     txt_Cantidad = new System.Windows.Forms.TextBox();
     comboBox_UnidadM = new System.Windows.Forms.ComboBox();
     comboBox_Producto = new System.Windows.Forms.ComboBox();
     txt_Lote = new System.Windows.Forms.TextBox();
     comboBox_Unidad = new System.Windows.Forms.ComboBox();
     lbl_Lote = new System.Windows.Forms.Label();
     lbl_Producto = new System.Windows.Forms.Label();
     lbl_Fecha = new System.Windows.Forms.Label();
     lbl_Cantidad = new System.Windows.Forms.Label();
     lbl_Unidad = new System.Windows.Forms.Label();
     lbl_CantidadM = new System.Windows.Forms.Label();
     lbl_UnidadM = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Composicion)).BeginInit();
     groupBox_Composicion.SuspendLayout();
     groupBox_Producto.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Materiaprima)).BeginInit();
     //MENU
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Produccion));
     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);
     SuspendLayout();
     #endregion
     //
     // 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(680, 455);
     pic_Logo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))));
     pic_Logo.Name = "pic_Logo";
     pic_Logo.Size = new System.Drawing.Size(175, 75);
     pic_Logo.TabIndex = 33;
     pic_Logo.TabStop = false;
     //
     // 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);
     abrirToolStripMenuItem.Visible = false;
     //
     // 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";
     editarToolStripMenuItem.Visible = false;
     //
     // 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...";
     //
     // dataGridView_Composicion
     //
     dataGridView_Composicion.AllowUserToAddRows = false;
     dataGridView_Composicion.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     dataGridView_Composicion.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Composicion.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_Materiaprima,
     Materiaprima,
     Cantidad,
     Unidad,
     Id_Unidad});
     dataGridView_Composicion.Dock = System.Windows.Forms.DockStyle.Fill;
     dataGridView_Composicion.Location = new System.Drawing.Point(3, 16);
     dataGridView_Composicion.Name = "dataGridView_Composicion";
     dataGridView_Composicion.Size = new System.Drawing.Size(450, 237);
     dataGridView_Composicion.TabIndex = 8;
     //
     // Id_Materiaprima
     //
     Id_Materiaprima.HeaderText = "Id_Materiaprima";
     Id_Materiaprima.Name = "Id_Materiaprima";
     Id_Materiaprima.Visible = false;
     //
     // Materiaprima
     //
     Materiaprima.HeaderText = "Materia prima";
     Materiaprima.Name = "Materiaprima";
     //
     // Cantidad
     //
     Cantidad.HeaderText = "Cantidad";
     Cantidad.Name = "Cantidad";
     //
     // Unidad
     //
     Unidad.HeaderText = "Unidad";
     Unidad.Name = "Unidad";
     //
     // EMUnidad
     //
     EMUnidad.HeaderText = "Unidad";
     EMUnidad.Name = "EMUnidad";
     //
     // Id_Unidad
     //
     Id_Unidad.HeaderText = "Id_Unidad";
     Id_Unidad.Name = "Id_Unidad";
     Id_Unidad.Visible = false;
     //
     // groupBox_Composicion
     //
     groupBox_Composicion.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_Composicion.Controls.Add(dataGridView_Composicion);
     groupBox_Composicion.Location = new System.Drawing.Point(9, 272);
     groupBox_Composicion.Name = "groupBox_Composicion";
     groupBox_Composicion.Size = new System.Drawing.Size(455, 256);
     groupBox_Composicion.TabIndex = 12;
     groupBox_Composicion.TabStop = false;
     groupBox_Composicion.Text = "Composicion";
     //
     // groupBox_Producto
     //
     groupBox_Producto.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_Producto.Controls.Add(lbl_UnidadM);
     groupBox_Producto.Controls.Add(lbl_CantidadM);
     groupBox_Producto.Controls.Add(lbl_Unidad);
     groupBox_Producto.Controls.Add(lbl_Cantidad);
     groupBox_Producto.Controls.Add(lbl_Fecha);
     groupBox_Producto.Controls.Add(lbl_Producto);
     groupBox_Producto.Controls.Add(lbl_Lote);
     groupBox_Producto.Controls.Add(comboBox_Unidad);
     groupBox_Producto.Controls.Add(bttn_Quitar);
     groupBox_Producto.Controls.Add(bttn_Agregar);
     groupBox_Producto.Controls.Add(dateTimePicker_Fecha);
     groupBox_Producto.Controls.Add(dataGridView_Materiaprima);
     groupBox_Producto.Controls.Add(txt_CantidadM);
     groupBox_Producto.Controls.Add(txt_Cantidad);
     groupBox_Producto.Controls.Add(comboBox_UnidadM);
     groupBox_Producto.Controls.Add(comboBox_Producto);
     groupBox_Producto.Controls.Add(txt_Lote);
     groupBox_Producto.Controls.Add(lbl_Almacen);
     groupBox_Producto.Controls.Add(comboBox_Almacen);
     groupBox_Producto.Location = new System.Drawing.Point(9, 46);
     groupBox_Producto.Name = "groupBox_Producto";
     groupBox_Producto.Size = new System.Drawing.Size(855, 220);
     groupBox_Producto.TabIndex = 13;
     groupBox_Producto.TabStop = false;
     groupBox_Producto.Text = "Producción de producto";
     //
     // lbl_Almacen
     //
     lbl_Almacen.AutoSize = true;
     lbl_Almacen.Location = new System.Drawing.Point(13, 152);
     lbl_Almacen.Name = "lbl_Almacen";
     lbl_Almacen.Size = new System.Drawing.Size(48, 13);
     lbl_Almacen.TabIndex = 10;
     lbl_Almacen.Text = "Almacén";
     //
     // comboBox_Almacen
     //
     comboBox_Almacen.FormattingEnabled = true;
     comboBox_Almacen.Location = new System.Drawing.Point(71, 145);
     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;
     //
     // bttn_Quitar
     //
     bttn_Quitar.Location = new System.Drawing.Point(392, 133);
     bttn_Quitar.Name = "bttn_Quitar";
     bttn_Quitar.Size = new System.Drawing.Size(75, 23);
     bttn_Quitar.Click += new System.EventHandler(bttn_Quitar_Click);
     bttn_Quitar.TabIndex = 21;
     bttn_Quitar.Text = "Quitar";
     bttn_Quitar.UseVisualStyleBackColor = true;
     //
     // bttn_Agregar
     //
     bttn_Agregar.Location = new System.Drawing.Point(392, 104);
     bttn_Agregar.Name = "bttn_Agregar";
     bttn_Agregar.Size = new System.Drawing.Size(75, 23);
     bttn_Agregar.Click += new System.EventHandler(bttn_Agregar_Click);
     bttn_Agregar.TabIndex = 20;
     bttn_Agregar.Text = "Agregar";
     bttn_Agregar.UseVisualStyleBackColor = true;
     //
     // dateTimePicker_Fecha
     //
     dateTimePicker_Fecha.Location = new System.Drawing.Point(71, 88);
     dateTimePicker_Fecha.Name = "dateTimePicker_Fecha";
     dateTimePicker_Fecha.Size = new System.Drawing.Size(200, 20);
     dateTimePicker_Fecha.TabIndex = 19;
     //
     // dataGridView_Materiaprima
     //
     dataGridView_Materiaprima.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridView_Materiaprima.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     Id_Materia,
     Materia_prima,
     Tipo_Pieza,
     Tipo_Materiaprima,
     ExistenciaM,
     EMUnidad});
     dataGridView_Materiaprima.Location = new System.Drawing.Point(473, 28);
     dataGridView_Materiaprima.Name = "dataGridView_Materiaprima";
     dataGridView_Materiaprima.Size = new System.Drawing.Size(376, 186);
     dataGridView_Materiaprima.TabIndex = 18;
     //
     // Id_Materia
     //
     Id_Materia.HeaderText = "Id_Materia";
     Id_Materia.Name = "Id_Materia";
     Id_Materia.Visible = false;
     //
     // Materia_prima
     //
     Materia_prima.HeaderText = "Materia prima";
     Materia_prima.Name = "Materia_prima";
     //
     // Tipo_Pieza
     //
     Tipo_Pieza.HeaderText = "Tipo pieza";
     Tipo_Pieza.Name = "Tipo_Pieza";
     //
     // Tipo_Materiaprima
     //
     Tipo_Materiaprima.HeaderText = "Tipo de materia prima";
     Tipo_Materiaprima.Name = "Tipo_Materiaprima";
     //
     // ExistenciaM
     //
     ExistenciaM.HeaderText = "Existencia";
     ExistenciaM.Name = "ExistenciaM";
     //
     // txt_CantidadM
     //
     txt_CantidadM.Location = new System.Drawing.Point(367, 35);
     txt_CantidadM.Name = "txt_CantidadM";
     txt_CantidadM.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Numeros_KeyPress);
     txt_CantidadM.Size = new System.Drawing.Size(100, 20);
     txt_CantidadM.TabIndex = 16;
     txt_CantidadM.MaxLength = 9;
     //
     // txt_Cantidad
     //
     txt_Cantidad.Location = new System.Drawing.Point(71, 117);
     txt_Cantidad.Name = "txt_Cantidad";
     txt_Cantidad.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Numeros_KeyPress);
     txt_Cantidad.Size = new System.Drawing.Size(100, 20);
     txt_Cantidad.TabIndex = 15;
     txt_Cantidad.MaxLength = 9;
     //
     // comboBox_UnidadM
     //
     comboBox_UnidadM.FormattingEnabled = true;
     comboBox_UnidadM.Location = new System.Drawing.Point(367, 69);
     comboBox_UnidadM.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_UnidadM.Name = "comboBox_UnidadM";
     comboBox_UnidadM.Size = new System.Drawing.Size(68, 21);
     comboBox_UnidadM.TabIndex = 14;
     comboBox_UnidadM.SelectedIndexChanged+=new EventHandler(conversionSelectedIndexChanged);
     //
     // comboBox_Producto
     //
     comboBox_Producto.FormattingEnabled = true;
     comboBox_Producto.Location = new System.Drawing.Point(71, 56);
     comboBox_Producto.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Producto.Name = "comboBox_Producto";
     comboBox_Producto.Size = new System.Drawing.Size(121, 21);
     comboBox_Producto.TabIndex = 13;
     //
     // txt_Lote
     //
     txt_Lote.Location = new System.Drawing.Point(71, 28);
     txt_Lote.Name = "txt_Lote";
     txt_Lote.KeyPress += new System.Windows.Forms.KeyPressEventHandler(txt_Numeros_KeyPress);
     txt_Lote.Size = new System.Drawing.Size(100, 20);
     txt_Lote.TabIndex = 12;
     txt_Lote.MaxLength = 14;
     //
     // comboBox_Unidad
     //
     comboBox_Unidad.FormattingEnabled = true;
     comboBox_Unidad.Location = new System.Drawing.Point(224, 116);
     comboBox_Unidad.KeyPress += new KeyPressEventHandler(NoescrituracomboBox_KeyPress);
     comboBox_Unidad.Name = "comboBox_Unidad";
     comboBox_Unidad.Size = new System.Drawing.Size(68, 21);
     comboBox_Unidad.TabIndex = 22;
     //
     // lbl_Lote
     //
     lbl_Lote.AutoSize = true;
     lbl_Lote.Location = new System.Drawing.Point(13, 35);
     lbl_Lote.Name = "lbl_Lote";
     lbl_Lote.Size = new System.Drawing.Size(28, 13);
     lbl_Lote.TabIndex = 24;
     lbl_Lote.Text = "Lote";
     //
     // lbl_Producto
     //
     lbl_Producto.AutoSize = true;
     lbl_Producto.Location = new System.Drawing.Point(13, 64);
     lbl_Producto.Name = "lbl_Producto";
     lbl_Producto.Size = new System.Drawing.Size(50, 13);
     lbl_Producto.TabIndex = 25;
     lbl_Producto.Text = "Producto";
     //
     // lbl_Fecha
     //
     lbl_Fecha.AutoSize = true;
     lbl_Fecha.Location = new System.Drawing.Point(13, 95);
     lbl_Fecha.Name = "lbl_Fecha";
     lbl_Fecha.Size = new System.Drawing.Size(37, 13);
     lbl_Fecha.TabIndex = 26;
     lbl_Fecha.Text = "Fecha";
     //
     // lbl_Cantidad
     //
     lbl_Cantidad.AutoSize = true;
     lbl_Cantidad.Location = new System.Drawing.Point(13, 124);
     lbl_Cantidad.Name = "lbl_Cantidad";
     lbl_Cantidad.Size = new System.Drawing.Size(49, 13);
     lbl_Cantidad.TabIndex = 27;
     lbl_Cantidad.Text = "Cantidad";
     //
     // lbl_Unidad
     //
     lbl_Unidad.AutoSize = true;
     lbl_Unidad.Location = new System.Drawing.Point(177, 124);
     lbl_Unidad.Name = "lbl_Unidad";
     lbl_Unidad.Size = new System.Drawing.Size(41, 13);
     lbl_Unidad.TabIndex = 28;
     lbl_Unidad.Text = "Unidad";
     //
     // lbl_CantidadM
     //
     lbl_CantidadM.AutoSize = true;
     lbl_CantidadM.Location = new System.Drawing.Point(305, 42);
     lbl_CantidadM.Name = "lbl_CantidadM";
     lbl_CantidadM.Size = new System.Drawing.Size(49, 13);
     lbl_CantidadM.TabIndex = 29;
     lbl_CantidadM.Text = "Cantidad";
     //
     // lbl_UnidadM
     //
     lbl_UnidadM.AutoSize = true;
     lbl_UnidadM.Location = new System.Drawing.Point(305, 77);
     lbl_UnidadM.Name = "lbl_UnidadM";
     lbl_UnidadM.Size = new System.Drawing.Size(41, 13);
     lbl_UnidadM.TabIndex = 30;
     lbl_UnidadM.Text = "Unidad";
     //
     // Produccion
     //
     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(900, 580);
     Controls.Add(groupBox_Producto);
     Controls.Add(menuStrip1);
     Controls.Add(groupBox_Composicion);
     Controls.Add(pic_Logo);
     FormClosing += new System.Windows.Forms.FormClosingEventHandler(Produccion_FormClosing);
     Icon = global::Sistema_Shajobe.Properties.Resources.produccion1;
     MaximumSize = new System.Drawing.Size(900, 580);
     MaximizeBox = false;
     MinimumSize = new System.Drawing.Size(900, 580);
     Name = "Produccion";
     Text = "Produccion";
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Composicion)).EndInit();
     groupBox_Composicion.ResumeLayout(false);
     groupBox_Producto.ResumeLayout(false);
     groupBox_Producto.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(dataGridView_Materiaprima)).EndInit();
     ResumeLayout(false);
 }
コード例 #22
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();
 }