示例#1
0
        /// <summary>
        /// 
        /// </summary>
        protected void InitializeGUI()
        {
            EditingManager_cl.Instance.EditingEnabled = true;

            mShowEditorGUI = true;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            mEditorMenuStrip.ResumeLayout(false);
            mEditorMenuStrip.PerformLayout();
            mEditorStatusStrip.ResumeLayout(false);
            mEditorStatusStrip.PerformLayout();
            mEditorContextMenu.ResumeLayout(false);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     System.Windows.Forms.TableLayoutPanel          tableTopRight;
     System.Windows.Forms.TableLayoutPanel          tableTopLeft;
     System.Windows.Forms.Label lblEnOld;
     System.Windows.Forms.Label lblEnNew;
     System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
     System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
     System.Windows.Forms.StatusStrip        statusStrip;
     this.tableTopAll    = new System.Windows.Forms.TableLayoutPanel();
     this.txtEnNew       = new System.Windows.Forms.TextBox();
     this.btnEnNew       = new System.Windows.Forms.Button();
     this.txtEnOld       = new System.Windows.Forms.TextBox();
     this.btnEnOld       = new System.Windows.Forms.Button();
     this.lblStatus      = new System.Windows.Forms.ToolStripStatusLabel();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.menuStrip      = new System.Windows.Forms.MenuStrip();
     this.changeFontToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.exportChangesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.fontDialog     = new System.Windows.Forms.FontDialog();
     this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     this.btnDoWork      = new System.Windows.Forms.Button();
     this.editor         = new Updater.Common.EditorTabControl();
     tableTopRight       = new System.Windows.Forms.TableLayoutPanel();
     tableTopLeft        = new System.Windows.Forms.TableLayoutPanel();
     lblEnOld            = new System.Windows.Forms.Label();
     lblEnNew            = new System.Windows.Forms.Label();
     toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     statusStrip         = new System.Windows.Forms.StatusStrip();
     this.tableTopAll.SuspendLayout();
     tableTopRight.SuspendLayout();
     tableTopLeft.SuspendLayout();
     statusStrip.SuspendLayout();
     this.menuStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // tableTopAll
     //
     resources.ApplyResources(this.tableTopAll, "tableTopAll");
     this.tableTopAll.Controls.Add(tableTopRight, 1, 1);
     this.tableTopAll.Controls.Add(tableTopLeft, 0, 1);
     this.tableTopAll.Controls.Add(lblEnOld, 0, 0);
     this.tableTopAll.Controls.Add(lblEnNew, 1, 0);
     this.tableTopAll.Name = "tableTopAll";
     //
     // tableTopRight
     //
     resources.ApplyResources(tableTopRight, "tableTopRight");
     tableTopRight.Controls.Add(this.txtEnNew, 0, 0);
     tableTopRight.Controls.Add(this.btnEnNew, 1, 0);
     tableTopRight.Name = "tableTopRight";
     //
     // txtEnNew
     //
     resources.ApplyResources(this.txtEnNew, "txtEnNew");
     this.txtEnNew.Name     = "txtEnNew";
     this.txtEnNew.ReadOnly = true;
     //
     // btnEnNew
     //
     resources.ApplyResources(this.btnEnNew, "btnEnNew");
     this.btnEnNew.Name = "btnEnNew";
     this.btnEnNew.UseVisualStyleBackColor = true;
     this.btnEnNew.Click += new System.EventHandler(this.btnEnNew_Click);
     //
     // tableTopLeft
     //
     resources.ApplyResources(tableTopLeft, "tableTopLeft");
     tableTopLeft.Controls.Add(this.txtEnOld, 0, 0);
     tableTopLeft.Controls.Add(this.btnEnOld, 1, 0);
     tableTopLeft.Name = "tableTopLeft";
     //
     // txtEnOld
     //
     resources.ApplyResources(this.txtEnOld, "txtEnOld");
     this.txtEnOld.Name     = "txtEnOld";
     this.txtEnOld.ReadOnly = true;
     //
     // btnEnOld
     //
     resources.ApplyResources(this.btnEnOld, "btnEnOld");
     this.btnEnOld.Name = "btnEnOld";
     this.btnEnOld.UseVisualStyleBackColor = true;
     this.btnEnOld.Click += new System.EventHandler(this.btnEnOld_Click);
     //
     // lblEnOld
     //
     resources.ApplyResources(lblEnOld, "lblEnOld");
     lblEnOld.Name = "lblEnOld";
     lblEnOld.Text = global::Updater.Common.Properties.Settings.Default.StepOneExplanation;
     //
     // lblEnNew
     //
     resources.ApplyResources(lblEnNew, "lblEnNew");
     lblEnNew.Name = "lblEnNew";
     lblEnNew.Text = global::Updater.Common.Properties.Settings.Default.StepTwoExplanation;
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     resources.ApplyResources(toolStripSeparator1, "toolStripSeparator1");
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     resources.ApplyResources(toolStripSeparator2, "toolStripSeparator2");
     //
     // statusStrip
     //
     statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
     {
         this.lblStatus
     });
     resources.ApplyResources(statusStrip, "statusStrip");
     statusStrip.Name = "statusStrip";
     //
     // lblStatus
     //
     this.lblStatus.ForeColor = System.Drawing.Color.Red;
     this.lblStatus.Margin    = new System.Windows.Forms.Padding(10, 3, 0, 2);
     this.lblStatus.Name      = "lblStatus";
     resources.ApplyResources(this.lblStatus, "lblStatus");
     this.lblStatus.Spring = true;
     //
     // openFileDialog
     //
     resources.ApplyResources(this.openFileDialog, "openFileDialog");
     //
     // menuStrip
     //
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
     {
         this.changeFontToolStripMenuItem,
         this.exportChangesToolStripMenuItem
     });
     resources.ApplyResources(this.menuStrip, "menuStrip");
     this.menuStrip.Name = "menuStrip";
     //
     // changeFontToolStripMenuItem
     //
     this.changeFontToolStripMenuItem.Name = "changeFontToolStripMenuItem";
     resources.ApplyResources(this.changeFontToolStripMenuItem, "changeFontToolStripMenuItem");
     this.changeFontToolStripMenuItem.Text   = global::Updater.Common.Properties.Settings.Default.ChangeFont;
     this.changeFontToolStripMenuItem.Click += new System.EventHandler(this.changeFontToolStripMenuItem_Click);
     //
     // exportChangesToolStripMenuItem
     //
     resources.ApplyResources(this.exportChangesToolStripMenuItem, "exportChangesToolStripMenuItem");
     this.exportChangesToolStripMenuItem.Name   = "exportChangesToolStripMenuItem";
     this.exportChangesToolStripMenuItem.Text   = global::Updater.Common.Properties.Settings.Default.ExportChanges;
     this.exportChangesToolStripMenuItem.Click += new System.EventHandler(this.exportChangesToolStripMenuItem_Click);
     //
     // saveFileDialog
     //
     this.saveFileDialog.DefaultExt = "xml";
     resources.ApplyResources(this.saveFileDialog, "saveFileDialog");
     //
     // btnDoWork
     //
     resources.ApplyResources(this.btnDoWork, "btnDoWork");
     this.btnDoWork.Name = "btnDoWork";
     this.btnDoWork.Text = global::Updater.Common.Properties.Settings.Default.StepThreeExplanation;
     this.btnDoWork.UseVisualStyleBackColor = true;
     this.btnDoWork.Click += new System.EventHandler(this.btnDoWork_Click);
     //
     // editor
     //
     resources.ApplyResources(this.editor, "editor");
     this.editor.Name            = "editor";
     this.editor.NewFilePath     = null;
     this.editor.OldFilePath     = null;
     this.editor.UpdatedFilePath = null;
     this.editor.UpdatePaneFont  = new System.Drawing.Font("Verdana", 8.25F);
     //
     // MainForm
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.btnDoWork);
     this.Controls.Add(this.editor);
     this.Controls.Add(statusStrip);
     this.Controls.Add(this.menuStrip);
     this.Controls.Add(this.tableTopAll);
     this.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Updater.Common.Properties.Settings.Default, "FormTitle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
     this.DoubleBuffered = true;
     this.MainMenuStrip  = this.menuStrip;
     this.Name           = "MainForm";
     this.Text           = global::Updater.Common.Properties.Settings.Default.FormTitle;
     this.ResizeBegin   += new System.EventHandler(this.form_ResizeBegin);
     this.tableTopAll.ResumeLayout(false);
     this.tableTopAll.PerformLayout();
     tableTopRight.ResumeLayout(false);
     tableTopRight.PerformLayout();
     tableTopLeft.ResumeLayout(false);
     tableTopLeft.PerformLayout();
     statusStrip.ResumeLayout(false);
     statusStrip.PerformLayout();
     this.menuStrip.ResumeLayout(false);
     this.menuStrip.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
  /// <summary>
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  /// </summary>
  private void InitializeComponent()
  {
   int i;
   String fname = "CreativeModePlus.res.Minecraft-Icon.ico";
   Stream file = Asm.exe.GetManifestResourceStream( fname );
   Bitmap icon = new Bitmap( file );
   menuStrip1 = new MenuStrip();
   fileToolStripMenuItem = new ToolStripMenuItem();
   openMenu = new ToolStripMenuItem();
   exportMenu = new ToolStripMenuItem();
   toolStripSeparator1 = new ToolStripSeparator();
   exitMenu = new ToolStripMenuItem();
   editToolStripMenuItem = new ToolStripMenuItem();
   undoMenu = new ToolStripMenuItem();
   redoMenu = new ToolStripMenuItem();
   toolStripSeparator2 = new ToolStripSeparator();
   deselMenu = new ToolStripMenuItem();
   toolStripSeparator3 = new ToolStripSeparator();
   copyMenu = new ToolStripMenuItem();
   cutMenu = new ToolStripMenuItem();
   pasteMenu = new ToolStripMenuItem();
   viewToolStripMenuItem = new ToolStripMenuItem();
   toolsMenu = new ToolStripMenuItem();
   mapToolStripMenuItem = new ToolStripMenuItem();
   regionMenu = new ToolStripMenuItem();
   helpToolStripMenuItem = new ToolStripMenuItem();
   helpMenu = new ToolStripMenuItem();
   aboutMenu = new ToolStripMenuItem();
   mnuScale = new ToolStripTextBox();
   height = new ComboBox();
   statusStrip1 = new StatusStrip();
   toolStripStatusLabel1 = new ToolStripStatusLabel();
   mnuLoad = new ToolStripProgressBar();
   toolStripStatusLabel2 = new ToolStripStatusLabel();
   mnuStatus = new ToolStripStatusLabel();
   toolStripStatusLabel3 = new ToolStripStatusLabel();
   mnuBlock = new ToolStripStatusLabel();
   toolStripStatusLabel4 = new ToolStripStatusLabel();
   mnuCoord = new ToolStripStatusLabel();
   pnlImage = new Panel();
   mapImage = new PictureBox();
   cmbBlocks = new CreativeModePlus.ComboBoxWithIcons();
   cmbPaint = new CreativeModePlus.ComboBoxWithIcons();
   menuStrip1.SuspendLayout();
   statusStrip1.SuspendLayout();
   pnlImage.SuspendLayout();
   ((System.ComponentModel.ISupportInitialize)(mapImage)).BeginInit();
   SuspendLayout();
   // 
   // menuStrip1
   // 
   menuStrip1.BackColor = Color.LightGray;
   menuStrip1.Items.AddRange(new ToolStripItem[] {
            fileToolStripMenuItem,
            editToolStripMenuItem,
            viewToolStripMenuItem,
            mapToolStripMenuItem,
            helpToolStripMenuItem,
            mnuScale});
   menuStrip1.Location = new Point(0, 0);
   menuStrip1.Name = "menuStrip1";
   menuStrip1.Size = new Size(528, 27);
   menuStrip1.TabIndex = 0;
   menuStrip1.Text = "menuStrip1";
   // 
   // fileToolStripMenuItem
   // 
   fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            openMenu,
            exportMenu,
            toolStripSeparator1,
            exitMenu});
   fileToolStripMenuItem.Name = "fileToolStripMenuItem";
   fileToolStripMenuItem.Size = new Size(37, 23);
   fileToolStripMenuItem.Text = "&File";
   // 
   // openMenu
   // 
   openMenu.Name = "openMenu";
   openMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.O)));
   openMenu.Size = new Size(182, 22);
   openMenu.Text = "&Open World";
   openMenu.Click += new EventHandler(openMenu_Click);
   // 
   // exportMenu
   // 
   exportMenu.Name = "exportMenu";
   exportMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.S)));
   exportMenu.Size = new Size(182, 22);
   exportMenu.Text = "&Save";
   exportMenu.Click += new EventHandler( exportMenu_Click );
   // 
   // toolStripSeparator1
   // 
   toolStripSeparator1.Name = "toolStripSeparator1";
   toolStripSeparator1.Size = new Size(179, 6);
   // 
   // exitMenu
   // 
   exitMenu.Name = "exitMenu";
   exitMenu.ShortcutKeys = ((Keys)((Keys.Alt | Keys.F4)));
   exitMenu.Size = new Size(182, 22);
   exitMenu.Text = "E&xit";
   exitMenu.Click += new EventHandler(exitMenu_Click);
   // 
   // editToolStripMenuItem
   // 
   editToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            undoMenu,
            redoMenu,
            toolStripSeparator2,
            deselMenu,
            toolStripSeparator3,
            copyMenu,
            cutMenu,
            pasteMenu});
   editToolStripMenuItem.Name = "editToolStripMenuItem";
   editToolStripMenuItem.Size = new Size(39, 23);
   editToolStripMenuItem.Text = "&Edit";
   //
   // deselMenu
   //
   deselMenu.Name = "deselMenu";
   deselMenu.ShortcutKeys = (( Keys )( Keys.Control | Keys.D ));
   deselMenu.Size = new Size( 152, 22 );
   deselMenu.Text = "&Deselect";
   deselMenu.Click += new EventHandler( deselMenu_Click );
   // 
   // copyMenu
   // 
   copyMenu.Name = "copyMenu";
   copyMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.C)));
   copyMenu.Size = new Size(152, 22);
   copyMenu.Text = "C&opy";
   copyMenu.Click += new EventHandler( copyMenu_Click );
   // 
   // cutMenu
   // 
   cutMenu.Name = "cutMenu";
   cutMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.X)));
   cutMenu.Size = new Size(152, 22);
   cutMenu.Text = "C&ut";
   cutMenu.Click += new EventHandler( cutMenu_Click );
   // 
   // pasteMenu
   // 
   pasteMenu.Name = "pasteMenu";
   pasteMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.V)));
   pasteMenu.Size = new Size(152, 22);
   pasteMenu.Text = "&Paste";
   pasteMenu.Click += new EventHandler( pasteMenu_Click );
   // 
   // viewToolStripMenuItem
   // 
   viewToolStripMenuItem.DropDownItems.Add( toolsMenu );
   viewToolStripMenuItem.Name = "viewToolStripMenuItem";
   viewToolStripMenuItem.Size = new Size(44, 23);
   viewToolStripMenuItem.Text = "&View";
   // 
   // toolsMenu
   // 
   toolsMenu.Checked = true;
   toolsMenu.CheckOnClick = true;
   toolsMenu.CheckState = CheckState.Checked;
   toolsMenu.Name = "toolsMenu";
   toolsMenu.Size = new Size(112, 22);
   toolsMenu.Text = "Tools";
   toolsMenu.CheckedChanged += new EventHandler(toolsMenu_CheckChanged);
   // 
   // mapToolStripMenuItem
   // 
   mapToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            regionMenu});
   mapToolStripMenuItem.Name = "mapToolStripMenuItem";
   mapToolStripMenuItem.Size = new Size(43, 23);
   mapToolStripMenuItem.Text = "&Map";
   // 
   // regionMenu
   // 
   regionMenu.Name = "regionMenu";
   regionMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.R)));
   regionMenu.Size = new Size(186, 22);
   regionMenu.Text = "&Select Region";
   regionMenu.Click += new EventHandler(regionMenu_Click);
   // 
   // helpToolStripMenuItem
   // 
   helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
            helpMenu, aboutMenu});
   helpToolStripMenuItem.Name = "helpToolStripMenuItem";
   helpToolStripMenuItem.Size = new Size(44, 23);
   helpToolStripMenuItem.Text = "&Help";
   //
   // helpMenu
   //
   helpMenu.Name = "helpMenu";
   helpMenu.ShortcutKeys = Keys.F1;
   helpMenu.Size = new Size( 149, 22 );
   helpMenu.Text = "&Help";
   helpMenu.Click += new EventHandler( helpMenu_Click );
   // 
   // aboutMenu
   // 
   aboutMenu.Name = "aboutMenu";
   aboutMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.A)));
   aboutMenu.Size = new Size(149, 22);
   aboutMenu.Text = "&About";
   aboutMenu.Click += new EventHandler(aboutMenu_Click);
   // 
   // mnuScale
   // 
   mnuScale.BackColor = Color.LightGray;
   mnuScale.Name = "mnuScale";
   mnuScale.Size = new Size(50, 23);
   mnuScale.Text = "100%";
   mnuScale.TextBoxTextAlign = HorizontalAlignment.Right;
   // 
   // statusStrip1
   // 
   statusStrip1.BackColor = Color.LightGray;
   statusStrip1.Items.AddRange(new ToolStripItem[] {
            toolStripStatusLabel1,
            mnuLoad,
            toolStripStatusLabel2,
            mnuStatus,
            toolStripStatusLabel3,
            mnuBlock,
            toolStripStatusLabel4,
            mnuCoord});
   statusStrip1.Location = new Point(0, 601);
   statusStrip1.Name = "statusStrip1";
   statusStrip1.Size = new Size(528, 22);
   statusStrip1.TabIndex = 3;
   statusStrip1.Text = "statusStrip1";
   // 
   // toolStripStatusLabel1
   // 
   toolStripStatusLabel1.BackColor = Color.LightGray;
   toolStripStatusLabel1.Name = "toolStripStatusLabel";
   toolStripStatusLabel1.Size = new Size(22, 17);
   toolStripStatusLabel1.Text = "     ";
   // 
   // mnuLoad
   // 
   mnuLoad.BackColor = SystemColors.GrayText;
   mnuLoad.ForeColor = SystemColors.GradientActiveCaption;
   mnuLoad.Name = "mnuLoad";
   mnuLoad.Size = new Size(100, 16);
   mnuLoad.Style = ProgressBarStyle.Continuous;
   // 
   // toolStripStatusLabel2
   // 
   toolStripStatusLabel2.BackColor = Color.LightGray;
   toolStripStatusLabel2.Name = "toolStripStatusLabel2";
   toolStripStatusLabel2.Size = new Size(22, 17);
   toolStripStatusLabel2.Text = "     ";
   // 
   // mnuStatus
   // 
   mnuStatus.BackColor = Color.LightGray;
   mnuStatus.Name = "mnuStatus";
   mnuStatus.Size = new Size(102, 17);
   mnuStatus.Text = "Not Loading";
   // 
   // toolStripStatusLabel3
   // 
   toolStripStatusLabel3.BackColor = Color.LightGray;
   toolStripStatusLabel3.Name = "toolStripStatusLabel3";
   toolStripStatusLabel3.Size = new Size(22, 17);
   toolStripStatusLabel3.Text = "     ";
   // 
   // mnuBlock
   // 
   mnuBlock.BackColor = Color.LightGray;
   mnuBlock.Name = "mnuBlock";
   mnuBlock.Size = new Size(102, 17);
   mnuBlock.Text = "Block Information";
   // 
   // toolStripStatusLabel4
   // 
   toolStripStatusLabel3.BackColor = Color.LightGray;
   toolStripStatusLabel3.Name = "toolStripStatusLabel4";
   toolStripStatusLabel3.Size = new Size(22, 17);
   toolStripStatusLabel3.Text = "     ";
   // 
   // mnuCoord
   // 
   mnuCoord.BackColor = Color.LightGray;
   mnuCoord.Name = "mnuBlock";
   mnuCoord.Size = new Size(102, 17);
   mnuCoord.Text = "( X, Y )";
   // 
   // pnlImage
   // 
   pnlImage.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom) 
            | AnchorStyles.Left) 
            | AnchorStyles.Right)));
   pnlImage.AutoScroll = true;
   pnlImage.BackColor = SystemColors.Desktop;
   pnlImage.Controls.Add(mapImage);
   pnlImage.Location = new Point(0, 48);
   pnlImage.Name = "pnlImage";
   pnlImage.Size = new Size(528, 550);
   pnlImage.TabIndex = 4;
   pnlImage.MouseWheel += new MouseEventHandler( pnlImage_Wheel );
   // 
   // mapImage
   // 
   mapImage.Location = new Point(0, 0);
   mapImage.Name = "mapImage";
   mapImage.Size = new Size(512, 512);
   mapImage.SizeMode = PictureBoxSizeMode.Zoom;
   mapImage.TabIndex = 0;
   mapImage.TabStop = false;
   mapImage.MouseClick += new MouseEventHandler(mapImage_Click);
   mapImage.MouseDown += new MouseEventHandler(mapImage_Down);
   mapImage.MouseEnter += new EventHandler(mapImage_MouseEnter);
   mapImage.MouseLeave += new EventHandler(mapImage_MouseLeave);
   mapImage.MouseMove += new MouseEventHandler(mapImage_MouseMove);
   mapImage.MouseUp += new MouseEventHandler(mapImage_Up);
   // 
   // height
   // 
   height.DropDownStyle = ComboBoxStyle.DropDownList;
   height.FlatStyle = FlatStyle.Flat;
   height.Location = new Point(380, 27);
   height.Name = "height";
   height.Size = new Size(100, 21);
   height.TabIndex = 2;
   height.SelectedIndexChanged += new EventHandler(height_ValueChanged);
   // 
   // cmbBlocks
   // 
   cmbBlocks.DrawMode = DrawMode.OwnerDrawFixed;
   cmbBlocks.DropDownStyle = ComboBoxStyle.DropDownList;
   cmbBlocks.FlatStyle = FlatStyle.Flat;
   cmbBlocks.FormattingEnabled = true;
   cmbBlocks.Location = new Point(0, 27);
   cmbBlocks.Name = "cmbBlocks";
   cmbBlocks.Size = new Size(187, 21);
   cmbBlocks.TabIndex = 5;
   for( i = 0; i < 256; i++ )
    height.Items.Add( "" + ( i + 1 ));
   cmbBlocks.SelectedIndexChanged += new EventHandler(cmbBlocks_SelectedIndexChanged);
   // 
   // cmbPaint
   // 
   cmbPaint.DrawMode = DrawMode.OwnerDrawFixed;
   cmbPaint.DropDownStyle = ComboBoxStyle.DropDownList;
   cmbPaint.FlatStyle = FlatStyle.Flat;
   cmbPaint.FormattingEnabled = true;
   cmbPaint.Location = new Point(190, 27);
   cmbPaint.Name = "cmbPaint";
   cmbPaint.Size = new Size(187, 21);
   cmbPaint.TabIndex = 5;
   cmbPaint.SelectedIndexChanged += new EventHandler(cmbPaint_SelectedIndexChanged);
   // 
   // toolStripSeparator2
   // 
   toolStripSeparator2.Name = "toolStripSeparator2";
   toolStripSeparator2.Size = new Size(149, 6);
   // 
   // undoMenu
   // 
   undoMenu.Name = "undoMenu";
   undoMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.Z)));
   undoMenu.Size = new Size(152, 22);
   undoMenu.Text = "&Undo";
   undoMenu.Click += new EventHandler(undoMenu_Click);
   // 
   // redoMenu
   // 
   redoMenu.Name = "redoMenu";
   redoMenu.ShortcutKeys = ((Keys)((Keys.Control | Keys.Y)));
   redoMenu.Size = new Size(152, 22);
   redoMenu.Text = "&Redo";
   redoMenu.Click += new EventHandler(redoMenu_Click);
   // 
   // frmMain
   // 
   BackColor = Color.LightGray;
   ClientSize = new Size(528, 623);
   Controls.Add(cmbBlocks);
   Controls.Add(cmbPaint);
   Controls.Add(statusStrip1);
   Controls.Add(height);
   Controls.Add(menuStrip1);
   Controls.Add(pnlImage);
   FormClosing += new FormClosingEventHandler( frmMain_Closing );
   Icon = Icon.FromHandle( icon.GetHicon());
   file.Close();
   Location = new Point(( Screen.PrimaryScreen.Bounds.Width - Width ) / 2,
                        ( Screen.PrimaryScreen.Bounds.Height - Height ) / 2 );
   MainMenuStrip = menuStrip1;
   Move += new EventHandler(frmMain_SizeChanged);
   Name = "frmMain";
   StartPosition = FormStartPosition.Manual;
   Text = "Creative Mode+";
   SizeChanged += new EventHandler(frmMain_SizeChanged);
   menuStrip1.ResumeLayout(false);
   menuStrip1.PerformLayout();
   statusStrip1.ResumeLayout(false);
   statusStrip1.PerformLayout();
   pnlImage.ResumeLayout(false);
   ((System.ComponentModel.ISupportInitialize)(mapImage)).EndInit();
   ResumeLayout(false);
   PerformLayout();

  }
示例#4
0
 private void InitializeComponent()
 {
     System.Windows.Forms.StatusStrip       _StatusBar;
     System.Windows.Forms.ToolStripButton   _OpenButton;
     System.Windows.Forms.ToolStrip         _MenuBar;
     System.Windows.Forms.ToolStripMenuItem _ColorBlackMenuItem;
     System.Windows.Forms.ToolStripMenuItem _ColorBySpeedMenuItem;
     System.Windows.Forms.ToolStripMenuItem _ColorByAltitudeMenuItem;
     this._ZoomLabel        = new System.Windows.Forms.ToolStripStatusLabel();
     this._CoordinatesLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this._DownloadsLabel   = new System.Windows.Forms.ToolStripStatusLabel();
     this._ColoringMenuItem = new System.Windows.Forms.ToolStripDropDownButton();
     this._ColorByAltitudeDifferenceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._OpacityTrackbar = new System.Windows.Forms.TrackBar();
     this._Map             = new System.Windows.Forms.DataMap();
     _StatusBar            = new System.Windows.Forms.StatusStrip();
     _OpenButton           = new System.Windows.Forms.ToolStripButton();
     _MenuBar                 = new System.Windows.Forms.ToolStrip();
     _ColorBlackMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     _ColorBySpeedMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     _ColorByAltitudeMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     _StatusBar.SuspendLayout();
     _MenuBar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._OpacityTrackbar)).BeginInit();
     this.SuspendLayout();
     //
     // _StatusBar
     //
     _StatusBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._ZoomLabel,
         this._CoordinatesLabel,
         this._DownloadsLabel
     });
     _StatusBar.Location = new System.Drawing.Point(0, 508);
     _StatusBar.Name     = "_StatusBar";
     _StatusBar.Size     = new System.Drawing.Size(844, 22);
     _StatusBar.TabIndex = 3;
     _StatusBar.Text     = "statusStrip1";
     //
     // _ZoomLabel
     //
     this._ZoomLabel.Name = "_ZoomLabel";
     this._ZoomLabel.Size = new System.Drawing.Size(59, 17);
     this._ZoomLabel.Text = "Zoom: XX";
     //
     // _CoordinatesLabel
     //
     this._CoordinatesLabel.Name = "_CoordinatesLabel";
     this._CoordinatesLabel.Size = new System.Drawing.Size(71, 17);
     this._CoordinatesLabel.Text = "Coordinates";
     //
     // _DownloadsLabel
     //
     this._DownloadsLabel.Name = "_DownloadsLabel";
     this._DownloadsLabel.Size = new System.Drawing.Size(13, 17);
     this._DownloadsLabel.Text = "0";
     //
     // _OpenButton
     //
     _OpenButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     _OpenButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     _OpenButton.Name   = "_OpenButton";
     _OpenButton.Size   = new System.Drawing.Size(40, 22);
     _OpenButton.Text   = "Open";
     _OpenButton.Click += new System.EventHandler(this._OnOpenButtonClicked);
     //
     // _MenuBar
     //
     _MenuBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _OpenButton,
         this._ColoringMenuItem
     });
     _MenuBar.Location = new System.Drawing.Point(0, 0);
     _MenuBar.Name     = "_MenuBar";
     _MenuBar.Size     = new System.Drawing.Size(844, 25);
     _MenuBar.TabIndex = 5;
     _MenuBar.Text     = "toolStrip1";
     //
     // _ColoringMenuItem
     //
     this._ColoringMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this._ColoringMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _ColorBlackMenuItem,
         _ColorBySpeedMenuItem,
         _ColorByAltitudeMenuItem,
         this._ColorByAltitudeDifferenceMenuItem
     });
     this._ColoringMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._ColoringMenuItem.Name = "_ColoringMenuItem";
     this._ColoringMenuItem.Size = new System.Drawing.Size(66, 22);
     this._ColoringMenuItem.Text = "Coloring";
     //
     // _ColorBlackMenuItem
     //
     _ColorBlackMenuItem.Name   = "_ColorBlackMenuItem";
     _ColorBlackMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorBlackMenuItem.Text   = "Black";
     _ColorBlackMenuItem.Click += new System.EventHandler(this._OnColorBlackMenuItemClicked);
     //
     // _ColorBySpeedMenuItem
     //
     _ColorBySpeedMenuItem.Name   = "_ColorBySpeedMenuItem";
     _ColorBySpeedMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorBySpeedMenuItem.Text   = "by Speed";
     _ColorBySpeedMenuItem.Click += new System.EventHandler(this._OnColorBySpeedMenuItemClicked);
     //
     // _ColorByAltitudeMenuItem
     //
     _ColorByAltitudeMenuItem.Name   = "_ColorByAltitudeMenuItem";
     _ColorByAltitudeMenuItem.Size   = new System.Drawing.Size(189, 22);
     _ColorByAltitudeMenuItem.Text   = "by Altitude";
     _ColorByAltitudeMenuItem.Click += new System.EventHandler(this._OnColorByAltitudeMenuItemClicked);
     //
     // _ColorByAltitudeDifferenceMenuItem
     //
     this._ColorByAltitudeDifferenceMenuItem.Name   = "_ColorByAltitudeDifferenceMenuItem";
     this._ColorByAltitudeDifferenceMenuItem.Size   = new System.Drawing.Size(189, 22);
     this._ColorByAltitudeDifferenceMenuItem.Text   = "by Altitude Difference";
     this._ColorByAltitudeDifferenceMenuItem.Click += new System.EventHandler(this._OnColorByAltitudeDifferenceMenuItemClicked);
     //
     // _OpacityTrackbar
     //
     this._OpacityTrackbar.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._OpacityTrackbar.BackColor = System.Drawing.SystemColors.Control;
     this._OpacityTrackbar.Location  = new System.Drawing.Point(728, 41);
     this._OpacityTrackbar.Maximum   = 100;
     this._OpacityTrackbar.Name      = "_OpacityTrackbar";
     this._OpacityTrackbar.Size      = new System.Drawing.Size(104, 45);
     this._OpacityTrackbar.TabIndex  = 6;
     this._OpacityTrackbar.TabStop   = false;
     this._OpacityTrackbar.TickStyle = System.Windows.Forms.TickStyle.None;
     this._OpacityTrackbar.Value     = 50;
     this._OpacityTrackbar.Scroll   += new System.EventHandler(this._OnOpacityTrackbarScrolled);
     this._OpacityTrackbar.Enter    += new System.EventHandler(this._OnOpacityTrackbarFocusEntered);
     //
     // _Map
     //
     this._Map.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._Map.BackColor   = System.Drawing.Color.Black;
     this._Map.Location    = new System.Drawing.Point(0, 25);
     this._Map.MapProvider = null;
     this._Map.Margin      = new System.Windows.Forms.Padding(0);
     this._Map.Name        = "_Map";
     this._Map.Opacity     = 1F;
     this._Map.Size        = new System.Drawing.Size(844, 483);
     this._Map.TabIndex    = 4;
     this._Map.TranslateX  = 0;
     this._Map.TranslateY  = 0;
     this._Map.MouseDown  += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseDown);
     this._Map.MouseMove  += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseMoved);
     this._Map.MouseUp    += new System.Windows.Forms.MouseEventHandler(this._OnMapControlMouseUp);
     //
     // MainWindow
     //
     this.ClientSize = new System.Drawing.Size(844, 530);
     this.Controls.Add(this._OpacityTrackbar);
     this.Controls.Add(_MenuBar);
     this.Controls.Add(this._Map);
     this.Controls.Add(_StatusBar);
     this.Name  = "MainWindow";
     this.Text  = "Mapper";
     this.Load += new System.EventHandler(this._OnLoaded);
     _StatusBar.ResumeLayout(false);
     _StatusBar.PerformLayout();
     _MenuBar.ResumeLayout(false);
     _MenuBar.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._OpacityTrackbar)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     components = new Container();
     ComponentResourceManager resources = new ComponentResourceManager(typeof(frmExplorer));
     mainMenu1 = new MainMenu(components);
     menuItem1 = new MenuItem();
     OpenDBmenu = new MenuItem();
     CreateDBMenu = new MenuItem();
     CheckIntegrity = new MenuItem();
     menuItem3 = new MenuItem();
     ExitAppMenu = new MenuItem();
     menuItem2 = new MenuItem();
     AddAreaMenu = new MenuItem();
     objExecuteSQL = new MenuItem();
     objOpenTableSQL = new MenuItem();
     objRenameTableSQL = new MenuItem();
     objAddColumnSQL = new MenuItem();
     objRemoveColumnSQL = new MenuItem();
     objDeleteRowSQL = new MenuItem();
     objCreateTableSQL = new MenuItem();
     objDeleteTableSQL = new MenuItem();
     TreeViewContextMenu = new ContextMenu();
     TreeViewTablesMenu = new ContextMenu();
     toolBar1 = new ToolBar();
     OpenDatabase = new ToolBarButton();
     IntegrityCheck = new ToolBarButton();
     Separator = new ToolBarButton();
     ExecuteSQL = new ToolBarButton();
     ToolBarImages = new ImageList(components);
     sqlStatementTextBox = new FastColoredTextBox();
     statusStrip1 = new StatusStrip();
     StatusStripLog = new ToolStripStatusLabel();
     splitContainer1 = new SplitContainer();
     splitContainer2 = new SplitContainer();
     SQLAreaTabControl = new TabControlEx();
     tabPage1 = new TabPage();
     silverMonkeyFCTB1 = new SilverMonkeyFCTB();
     SqlResultsListView = new ListView_NoFlicker();
     tabControl1 = new TabControl();
     tabPage2 = new TabPage();
     tabPage3 = new TabPage();
     DatabaseTreeView = new TreeView();
     ((ISupportInitialize)(sqlStatementTextBox)).BeginInit();
     statusStrip1.SuspendLayout();
     ((ISupportInitialize)(splitContainer1)).BeginInit();
     splitContainer1.Panel1.SuspendLayout();
     splitContainer1.Panel2.SuspendLayout();
     splitContainer1.SuspendLayout();
     ((ISupportInitialize)(splitContainer2)).BeginInit();
     splitContainer2.Panel1.SuspendLayout();
     splitContainer2.Panel2.SuspendLayout();
     splitContainer2.SuspendLayout();
     SQLAreaTabControl.SuspendLayout();
     tabPage1.SuspendLayout();
     ((ISupportInitialize)(silverMonkeyFCTB1)).BeginInit();
     tabControl1.SuspendLayout();
     tabPage2.SuspendLayout();
     SuspendLayout();
     //
     // mainMenu1
     //
     mainMenu1.MenuItems.AddRange(new MenuItem[] {
     menuItem1,
     menuItem2});
     //
     // menuItem1
     //
     menuItem1.Index = 0;
     menuItem1.MenuItems.AddRange(new MenuItem[] {
     OpenDBmenu,
     CreateDBMenu,
     CheckIntegrity,
     menuItem3,
     ExitAppMenu});
     menuItem1.Text = "File";
     //
     // OpenDBmenu
     //
     OpenDBmenu.Index = 0;
     OpenDBmenu.Text = "Open Database";
     OpenDBmenu.Click += new EventHandler(OpenDBmenu_Click);
     //
     // CreateDBMenu
     //
     CreateDBMenu.Index = 1;
     CreateDBMenu.Text = "Create Database";
     CreateDBMenu.Click += new EventHandler(CreateDBMenu_Click);
     //
     // CheckIntegrity
     //
     CheckIntegrity.Index = 2;
     CheckIntegrity.Text = "Check DB Integrity";
     CheckIntegrity.Click += new EventHandler(CheckIntegrity_Click);
     //
     // menuItem3
     //
     menuItem3.Index = 3;
     menuItem3.Text = "-";
     //
     // ExitAppMenu
     //
     ExitAppMenu.Index = 4;
     ExitAppMenu.Text = "Exit";
     ExitAppMenu.Click += new EventHandler(ExitAppMenu_Click);
     //
     // menuItem2
     //
     menuItem2.Index = 1;
     menuItem2.MenuItems.AddRange(new MenuItem[] {
     AddAreaMenu});
     menuItem2.Text = "SQLArea";
     //
     // AddAreaMenu
     //
     AddAreaMenu.Index = 0;
     AddAreaMenu.Text = "Add Area";
     AddAreaMenu.Click += new EventHandler(AddAreaMenu_Click);
     //
     // objExecuteSQL
     //
     objExecuteSQL.Index = -1;
     objExecuteSQL.Text = "Execute";
     objExecuteSQL.Click += new EventHandler(objExecuteSQL_Click);
     //
     // objOpenTableSQL
     //
     objOpenTableSQL.Index = 0;
     objOpenTableSQL.Text = "Open Table";
     objOpenTableSQL.Click += new EventHandler(objOpenTableSQL_Click);
     //
     // objRenameTableSQL
     //
     objRenameTableSQL.Index = 1;
     objRenameTableSQL.Text = "Rename";
     objRenameTableSQL.Click += new EventHandler(objRenameTableSQL_Click);
     //
     // objAddColumnSQL
     //
     objAddColumnSQL.Index = 2;
     objAddColumnSQL.Text = "Add Column";
     objAddColumnSQL.Click += new EventHandler(objAddColumnSQL_Click);
     //
     // objRemoveColumnSQL
     //
     objRemoveColumnSQL.Index = 3;
     objRemoveColumnSQL.Text = "Remove Column";
     objRemoveColumnSQL.Click += new EventHandler(objRemoveColumnSQL_Click);
     //
     // objDeleteRowSQL
     //
     objDeleteRowSQL.Index = -1;
     objDeleteRowSQL.Text = "Delete Row";
     objDeleteRowSQL.Click += new EventHandler(objDeleteRowSQL_Click);
     //
     // objCreateTableSQL
     //
     objCreateTableSQL.Index = 0;
     objCreateTableSQL.Text = "Create Table";
     objCreateTableSQL.Click += new EventHandler(objCreateTableSQL_Click);
     //
     // objDeleteTableSQL
     //
     objDeleteTableSQL.Index = 4;
     objDeleteTableSQL.Text = "Delete Table";
     objDeleteTableSQL.Click += new EventHandler(objDeleteTableSQL_Click);
     //
     // TreeViewContextMenu
     //
     TreeViewContextMenu.MenuItems.AddRange(new MenuItem[] {
     objOpenTableSQL,
     objRenameTableSQL,
     objAddColumnSQL,
     objRemoveColumnSQL,
     objDeleteTableSQL});
     //
     // TreeViewTablesMenu
     //
     TreeViewTablesMenu.MenuItems.AddRange(new MenuItem[] {
     objCreateTableSQL});
     //
     // toolBar1
     //
     toolBar1.Buttons.AddRange(new ToolBarButton[] {
     OpenDatabase,
     IntegrityCheck,
     Separator,
     ExecuteSQL});
     toolBar1.DropDownArrows = true;
     toolBar1.ImageList = ToolBarImages;
     toolBar1.Location = new Point(0, 0);
     toolBar1.Name = "toolBar1";
     toolBar1.ShowToolTips = true;
     toolBar1.Size = new Size(840, 28);
     toolBar1.TabIndex = 11;
     toolBar1.ButtonClick += new ToolBarButtonClickEventHandler(toolBar1_ButtonClick);
     //
     // OpenDatabase
     //
     OpenDatabase.ImageIndex = 0;
     OpenDatabase.Name = "OpenDatabase";
     OpenDatabase.Tag = "OpenDatabase";
     OpenDatabase.ToolTipText = "Open Database";
     //
     // IntegrityCheck
     //
     IntegrityCheck.ImageIndex = 3;
     IntegrityCheck.Name = "IntegrityCheck";
     IntegrityCheck.Tag = "IntegrityCheck";
     IntegrityCheck.ToolTipText = "Integrity Check";
     //
     // Separator
     //
     Separator.Name = "Separator";
     Separator.Style = ToolBarButtonStyle.Separator;
     //
     // ExecuteSQL
     //
     ExecuteSQL.ImageIndex = 1;
     ExecuteSQL.Name = "ExecuteSQL";
     ExecuteSQL.Tag = "ExecuteSQL";
     ExecuteSQL.ToolTipText = "Execute SQL";
     //
     // ToolBarImages
     //
     ToolBarImages.ImageStream = ((ImageListStreamer)(resources.GetObject("ToolBarImages.ImageStream")));
     ToolBarImages.TransparentColor = System.Drawing.Color.Transparent;
     ToolBarImages.Images.SetKeyName(0, "");
     ToolBarImages.Images.SetKeyName(1, "");
     ToolBarImages.Images.SetKeyName(2, "");
     ToolBarImages.Images.SetKeyName(3, "");
     //
     // sqlStatementTextBox
     //
     sqlStatementTextBox.AutoCompleteBracketsList = new char[] {
     '(',
     ')',
     '{',
     '}',
     '[',
     ']',
     '\"',
     '\"',
     '\'',
     '\''};
     sqlStatementTextBox.AutoScrollMinSize = new Size(2, 14);
     sqlStatementTextBox.BackBrush = null;
     sqlStatementTextBox.CharHeight = 14;
     sqlStatementTextBox.CharWidth = 8;
     sqlStatementTextBox.Cursor = Cursors.IBeam;
     sqlStatementTextBox.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     sqlStatementTextBox.Font = new System.Drawing.Font("Courier New", 9.75F);
     sqlStatementTextBox.IsReplaceMode = false;
     sqlStatementTextBox.Location = new Point(0, 0);
     sqlStatementTextBox.Name = "sqlStatementTextBox";
     sqlStatementTextBox.Paddings = new Padding(0);
     sqlStatementTextBox.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     sqlStatementTextBox.ServiceColors = ((ServiceColors)(resources.GetObject("sqlStatementTextBox.ServiceColors")));
     sqlStatementTextBox.Size = new Size(150, 150);
     sqlStatementTextBox.TabIndex = 0;
     sqlStatementTextBox.Zoom = 100;
     //
     // statusStrip1
     //
     statusStrip1.Items.AddRange(new ToolStripItem[] {
     StatusStripLog});
     statusStrip1.Location = new Point(0, 361);
     statusStrip1.Name = "statusStrip1";
     statusStrip1.Size = new Size(840, 22);
     statusStrip1.TabIndex = 18;
     statusStrip1.Text = "statusStrip1";
     //
     // StatusStripLog
     //
     StatusStripLog.Name = "StatusStripLog";
     StatusStripLog.Size = new Size(50, 17);
     StatusStripLog.Text = "Execute: Ready";
     //
     // splitContainer1
     //
     splitContainer1.Dock = DockStyle.Fill;
     splitContainer1.Location = new Point(0, 28);
     splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     splitContainer1.Panel1.Controls.Add(tabControl1);
     //
     // splitContainer1.Panel2
     //
     splitContainer1.Panel2.Controls.Add(splitContainer2);
     splitContainer1.Size = new Size(840, 333);
     splitContainer1.SplitterDistance = 280;
     splitContainer1.TabIndex = 19;
     //
     // splitContainer2
     //
     splitContainer2.Dock = DockStyle.Fill;
     splitContainer2.Location = new Point(0, 0);
     splitContainer2.Name = "splitContainer2";
     splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     splitContainer2.Panel1.Controls.Add(SQLAreaTabControl);
     splitContainer2.Panel1.Padding = new Padding(5);
     //
     // splitContainer2.Panel2
     //
     splitContainer2.Panel2.Controls.Add(SqlResultsListView);
     splitContainer2.Size = new Size(556, 333);
     splitContainer2.SplitterDistance = 158;
     splitContainer2.TabIndex = 21;
     //
     // SQLAreaTabControl
     //
     SQLAreaTabControl.Controls.Add(tabPage1);
     SQLAreaTabControl.Dock = DockStyle.Fill;
     SQLAreaTabControl.Location = new Point(5, 5);
     SQLAreaTabControl.Name = "SQLAreaTabControl";
     SQLAreaTabControl.SelectedIndex = 0;
     SQLAreaTabControl.Size = new Size(546, 148);
     SQLAreaTabControl.TabIndex = 0;
     SQLAreaTabControl.CloseButtonClick += SQLAreaTabControl_CloseButtonClick;
     SQLAreaTabControl.MouseDown += new MouseEventHandler(SQLAreaTabControl_MouseDown);
     //
     // tabPage1
     //
     tabPage1.Controls.Add(silverMonkeyFCTB1);
     tabPage1.Location = new Point(4, 22);
     tabPage1.Name = "tabPage1";
     tabPage1.Padding = new Padding(3);
     tabPage1.Size = new Size(538, 122);
     tabPage1.TabIndex = 0;
     tabPage1.Text = "SQL     ";
     tabPage1.UseVisualStyleBackColor = true;
     //
     // silverMonkeyFCTB1
     //
     silverMonkeyFCTB1.AutoCompleteBracketsList = new char[] {
     '(',
     ')',
     '{',
     '}',
     '[',
     ']',
     '\"',
     '\"',
     '\'',
     '\''};
     silverMonkeyFCTB1.AutoIndentCharsPatterns = "";
     silverMonkeyFCTB1.AutoScrollMinSize = new Size(27, 14);
     silverMonkeyFCTB1.BackBrush = null;
     silverMonkeyFCTB1.CharHeight = 14;
     silverMonkeyFCTB1.CharWidth = 8;
     silverMonkeyFCTB1.CommentPrefix = "--";
     silverMonkeyFCTB1.Cursor = Cursors.IBeam;
     silverMonkeyFCTB1.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     silverMonkeyFCTB1.Dock = DockStyle.Fill;
     silverMonkeyFCTB1.IsReplaceMode = false;
     silverMonkeyFCTB1.Language = FastColoredTextBoxNS.Language.SQL;
     silverMonkeyFCTB1.LeftBracket = '(';
     silverMonkeyFCTB1.Location = new Point(3, 3);
     silverMonkeyFCTB1.Name = "silverMonkeyFCTB1";
     silverMonkeyFCTB1.Paddings = new Padding(0);
     silverMonkeyFCTB1.RightBracket = ')';
     silverMonkeyFCTB1.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
     silverMonkeyFCTB1.ServiceColors = ((ServiceColors)(resources.GetObject("silverMonkeyFCTB1.ServiceColors")));
     silverMonkeyFCTB1.Size = new Size(532, 116);
     silverMonkeyFCTB1.TabIndex = 0;
     silverMonkeyFCTB1.Zoom = 100;
     //
     // SqlResultsListView
     //
     SqlResultsListView.Dock = DockStyle.Fill;
     SqlResultsListView.FullRowSelect = true;
     SqlResultsListView.GridLines = true;
     SqlResultsListView.LabelEdit = true;
     SqlResultsListView.LargeImageList = ToolBarImages;
     SqlResultsListView.Location = new Point(0, 0);
     SqlResultsListView.Name = "SqlResultsListView";
     SqlResultsListView.Size = new Size(556, 171);
     SqlResultsListView.TabIndex = 0;
     SqlResultsListView.UseCompatibleStateImageBehavior = false;
     SqlResultsListView.View = View.Details;
     //
     // tabControl1
     //
     tabControl1.Controls.Add(tabPage2);
     tabControl1.Controls.Add(tabPage3);
     tabControl1.Dock = DockStyle.Fill;
     tabControl1.Location = new Point(0, 0);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new Size(280, 333);
     tabControl1.TabIndex = 1;
     //
     // tabPage2
     //
     tabPage2.Controls.Add(DatabaseTreeView);
     tabPage2.Location = new Point(4, 22);
     tabPage2.Name = "tabPage2";
     tabPage2.Padding = new Padding(3);
     tabPage2.Size = new Size(272, 307);
     tabPage2.TabIndex = 0;
     tabPage2.Text = "Database";
     tabPage2.UseVisualStyleBackColor = true;
     //
     // tabPage3
     //
     tabPage3.Location = new Point(4, 22);
     tabPage3.Name = "tabPage3";
     tabPage3.Padding = new Padding(3);
     tabPage3.Size = new Size(272, 307);
     tabPage3.TabIndex = 1;
     tabPage3.Text = "Templates";
     tabPage3.UseVisualStyleBackColor = true;
     //
     // DatabaseTreeView
     //
     DatabaseTreeView.Dock = DockStyle.Fill;
     DatabaseTreeView.Location = new Point(3, 3);
     DatabaseTreeView.Name = "DatabaseTreeView";
     DatabaseTreeView.Size = new Size(266, 301);
     DatabaseTreeView.TabIndex = 1;
     DatabaseTreeView.MouseDown += new MouseEventHandler(DatabaseTreeView_MouseDown);
     DatabaseTreeView.MouseDoubleClick += DatabaseTreeView_MouseDoubleClick;
     DatabaseTreeView.AfterExpand += DatabaseTreeView_AfterExpand;
     //
     // frmExplorer
     //
     AutoScaleBaseSize = new Size(5, 13);
     ClientSize = new Size(840, 383);
     Controls.Add(splitContainer1);
     Controls.Add(statusStrip1);
     Controls.Add(toolBar1);
     Icon = ((Icon)(resources.GetObject("$this.Icon")));
     Menu = mainMenu1;
     Name = "frmExplorer";
     Text = "TSProjects: Data Monkey";
     ((ISupportInitialize)(sqlStatementTextBox)).EndInit();
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel2.ResumeLayout(false);
     ((ISupportInitialize)(splitContainer1)).EndInit();
     splitContainer1.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel2.ResumeLayout(false);
     ((ISupportInitialize)(splitContainer2)).EndInit();
     splitContainer2.ResumeLayout(false);
     SQLAreaTabControl.ResumeLayout(false);
     tabPage1.ResumeLayout(false);
     ((ISupportInitialize)(silverMonkeyFCTB1)).EndInit();
     tabControl1.ResumeLayout(false);
     tabPage2.ResumeLayout(false);
     ResumeLayout(false);
     PerformLayout();
 }
示例#6
0
 private void InitializeComponent()
 {
     btnEnviar = new System.Windows.Forms.Button();
     txtINPUT = new System.Windows.Forms.TextBox();
     btn1 = new System.Windows.Forms.Button();
     btnSUMA = new System.Windows.Forms.Button();
     btn2 = new System.Windows.Forms.Button();
     btn3 = new System.Windows.Forms.Button();
     btn6 = new System.Windows.Forms.Button();
     btn5 = new System.Windows.Forms.Button();
     btn4 = new System.Windows.Forms.Button();
     btn9 = new System.Windows.Forms.Button();
     btn8 = new System.Windows.Forms.Button();
     btn7 = new System.Windows.Forms.Button();
     btn0 = new System.Windows.Forms.Button();
     btnRESTA = new System.Windows.Forms.Button();
     btnDIV = new System.Windows.Forms.Button();
     btnMULT = new System.Windows.Forms.Button();
     btnCE = new System.Windows.Forms.Button();
     statusStrip1 = new System.Windows.Forms.StatusStrip();
     lblSTATUS = new System.Windows.Forms.ToolStripStatusLabel();
     statusStrip1.SuspendLayout();
     SuspendLayout();
     //
     // btnEnviar
     //
     btnEnviar.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F);
     btnEnviar.Location = new System.Drawing.Point(130 + txtINPUT.Width, 13);
     btnEnviar.Name = "btnEnviar";
     btnEnviar.Size = new System.Drawing.Size(121, 32);
     btnEnviar.TabIndex = 0;
     btnEnviar.Text = "ENTER";
     btnEnviar.UseVisualStyleBackColor = true;
     //
     // txtINPUT
     //
     txtINPUT.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
     txtINPUT.Location = new System.Drawing.Point(32, 13);
     txtINPUT.Name = "txtINPUT";
     txtINPUT.Size = new System.Drawing.Size(95, 32);
     txtINPUT.TabIndex = 1;
     txtINPUT.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     txtINPUT.Width += txtINPUT.Width;
     //
     // btn1
     //
     btn1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn1.Location = new System.Drawing.Point(32, 51);
     btn1.Name = "btn1";
     btn1.Size = new System.Drawing.Size(55, 55);
     btn1.TabIndex = 2;
     btn1.Text = "1";
     btn1.UseVisualStyleBackColor = true;
     //
     // statusStrip1
     //
     statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     lblSTATUS,});
     statusStrip1.Location = new System.Drawing.Point(0, 344);
     statusStrip1.Name = "statusStrip1";
     statusStrip1.Size = new System.Drawing.Size(557, 22);
     statusStrip1.TabIndex = 14;
     statusStrip1.Text = "";
     //
     // lblSTATUS
     //
     lblSTATUS.Name = "lblSTATUS";
     lblSTATUS.Size = new System.Drawing.Size(0, 17);
     lblSTATUS.Text = "esperando acción...";
     lblSTATUS.Font = new Font("Microsoft Sans Serif", 11);
     //
     // btnSUMA
     //
     btnSUMA.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F, System.Drawing.FontStyle.Bold);
     btnSUMA.Location = new System.Drawing.Point(260, 51);
     btnSUMA.Name = "btnSUMA";
     btnSUMA.Size = new System.Drawing.Size(40, 40);
     btnSUMA.TabIndex = 11;
     btnSUMA.Text = "+";
     btnSUMA.UseVisualStyleBackColor = true;
     //
     // btn2
     //
     btn2.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn2.Location = new System.Drawing.Point(93, 51);
     btn2.Name = "btn2";
     btn2.Size = new System.Drawing.Size(55, 55);
     btn2.TabIndex = 15;
     btn2.Text = "2";
     btn2.UseVisualStyleBackColor = true;
     //
     // btn3
     //
     btn3.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn3.Location = new System.Drawing.Point(154, 51);
     btn3.Name = "btn3";
     btn3.Size = new System.Drawing.Size(55, 55);
     btn3.TabIndex = 16;
     btn3.Text = "3";
     btn3.UseVisualStyleBackColor = true;
     //
     // btn6
     //
     btn6.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn6.Location = new System.Drawing.Point(154, 112);
     btn6.Name = "btn6";
     btn6.Size = new System.Drawing.Size(55, 55);
     btn6.TabIndex = 19;
     btn6.Text = "6";
     btn6.UseVisualStyleBackColor = true;
     //
     // btn5
     //
     btn5.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn5.Location = new System.Drawing.Point(93, 112);
     btn5.Name = "btn5";
     btn5.Size = new System.Drawing.Size(55, 55);
     btn5.TabIndex = 18;
     btn5.Text = "5";
     btn5.UseVisualStyleBackColor = true;
     //
     // btn4
     //
     btn4.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn4.Location = new System.Drawing.Point(32, 112);
     btn4.Name = "btn4";
     btn4.Size = new System.Drawing.Size(55, 55);
     btn4.TabIndex = 17;
     btn4.Text = "4";
     btn4.UseVisualStyleBackColor = true;
     //
     // btn9
     //
     btn9.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn9.Location = new System.Drawing.Point(154, 173);
     btn9.Name = "btn9";
     btn9.Size = new System.Drawing.Size(55, 55);
     btn9.TabIndex = 25;
     btn9.Text = "9";
     btn9.UseVisualStyleBackColor = true;
     //
     // btn8
     //
     btn8.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn8.Location = new System.Drawing.Point(93, 173);
     btn8.Name = "btn8";
     btn8.Size = new System.Drawing.Size(55, 55);
     btn8.TabIndex = 24;
     btn8.Text = "8";
     btn8.UseVisualStyleBackColor = true;
     //
     // btn7
     //
     btn7.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn7.Location = new System.Drawing.Point(32, 173);
     btn7.Name = "btn7";
     btn7.Size = new System.Drawing.Size(55, 55);
     btn7.TabIndex = 23;
     btn7.Text = "7";
     btn7.UseVisualStyleBackColor = true;
     //
     // btn0
     //
     btn0.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold);
     btn0.Location = new System.Drawing.Point(93, 234);
     btn0.Name = "btn0";
     btn0.Size = new System.Drawing.Size(55, 55);
     btn0.TabIndex = 26;
     btn0.Text = "0";
     btn0.UseVisualStyleBackColor = true;
     //
     // btnRESTA
     //
     btnRESTA.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F, System.Drawing.FontStyle.Bold);
     btnRESTA.Location = new System.Drawing.Point(260, 97);
     btnRESTA.Name = "btnRESTA";
     btnRESTA.Size = new System.Drawing.Size(40, 40);
     btnRESTA.TabIndex = 27;
     btnRESTA.Text = "-";
     btnRESTA.UseVisualStyleBackColor = true;
     //
     // btnDIV
     //
     btnDIV.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F, System.Drawing.FontStyle.Bold);
     btnDIV.Location = new System.Drawing.Point(260, 143);
     btnDIV.Name = "btnDIV";
     btnDIV.Size = new System.Drawing.Size(40, 40);
     btnDIV.TabIndex = 28;
     btnDIV.Text = "÷";
     btnDIV.UseVisualStyleBackColor = true;
     //
     // btnMULT
     //
     btnMULT.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F, System.Drawing.FontStyle.Bold);
     btnMULT.Location = new System.Drawing.Point(260, 188);
     btnMULT.Name = "btnMULT";
     btnMULT.Size = new System.Drawing.Size(40, 40);
     btnMULT.TabIndex = 29;
     btnMULT.Text = "×";
     btnMULT.UseVisualStyleBackColor = true;
     //
     // btnCE
     //
     btnCE.Font = new System.Drawing.Font("Microsoft Sans Serif", 22F, System.Drawing.FontStyle.Bold);
     btnCE.Location = new System.Drawing.Point(250, 250);
     btnCE.Name = "btnCE";
     btnCE.Size = new System.Drawing.Size(70, 40);
     btnCE.TabIndex = 30;
     btnCE.Text = "CE";
     btnCE.UseVisualStyleBackColor = true;
     btnCE.Click += new System.EventHandler(btnCE_Click);
     //
     // CALC
     //
     AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     ClientSize = new System.Drawing.Size(360, 350);
     this.FormBorderStyle = FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     Controls.Add(btnCE);
     Controls.Add(btnMULT);
     Controls.Add(btnDIV);
     Controls.Add(btnRESTA);
     Controls.Add(btn0);
     Controls.Add(btn9);
     Controls.Add(btn8);
     Controls.Add(btn7);
     Controls.Add(btn6);
     Controls.Add(btn5);
     Controls.Add(btn4);
     Controls.Add(btn3);
     Controls.Add(btn2);
     Controls.Add(btnSUMA);
     Controls.Add(btn1);
     Controls.Add(txtINPUT);
     Controls.Add(btnEnviar);
     Controls.Add(statusStrip1);
     Name = "Calculadora GUI";
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     ResumeLayout(false);
     PerformLayout();
 }
示例#7
0
 private void InitializeComponent()
 {
   buttonGetData = new Button();
   textBoxPassword = new TextBox();
   labelPassword = new Label();
   textBoxUserName = new TextBox();
   labelUserName = new Label();
   textBoxIpAddress = new TextBox();
   labelIpAddress = new Label();
   buttonOK = new Button();
   buttonCancel = new Button();
   statusStrip = new StatusStrip();
   toolStripStatusLabel = new ToolStripStatusLabel();
   buttonDetectBoxType = new Button();
   labelTimeout = new Label();
   numericUpDownTimeout = new NumericUpDown();
   labelMilliseconds = new Label();
   statusStrip.SuspendLayout();
   ((ISupportInitialize) (numericUpDownTimeout)).BeginInit();
   SuspendLayout();
   // 
   // buttonGetData
   // 
   buttonGetData.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Left)));
   buttonGetData.Location = new Point(8, 112);
   buttonGetData.Name = "buttonGetData";
   buttonGetData.Size = new Size(104, 24);
   buttonGetData.TabIndex = 6;
   buttonGetData.Text = "Get channel list";
   buttonGetData.UseVisualStyleBackColor = true;
   buttonGetData.Click += buttonGetData_Click;
   // 
   // textBoxPassword
   // 
   textBoxPassword.Anchor = ((((AnchorStyles.Top | AnchorStyles.Left)
                               | AnchorStyles.Right)));
   textBoxPassword.Location = new Point(88, 56);
   textBoxPassword.Name = "textBoxPassword";
   textBoxPassword.Size = new Size(176, 20);
   textBoxPassword.TabIndex = 5;
   // 
   // labelPassword
   // 
   labelPassword.Location = new Point(8, 56);
   labelPassword.Name = "labelPassword";
   labelPassword.Size = new Size(80, 20);
   labelPassword.TabIndex = 4;
   labelPassword.Text = "Password:"******"textBoxUserName";
   textBoxUserName.Size = new Size(176, 20);
   textBoxUserName.TabIndex = 3;
   // 
   // labelUserName
   // 
   labelUserName.Location = new Point(8, 32);
   labelUserName.Name = "labelUserName";
   labelUserName.Size = new Size(80, 20);
   labelUserName.TabIndex = 2;
   labelUserName.Text = "User name:";
   labelUserName.TextAlign = ContentAlignment.MiddleLeft;
   // 
   // textBoxIpAddress
   // 
   textBoxIpAddress.Anchor = ((((AnchorStyles.Top | AnchorStyles.Left)
                                | AnchorStyles.Right)));
   textBoxIpAddress.Location = new Point(88, 8);
   textBoxIpAddress.Name = "textBoxIpAddress";
   textBoxIpAddress.Size = new Size(176, 20);
   textBoxIpAddress.TabIndex = 1;
   // 
   // labelIpAddress
   // 
   labelIpAddress.Location = new Point(8, 8);
   labelIpAddress.Name = "labelIpAddress";
   labelIpAddress.Size = new Size(80, 20);
   labelIpAddress.TabIndex = 0;
   labelIpAddress.Text = "IP address:";
   labelIpAddress.TextAlign = ContentAlignment.MiddleLeft;
   // 
   // buttonOK
   // 
   buttonOK.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Right)));
   buttonOK.Location = new Point(128, 144);
   buttonOK.Name = "buttonOK";
   buttonOK.Size = new Size(64, 24);
   buttonOK.TabIndex = 7;
   buttonOK.Text = "OK";
   buttonOK.UseVisualStyleBackColor = true;
   buttonOK.Click += buttonOK_Click;
   // 
   // buttonCancel
   // 
   buttonCancel.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Right)));
   buttonCancel.DialogResult = DialogResult.Cancel;
   buttonCancel.Location = new Point(200, 144);
   buttonCancel.Name = "buttonCancel";
   buttonCancel.Size = new Size(64, 24);
   buttonCancel.TabIndex = 8;
   buttonCancel.Text = "Cancel";
   buttonCancel.UseVisualStyleBackColor = true;
   buttonCancel.Click += buttonCancel_Click;
   // 
   // statusStrip
   // 
   statusStrip.Items.AddRange(new ToolStripItem[]
                                {
                                  toolStripStatusLabel
                                });
   statusStrip.Location = new Point(0, 177);
   statusStrip.Name = "statusStrip";
   statusStrip.Size = new Size(272, 22);
   statusStrip.TabIndex = 9;
   // 
   // toolStripStatusLabel
   // 
   toolStripStatusLabel.Name = "toolStripStatusLabel";
   toolStripStatusLabel.Size = new Size(0, 17);
   // 
   // buttonDetectBoxType
   // 
   buttonDetectBoxType.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Left)));
   buttonDetectBoxType.Location = new Point(8, 144);
   buttonDetectBoxType.Name = "buttonDetectBoxType";
   buttonDetectBoxType.Size = new Size(104, 24);
   buttonDetectBoxType.TabIndex = 10;
   buttonDetectBoxType.Text = "Redetect box";
   buttonDetectBoxType.UseVisualStyleBackColor = true;
   buttonDetectBoxType.Click += buttonDetectBoxType_Click;
   // 
   // labelTimeout
   // 
   labelTimeout.Location = new Point(8, 80);
   labelTimeout.Name = "labelTimeout";
   labelTimeout.Size = new Size(80, 20);
   labelTimeout.TabIndex = 11;
   labelTimeout.Text = "Timeout:";
   labelTimeout.TextAlign = ContentAlignment.MiddleLeft;
   // 
   // numericUpDownTimeout
   // 
   numericUpDownTimeout.Anchor = ((((AnchorStyles.Top | AnchorStyles.Left)
                                    | AnchorStyles.Right)));
   numericUpDownTimeout.Increment = new decimal(new int[]
                                                  {
                                                    500,
                                                    0,
                                                    0,
                                                    0
                                                  });
   numericUpDownTimeout.Location = new Point(88, 80);
   numericUpDownTimeout.Maximum = new decimal(new int[]
                                                {
                                                  60000,
                                                  0,
                                                  0,
                                                  0
                                                });
   numericUpDownTimeout.Minimum = new decimal(new int[]
                                                {
                                                  1000,
                                                  0,
                                                  0,
                                                  0
                                                });
   numericUpDownTimeout.Name = "numericUpDownTimeout";
   numericUpDownTimeout.Size = new Size(144, 20);
   numericUpDownTimeout.TabIndex = 12;
   numericUpDownTimeout.TextAlign = HorizontalAlignment.Center;
   numericUpDownTimeout.Value = new decimal(new int[]
                                              {
                                                2000,
                                                0,
                                                0,
                                                0
                                              });
   // 
   // labelMilliseconds
   // 
   labelMilliseconds.Anchor = (((AnchorStyles.Top | AnchorStyles.Right)));
   labelMilliseconds.Location = new Point(232, 80);
   labelMilliseconds.Name = "labelMilliseconds";
   labelMilliseconds.Size = new Size(32, 20);
   labelMilliseconds.TabIndex = 13;
   labelMilliseconds.Text = "ms";
   labelMilliseconds.TextAlign = ContentAlignment.MiddleCenter;
   // 
   // SetupForm
   // 
   ClientSize = new Size(272, 199);
   Controls.Add(labelMilliseconds);
   Controls.Add(numericUpDownTimeout);
   Controls.Add(labelTimeout);
   Controls.Add(buttonDetectBoxType);
   Controls.Add(statusStrip);
   Controls.Add(buttonGetData);
   Controls.Add(buttonCancel);
   Controls.Add(buttonOK);
   Controls.Add(labelIpAddress);
   Controls.Add(textBoxIpAddress);
   Controls.Add(labelUserName);
   Controls.Add(textBoxUserName);
   Controls.Add(textBoxPassword);
   Controls.Add(labelPassword);
   FormBorderStyle = FormBorderStyle.FixedSingle;
   MinimizeBox = false;
   MinimumSize = new Size(278, 200);
   Name = "SetupForm";
   ShowIcon = false;
   StartPosition = FormStartPosition.CenterScreen;
   Text = "Dbox Tuner Setup";
   statusStrip.ResumeLayout(false);
   statusStrip.PerformLayout();
   ((ISupportInitialize) (numericUpDownTimeout)).EndInit();
   ResumeLayout(false);
   PerformLayout();
 }
示例#8
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Form form = new Form();
            FlowLayoutPanel flowLayoutPanelTop;
            RadioButton radioButtonText;
            RadioButton radioButtonNumber;
            ComboBox comboBox;
            Panel panelFill;
            TextBox textBoxInput;
            TextBox textBoxOutput;
            StatusStrip statusStrip;
            ToolStripStatusLabel statusLabel;

            // 布局
            {
                flowLayoutPanelTop = new FlowLayoutPanel();
                radioButtonText = new RadioButton();
                radioButtonNumber = new RadioButton();
                comboBox = new ComboBox();
                panelFill = new Panel();
                textBoxInput = new TextBox();
                textBoxOutput = new TextBox();
                statusStrip = new StatusStrip();
                statusLabel = new ToolStripStatusLabel();
                flowLayoutPanelTop.SuspendLayout();
                panelFill.SuspendLayout();
                statusStrip.SuspendLayout();
                form.SuspendLayout();
                //
                // flowLayoutPanel1
                //
                flowLayoutPanelTop.Controls.Add(radioButtonText);
                flowLayoutPanelTop.Controls.Add(radioButtonNumber);
                flowLayoutPanelTop.Controls.Add(comboBox);
                flowLayoutPanelTop.Dock = DockStyle.Top;
                flowLayoutPanelTop.Location = new Point(0, 0);
                flowLayoutPanelTop.Name = "flowLayoutPanel1";
                flowLayoutPanelTop.Size = new Size(363, 30);
                flowLayoutPanelTop.TabIndex = 0;
                //
                // radioButton1
                //
                radioButtonText.AutoSize = true;
                radioButtonText.Location = new Point(3, 3);
                radioButtonText.Name = "radioButton1";
                radioButtonText.Size = new Size(47, 16);
                radioButtonText.TabIndex = 0;
                radioButtonText.TabStop = true;
                radioButtonText.Text = "文本";
                radioButtonText.UseVisualStyleBackColor = true;
                //
                // radioButton2
                //
                radioButtonNumber.AutoSize = true;
                radioButtonNumber.Location = new Point(56, 3);
                radioButtonNumber.Name = "radioButton2";
                radioButtonNumber.Size = new Size(47, 16);
                radioButtonNumber.TabIndex = 0;
                radioButtonNumber.TabStop = true;
                radioButtonNumber.Text = "数字";
                radioButtonNumber.UseVisualStyleBackColor = true;
                //
                // comboBox1
                //
                comboBox.FormattingEnabled = true;
                comboBox.Location = new Point(109, 3);
                comboBox.Name = "comboBox1";
                comboBox.Size = new Size(121, 20);
                comboBox.TabIndex = 1;

                comboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
                comboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
                //
                // panel1
                //
                panelFill.Controls.Add(textBoxOutput);
                panelFill.Controls.Add(textBoxInput);
                panelFill.Dock = DockStyle.Fill;
                panelFill.Location = new Point(0, 30);
                panelFill.Name = "panel1";
                panelFill.Size = new Size(363, 230);
                panelFill.TabIndex = 1;
                //
                // textBox1
                //
                textBoxInput.Dock = DockStyle.Top;
                textBoxInput.Location = new Point(0, 0);
                textBoxInput.Multiline = true;
                textBoxInput.Name = "textBox1";
                textBoxInput.Size = new Size(363, 74);
                textBoxInput.TabIndex = 0;
                //
                // textBox2
                //
                textBoxOutput.Dock = DockStyle.Bottom;
                textBoxOutput.Location = new Point(0, 80);
                textBoxOutput.Multiline = true;
                textBoxOutput.Name = "textBox2";
                textBoxOutput.ReadOnly = true;
                textBoxOutput.Size = new Size(363, 150);
                textBoxOutput.TabIndex = 1;
                //
                // statusStrip1
                //
                statusStrip.Items.AddRange(new ToolStripItem[] {statusLabel});
                statusStrip.Location = new Point(0, 238);
                statusStrip.Name = "statusStrip1";
                statusStrip.Size = new Size(363, 22);
                statusStrip.TabIndex = 2;
                statusStrip.Text = "statusStrip1";
                //
                // toolStripStatusLabel1
                //
                statusLabel.Name = "toolStripStatusLabel1";
                statusLabel.Size = new Size(29, 17);
                statusLabel.Spring = true;
                statusLabel.TextAlign = ContentAlignment.MiddleLeft;
                //
                // Form1
                //
                form.AutoScaleDimensions = new SizeF(6F, 12F);
                form.AutoScaleMode = AutoScaleMode.Font;
                form.ClientSize = new Size(363, 260);
                form.Controls.Add(statusStrip);
                form.Controls.Add(panelFill);
                form.Controls.Add(flowLayoutPanelTop);
                form.Name = "Form1";
                form.Text = "二进制打印";
                form.StartPosition = FormStartPosition.CenterScreen;
                form.ImeMode = ImeMode.On;
                flowLayoutPanelTop.ResumeLayout(false);
                flowLayoutPanelTop.PerformLayout();
                panelFill.ResumeLayout(false);
                panelFill.PerformLayout();
                statusStrip.ResumeLayout(false);
                statusStrip.PerformLayout();
                form.ResumeLayout(false);
                form.PerformLayout();
            }

            radioButtonText.Click += (o, e) =>
            {
                textBoxInput.Text = "";
                textBoxOutput.Text = "";

                var commonUse = new List<string>();
                commonUse.Add(Encoding.Unicode.WebName);
                commonUse.Add(Encoding.UTF8.WebName);
                commonUse.Add(Encoding.Default.WebName);
                commonUse.Add(Encoding.UTF7.WebName);
                commonUse.Add(Encoding.UTF32.WebName);

                var fullList = Encoding.GetEncodings().Select(i=>i.GetEncoding().WebName);

                comboBox.DataSource = commonUse.Concat(fullList.Except(commonUse)).ToArray();
            };

            radioButtonNumber.Click += (o, e) =>
            {
                textBoxInput.Text = "";
                textBoxOutput.Text = "";

                comboBox.DataSource = new string[] { "unsigned oct", "signed oct", "hex", };
            };

            radioButtonText.PerformClick();

            Func<byte[], string> formatBytes = bytes =>
            {
                if (bytes == null || bytes.Length == 0) return string.Empty;

                var buf = new StringBuilder();
                foreach (byte b in bytes) buf.AppendFormat("{0:x2} ", b);
                buf.Remove(buf.Length - 1, 1);
                return buf.ToString();
            };

            EventHandler intput2output = (o, e) =>
            {
                textBoxOutput.Text = string.Empty;
                if (string.IsNullOrEmpty(textBoxInput.Text)) return;

                if (radioButtonText.Checked)
                {
                    try
                    {
                        Encoding encoding = Encoding.GetEncoding(comboBox.Text);
                        textBoxOutput.Text = formatBytes(encoding.GetBytes(textBoxInput.Text));
                    }
                    catch (Exception _e)
                    {
                        statusLabel.Text = _e.Message.Replace("\r\n", "\t");
                    }
                }
                else
                {
                    try
                    {
                        if (comboBox.Text == "hex")
                        {
                            uint i = uint.Parse(textBoxInput.Text, System.Globalization.NumberStyles.HexNumber);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else if (comboBox.Text == "signed oct")
                        {
                            int i = int.Parse(textBoxInput.Text);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else if (comboBox.Text == "unsigned oct")
                        {
                            uint i = uint.Parse(textBoxInput.Text);
                            textBoxOutput.Text = formatBytes(ToByteArray(i));
                        }
                        else
                        {
                            statusLabel.Text = "未知的格式。";
                        }
                    }
                    catch (Exception _e)
                    {
                        statusLabel.Text = _e.Message.Replace("\r\n", "\t");
                    }
                }
            };

            textBoxInput.TextChanged += intput2output;
            comboBox.SelectedValueChanged += intput2output;

            textBoxOutput.DoubleClick += (o, e) =>
            {
                if (string.IsNullOrEmpty(textBoxOutput.Text)) return;
                textBoxOutput.SelectAll();
                textBoxOutput.Copy();
                statusLabel.Text = "复制到剪贴板。";
            };

            Timer timerCleanStatus = new Timer();
            timerCleanStatus.Interval = 3000;
            timerCleanStatus.Tick += (o, e) => { statusLabel.Text = ""; };
            timerCleanStatus.Start();

            Application.Run(form);
        }
示例#9
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent() {
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
			System.Windows.Forms.TableLayoutPanel tableTopRight;
			System.Windows.Forms.TableLayoutPanel tableTopLeft;
			System.Windows.Forms.Label lblEnOld;
			System.Windows.Forms.Label lblEnNew;
			System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
			System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
			System.Windows.Forms.StatusStrip statusStrip;
			this.tableTopAll = new System.Windows.Forms.TableLayoutPanel();
			this.txtEnNew = new System.Windows.Forms.TextBox();
			this.btnEnNew = new System.Windows.Forms.Button();
			this.txtEnOld = new System.Windows.Forms.TextBox();
			this.btnEnOld = new System.Windows.Forms.Button();
			this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
			this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
			this.menuStrip = new System.Windows.Forms.MenuStrip();
			this.changeFontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.exportChangesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.fontDialog = new System.Windows.Forms.FontDialog();
			this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
			this.btnDoWork = new System.Windows.Forms.Button();
			this.editor = new Updater.Common.EditorTabControl();
			tableTopRight = new System.Windows.Forms.TableLayoutPanel();
			tableTopLeft = new System.Windows.Forms.TableLayoutPanel();
			lblEnOld = new System.Windows.Forms.Label();
			lblEnNew = new System.Windows.Forms.Label();
			toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
			toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
			statusStrip = new System.Windows.Forms.StatusStrip();
			this.tableTopAll.SuspendLayout();
			tableTopRight.SuspendLayout();
			tableTopLeft.SuspendLayout();
			statusStrip.SuspendLayout();
			this.menuStrip.SuspendLayout();
			this.SuspendLayout();
			//
			// tableTopAll
			//
			resources.ApplyResources(this.tableTopAll, "tableTopAll");
			this.tableTopAll.Controls.Add(tableTopRight, 1, 1);
			this.tableTopAll.Controls.Add(tableTopLeft, 0, 1);
			this.tableTopAll.Controls.Add(lblEnOld, 0, 0);
			this.tableTopAll.Controls.Add(lblEnNew, 1, 0);
			this.tableTopAll.Name = "tableTopAll";
			//
			// tableTopRight
			//
			resources.ApplyResources(tableTopRight, "tableTopRight");
			tableTopRight.Controls.Add(this.txtEnNew, 0, 0);
			tableTopRight.Controls.Add(this.btnEnNew, 1, 0);
			tableTopRight.Name = "tableTopRight";
			//
			// txtEnNew
			//
			resources.ApplyResources(this.txtEnNew, "txtEnNew");
			this.txtEnNew.Name = "txtEnNew";
			this.txtEnNew.ReadOnly = true;
			//
			// btnEnNew
			//
			resources.ApplyResources(this.btnEnNew, "btnEnNew");
			this.btnEnNew.Name = "btnEnNew";
			this.btnEnNew.UseVisualStyleBackColor = true;
			this.btnEnNew.Click += new System.EventHandler(this.btnEnNew_Click);
			//
			// tableTopLeft
			//
			resources.ApplyResources(tableTopLeft, "tableTopLeft");
			tableTopLeft.Controls.Add(this.txtEnOld, 0, 0);
			tableTopLeft.Controls.Add(this.btnEnOld, 1, 0);
			tableTopLeft.Name = "tableTopLeft";
			//
			// txtEnOld
			//
			resources.ApplyResources(this.txtEnOld, "txtEnOld");
			this.txtEnOld.Name = "txtEnOld";
			this.txtEnOld.ReadOnly = true;
			//
			// btnEnOld
			//
			resources.ApplyResources(this.btnEnOld, "btnEnOld");
			this.btnEnOld.Name = "btnEnOld";
			this.btnEnOld.UseVisualStyleBackColor = true;
			this.btnEnOld.Click += new System.EventHandler(this.btnEnOld_Click);
			//
			// lblEnOld
			//
			resources.ApplyResources(lblEnOld, "lblEnOld");
			lblEnOld.Name = "lblEnOld";
			lblEnOld.Text = global::Updater.Common.Properties.Settings.Default.StepOneExplanation;
			//
			// lblEnNew
			//
			resources.ApplyResources(lblEnNew, "lblEnNew");
			lblEnNew.Name = "lblEnNew";
			lblEnNew.Text = global::Updater.Common.Properties.Settings.Default.StepTwoExplanation;
			//
			// toolStripSeparator1
			//
			toolStripSeparator1.Name = "toolStripSeparator1";
			resources.ApplyResources(toolStripSeparator1, "toolStripSeparator1");
			//
			// toolStripSeparator2
			//
			toolStripSeparator2.Name = "toolStripSeparator2";
			resources.ApplyResources(toolStripSeparator2, "toolStripSeparator2");
			//
			// statusStrip
			//
			statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.lblStatus});
			resources.ApplyResources(statusStrip, "statusStrip");
			statusStrip.Name = "statusStrip";
			//
			// lblStatus
			//
			this.lblStatus.ForeColor = System.Drawing.Color.Red;
			this.lblStatus.Margin = new System.Windows.Forms.Padding(10, 3, 0, 2);
			this.lblStatus.Name = "lblStatus";
			resources.ApplyResources(this.lblStatus, "lblStatus");
			this.lblStatus.Spring = true;
			//
			// openFileDialog
			//
			resources.ApplyResources(this.openFileDialog, "openFileDialog");
			//
			// menuStrip
			//
			this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.changeFontToolStripMenuItem,
            this.exportChangesToolStripMenuItem});
			resources.ApplyResources(this.menuStrip, "menuStrip");
			this.menuStrip.Name = "menuStrip";
			//
			// changeFontToolStripMenuItem
			//
			this.changeFontToolStripMenuItem.Name = "changeFontToolStripMenuItem";
			resources.ApplyResources(this.changeFontToolStripMenuItem, "changeFontToolStripMenuItem");
			this.changeFontToolStripMenuItem.Text = global::Updater.Common.Properties.Settings.Default.ChangeFont;
			this.changeFontToolStripMenuItem.Click += new System.EventHandler(this.changeFontToolStripMenuItem_Click);
			//
			// exportChangesToolStripMenuItem
			//
			resources.ApplyResources(this.exportChangesToolStripMenuItem, "exportChangesToolStripMenuItem");
			this.exportChangesToolStripMenuItem.Name = "exportChangesToolStripMenuItem";
			this.exportChangesToolStripMenuItem.Text = global::Updater.Common.Properties.Settings.Default.ExportChanges;
			this.exportChangesToolStripMenuItem.Click += new System.EventHandler(this.exportChangesToolStripMenuItem_Click);
			//
			// saveFileDialog
			//
			this.saveFileDialog.DefaultExt = "xml";
			resources.ApplyResources(this.saveFileDialog, "saveFileDialog");
			//
			// btnDoWork
			//
			resources.ApplyResources(this.btnDoWork, "btnDoWork");
			this.btnDoWork.Name = "btnDoWork";
			this.btnDoWork.Text = global::Updater.Common.Properties.Settings.Default.StepThreeExplanation;
			this.btnDoWork.UseVisualStyleBackColor = true;
			this.btnDoWork.Click += new System.EventHandler(this.btnDoWork_Click);
			//
			// editor
			//
			resources.ApplyResources(this.editor, "editor");
			this.editor.Name = "editor";
			this.editor.NewFilePath = null;
			this.editor.OldFilePath = null;
			this.editor.UpdatedFilePath = null;
			this.editor.UpdatePaneFont = new System.Drawing.Font("Verdana", 8.25F);
			//
			// MainForm
			//
			resources.ApplyResources(this, "$this");
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Controls.Add(this.btnDoWork);
			this.Controls.Add(this.editor);
			this.Controls.Add(statusStrip);
			this.Controls.Add(this.menuStrip);
			this.Controls.Add(this.tableTopAll);
			this.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Updater.Common.Properties.Settings.Default, "FormTitle", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
			this.DoubleBuffered = true;
			this.MainMenuStrip = this.menuStrip;
			this.Name = "MainForm";
			this.Text = global::Updater.Common.Properties.Settings.Default.FormTitle;
			this.ResizeBegin += new System.EventHandler(this.form_ResizeBegin);
			this.tableTopAll.ResumeLayout(false);
			this.tableTopAll.PerformLayout();
			tableTopRight.ResumeLayout(false);
			tableTopRight.PerformLayout();
			tableTopLeft.ResumeLayout(false);
			tableTopLeft.PerformLayout();
			statusStrip.ResumeLayout(false);
			statusStrip.PerformLayout();
			this.menuStrip.ResumeLayout(false);
			this.menuStrip.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}
示例#10
0
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager componentResourceManager = new System.ComponentModel.ComponentResourceManager(typeof(LiveOutlook.LiveApp.FrmMain));
     ToolTip                         = new System.Windows.Forms.ToolTip(components);
     lblStatus                       = new System.Windows.Forms.ToolStripStatusLabel();
     statusStrip                     = new System.Windows.Forms.StatusStrip();
     lblLoggedInLive                 = new System.Windows.Forms.ToolStripStatusLabel();
     lblPCUserLive                   = new System.Windows.Forms.ToolStripStatusLabel();
     lblUsersOnlineLive              = new System.Windows.Forms.ToolStripStatusLabel();
     pblive                          = new System.Windows.Forms.ToolStripProgressBar();
     toolStrip                       = new System.Windows.Forms.ToolStrip();
     tsbtnAppointments               = new System.Windows.Forms.ToolStripButton();
     tsbtnEnrollement                = new System.Windows.Forms.ToolStripButton();
     tsbtnVisit                      = new System.Windows.Forms.ToolStripButton();
     fileMenu                        = new System.Windows.Forms.ToolStripMenuItem();
     exitToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     viewMenu                        = new System.Windows.Forms.ToolStripMenuItem();
     toolBarToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     statusBarToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     windowsMenu                     = new System.Windows.Forms.ToolStripMenuItem();
     cascadeToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     tileVerticalToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     tileHorizontalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     closeAllToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     arrangeIconsToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     menuStrip                       = new System.Windows.Forms.MenuStrip();
     patientsToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     appointmentsToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     enroToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     settingsToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     facilityToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     usersToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     reportsToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     visitsToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     activePatientsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     defaultersToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     userToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     changePasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     statusStrip.SuspendLayout();
     toolStrip.SuspendLayout();
     menuStrip.SuspendLayout();
     SuspendLayout();
     lblStatus.Name      = "lblStatus";
     lblStatus.Size      = new System.Drawing.Size(161, 17);
     lblStatus.Spring    = true;
     lblStatus.Text      = "Ready";
     lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[5]
     {
         lblStatus,
         lblLoggedInLive,
         lblPCUserLive,
         lblUsersOnlineLive,
         pblive
     });
     statusStrip.Location      = new System.Drawing.Point(0, 431);
     statusStrip.Name          = "statusStrip";
     statusStrip.Size          = new System.Drawing.Size(764, 22);
     statusStrip.TabIndex      = 2;
     statusStrip.Text          = "StatusStrip";
     lblLoggedInLive.Name      = "lblLoggedInLive";
     lblLoggedInLive.Size      = new System.Drawing.Size(161, 17);
     lblLoggedInLive.Spring    = true;
     lblLoggedInLive.Text      = "logged in as Amme";
     lblPCUserLive.Name        = "lblPCUserLive";
     lblPCUserLive.Size        = new System.Drawing.Size(161, 17);
     lblPCUserLive.Spring      = true;
     lblPCUserLive.Text        = "Ke\\dkoske";
     lblUsersOnlineLive.Name   = "lblUsersOnlineLive";
     lblUsersOnlineLive.Size   = new System.Drawing.Size(161, 17);
     lblUsersOnlineLive.Spring = true;
     lblUsersOnlineLive.Text   = "5 users online";
     pblive.Name = "pblive";
     pblive.Size = new System.Drawing.Size(100, 16);
     toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[3]
     {
         tsbtnAppointments,
         tsbtnEnrollement,
         tsbtnVisit
     });
     toolStrip.Location                      = new System.Drawing.Point(0, 24);
     toolStrip.Name                          = "toolStrip";
     toolStrip.Size                          = new System.Drawing.Size(764, 25);
     toolStrip.TabIndex                      = 1;
     toolStrip.Text                          = "ToolStrip";
     tsbtnAppointments.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnAppointments.Image                 = LiveOutlook.Properties.Resources.cale;
     tsbtnAppointments.ImageTransparentColor = System.Drawing.Color.Magenta;
     tsbtnAppointments.Name                  = "tsbtnAppointments";
     tsbtnAppointments.Size                  = new System.Drawing.Size(23, 22);
     tsbtnAppointments.Text                  = "toolStripButton1";
     tsbtnAppointments.ToolTipText           = "Manage Appointments";
     tsbtnAppointments.Click                += new System.EventHandler(tsbtnAppointments_Click);
     tsbtnEnrollement.DisplayStyle           = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnEnrollement.Image                  = LiveOutlook.Properties.Resources.Accept;
     tsbtnEnrollement.ImageTransparentColor  = System.Drawing.Color.Magenta;
     tsbtnEnrollement.Name                   = "tsbtnEnrollement";
     tsbtnEnrollement.Size                   = new System.Drawing.Size(23, 22);
     tsbtnEnrollement.Text                   = "toolStripButton2";
     tsbtnEnrollement.ToolTipText            = "Manage Patients";
     tsbtnEnrollement.Click                 += new System.EventHandler(tsbtnEnrollement_Click);
     tsbtnVisit.DisplayStyle                 = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     tsbtnVisit.Image                        = LiveOutlook.Properties.Resources.ReportGraph;
     tsbtnVisit.ImageTransparentColor        = System.Drawing.Color.Magenta;
     tsbtnVisit.Name                         = "tsbtnVisit";
     tsbtnVisit.Size                         = new System.Drawing.Size(23, 22);
     tsbtnVisit.Text                         = "toolStripButton3";
     tsbtnVisit.ToolTipText                  = "Reporting";
     tsbtnVisit.Click                       += new System.EventHandler(tsbtnVisit_Click);
     fileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[1]
     {
         exitToolStripMenuItem
     });
     fileMenu.ImageTransparentColor = System.Drawing.SystemColors.ActiveBorder;
     fileMenu.Name = "fileMenu";
     fileMenu.Size = new System.Drawing.Size(37, 20);
     fileMenu.Text = "&File";
     exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
     exitToolStripMenuItem.Size   = new System.Drawing.Size(92, 22);
     exitToolStripMenuItem.Text   = "E&xit";
     exitToolStripMenuItem.Click += new System.EventHandler(ExitToolsStripMenuItem_Click);
     viewMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         toolBarToolStripMenuItem,
         statusBarToolStripMenuItem
     });
     viewMenu.Name = "viewMenu";
     viewMenu.Size = new System.Drawing.Size(44, 20);
     viewMenu.Text = "&View";
     toolBarToolStripMenuItem.Checked        = true;
     toolBarToolStripMenuItem.CheckOnClick   = true;
     toolBarToolStripMenuItem.CheckState     = System.Windows.Forms.CheckState.Checked;
     toolBarToolStripMenuItem.Name           = "toolBarToolStripMenuItem";
     toolBarToolStripMenuItem.Size           = new System.Drawing.Size(126, 22);
     toolBarToolStripMenuItem.Text           = "&Toolbar";
     toolBarToolStripMenuItem.Click         += new System.EventHandler(ToolBarToolStripMenuItem_Click);
     statusBarToolStripMenuItem.Checked      = true;
     statusBarToolStripMenuItem.CheckOnClick = true;
     statusBarToolStripMenuItem.CheckState   = System.Windows.Forms.CheckState.Checked;
     statusBarToolStripMenuItem.Name         = "statusBarToolStripMenuItem";
     statusBarToolStripMenuItem.Size         = new System.Drawing.Size(126, 22);
     statusBarToolStripMenuItem.Text         = "&Status Bar";
     statusBarToolStripMenuItem.Click       += new System.EventHandler(StatusBarToolStripMenuItem_Click);
     windowsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[5]
     {
         cascadeToolStripMenuItem,
         tileVerticalToolStripMenuItem,
         tileHorizontalToolStripMenuItem,
         closeAllToolStripMenuItem,
         arrangeIconsToolStripMenuItem
     });
     windowsMenu.Name = "windowsMenu";
     windowsMenu.Size = new System.Drawing.Size(68, 20);
     windowsMenu.Text = "&Windows";
     cascadeToolStripMenuItem.Name          = "cascadeToolStripMenuItem";
     cascadeToolStripMenuItem.Size          = new System.Drawing.Size(151, 22);
     cascadeToolStripMenuItem.Text          = "&Cascade";
     cascadeToolStripMenuItem.Click        += new System.EventHandler(CascadeToolStripMenuItem_Click);
     tileVerticalToolStripMenuItem.Name     = "tileVerticalToolStripMenuItem";
     tileVerticalToolStripMenuItem.Size     = new System.Drawing.Size(151, 22);
     tileVerticalToolStripMenuItem.Text     = "Tile &Vertical";
     tileVerticalToolStripMenuItem.Click   += new System.EventHandler(TileVerticalToolStripMenuItem_Click);
     tileHorizontalToolStripMenuItem.Name   = "tileHorizontalToolStripMenuItem";
     tileHorizontalToolStripMenuItem.Size   = new System.Drawing.Size(151, 22);
     tileHorizontalToolStripMenuItem.Text   = "Tile &Horizontal";
     tileHorizontalToolStripMenuItem.Click += new System.EventHandler(TileHorizontalToolStripMenuItem_Click);
     closeAllToolStripMenuItem.Name         = "closeAllToolStripMenuItem";
     closeAllToolStripMenuItem.Size         = new System.Drawing.Size(151, 22);
     closeAllToolStripMenuItem.Text         = "C&lose All";
     closeAllToolStripMenuItem.Click       += new System.EventHandler(CloseAllToolStripMenuItem_Click);
     arrangeIconsToolStripMenuItem.Name     = "arrangeIconsToolStripMenuItem";
     arrangeIconsToolStripMenuItem.Size     = new System.Drawing.Size(151, 22);
     arrangeIconsToolStripMenuItem.Text     = "&Arrange Icons";
     arrangeIconsToolStripMenuItem.Click   += new System.EventHandler(ArrangeIconsToolStripMenuItem_Click);
     menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[7]
     {
         fileMenu,
         viewMenu,
         patientsToolStripMenuItem,
         settingsToolStripMenuItem,
         reportsToolStripMenuItem,
         windowsMenu,
         userToolStripMenuItem
     });
     menuStrip.Location          = new System.Drawing.Point(0, 0);
     menuStrip.MdiWindowListItem = windowsMenu;
     menuStrip.Name     = "menuStrip";
     menuStrip.Size     = new System.Drawing.Size(764, 24);
     menuStrip.TabIndex = 0;
     menuStrip.Text     = "MenuStrip";
     patientsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         appointmentsToolStripMenuItem,
         enroToolStripMenuItem
     });
     patientsToolStripMenuItem.Name       = "patientsToolStripMenuItem";
     patientsToolStripMenuItem.Size       = new System.Drawing.Size(61, 20);
     patientsToolStripMenuItem.Text       = "Patients";
     appointmentsToolStripMenuItem.Name   = "appointmentsToolStripMenuItem";
     appointmentsToolStripMenuItem.Size   = new System.Drawing.Size(150, 22);
     appointmentsToolStripMenuItem.Text   = "Appointments";
     appointmentsToolStripMenuItem.Click += new System.EventHandler(appointmentsToolStripMenuItem_Click);
     enroToolStripMenuItem.Name           = "enroToolStripMenuItem";
     enroToolStripMenuItem.Size           = new System.Drawing.Size(150, 22);
     enroToolStripMenuItem.Text           = "Enrollment";
     enroToolStripMenuItem.Click         += new System.EventHandler(enroToolStripMenuItem_Click);
     settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[2]
     {
         facilityToolStripMenuItem,
         usersToolStripMenuItem
     });
     settingsToolStripMenuItem.Name   = "settingsToolStripMenuItem";
     settingsToolStripMenuItem.Size   = new System.Drawing.Size(61, 20);
     settingsToolStripMenuItem.Text   = "Settings";
     facilityToolStripMenuItem.Name   = "facilityToolStripMenuItem";
     facilityToolStripMenuItem.Size   = new System.Drawing.Size(111, 22);
     facilityToolStripMenuItem.Text   = "Facility";
     facilityToolStripMenuItem.Click += new System.EventHandler(facilityToolStripMenuItem_Click);
     usersToolStripMenuItem.Name      = "usersToolStripMenuItem";
     usersToolStripMenuItem.Size      = new System.Drawing.Size(111, 22);
     usersToolStripMenuItem.Text      = "Users";
     usersToolStripMenuItem.Click    += new System.EventHandler(usersToolStripMenuItem_Click);
     reportsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[3]
     {
         visitsToolStripMenuItem,
         activePatientsToolStripMenuItem,
         defaultersToolStripMenuItem
     });
     reportsToolStripMenuItem.Name          = "reportsToolStripMenuItem";
     reportsToolStripMenuItem.Size          = new System.Drawing.Size(59, 20);
     reportsToolStripMenuItem.Text          = "Reports";
     visitsToolStripMenuItem.Image          = LiveOutlook.Properties.Resources.ReportGraph;
     visitsToolStripMenuItem.Name           = "visitsToolStripMenuItem";
     visitsToolStripMenuItem.Size           = new System.Drawing.Size(152, 22);
     visitsToolStripMenuItem.Text           = "Visits";
     visitsToolStripMenuItem.Click         += new System.EventHandler(visitsToolStripMenuItem_Click);
     activePatientsToolStripMenuItem.Name   = "activePatientsToolStripMenuItem";
     activePatientsToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     activePatientsToolStripMenuItem.Text   = "Active patients";
     activePatientsToolStripMenuItem.Click += new System.EventHandler(activePatientsToolStripMenuItem_Click);
     defaultersToolStripMenuItem.Name       = "defaultersToolStripMenuItem";
     defaultersToolStripMenuItem.Size       = new System.Drawing.Size(152, 22);
     defaultersToolStripMenuItem.Text       = "Defaulters";
     defaultersToolStripMenuItem.Click     += new System.EventHandler(defaultersToolStripMenuItem_Click);
     userToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[1]
     {
         changePasswordToolStripMenuItem
     });
     userToolStripMenuItem.Name             = "userToolStripMenuItem";
     userToolStripMenuItem.Size             = new System.Drawing.Size(41, 20);
     userToolStripMenuItem.Text             = "user";
     changePasswordToolStripMenuItem.Name   = "changePasswordToolStripMenuItem";
     changePasswordToolStripMenuItem.Size   = new System.Drawing.Size(168, 22);
     changePasswordToolStripMenuItem.Text   = "Change Password";
     changePasswordToolStripMenuItem.Click += new System.EventHandler(changePasswordToolStripMenuItem_Click);
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
     base.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     base.ClientSize          = new System.Drawing.Size(764, 453);
     base.Controls.Add(statusStrip);
     base.Controls.Add(toolStrip);
     base.Controls.Add(menuStrip);
     base.Icon           = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon");
     base.IsMdiContainer = true;
     base.MainMenuStrip  = menuStrip;
     base.Name           = "FrmMain";
     base.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     Text              = "Hospital Reception System - PSC";
     base.WindowState  = System.Windows.Forms.FormWindowState.Maximized;
     base.Load        += new System.EventHandler(FrmMain_Load);
     base.FormClosed  += new System.Windows.Forms.FormClosedEventHandler(FrmMain_FormClosed);
     base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FrmMain_FormClosing);
     statusStrip.ResumeLayout(performLayout: false);
     statusStrip.PerformLayout();
     toolStrip.ResumeLayout(performLayout: false);
     toolStrip.PerformLayout();
     menuStrip.ResumeLayout(performLayout: false);
     menuStrip.PerformLayout();
     ResumeLayout(performLayout: false);
     PerformLayout();
 }
 private void InitializeComponent()
 {
     var manager = new ComponentResourceManager(typeof (PreviewScreenshot));
     menuStrip1 = new MenuStrip();
     uploadToolStripMenuItem = new ToolStripMenuItem();
     discardToolStripMenuItem1 = new ToolStripMenuItem();
     pictureBox1 = new PictureBox();
     statusStrip1 = new StatusStrip();
     toolStripProgressBar1 = new ToolStripProgressBar();
     menuStrip1.SuspendLayout();
     ((ISupportInitialize) pictureBox1).BeginInit();
     statusStrip1.SuspendLayout();
     base.SuspendLayout();
     menuStrip1.Items.AddRange(new ToolStripItem[] {uploadToolStripMenuItem, discardToolStripMenuItem1});
     menuStrip1.Location = new Point(0, 0);
     menuStrip1.Name = "menuStrip1";
     menuStrip1.Size = new Size(0x173, 0x18);
     menuStrip1.TabIndex = 1;
     menuStrip1.Text = "menuStrip1";
     uploadToolStripMenuItem.Name = "uploadToolStripMenuItem";
     uploadToolStripMenuItem.Size = new Size(0x39, 20);
     uploadToolStripMenuItem.Text = "Upload";
     uploadToolStripMenuItem.Click += uploadToolStripMenuItem_Click;
     discardToolStripMenuItem1.Name = "discardToolStripMenuItem1";
     discardToolStripMenuItem1.Size = new Size(0x3a, 20);
     discardToolStripMenuItem1.Text = "Discard";
     discardToolStripMenuItem1.Click += discardToolStripMenuItem1_Click;
     pictureBox1.Dock = DockStyle.Fill;
     pictureBox1.Location = new Point(0, 0x18);
     pictureBox1.Name = "pictureBox1";
     pictureBox1.Size = new Size(0x173, 0xeb);
     pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;
     pictureBox1.TabIndex = 0;
     pictureBox1.TabStop = false;
     statusStrip1.Items.AddRange(new ToolStripItem[] {toolStripProgressBar1});
     statusStrip1.Location = new Point(0, 0xed);
     statusStrip1.Name = "statusStrip1";
     statusStrip1.Size = new Size(0x173, 0x16);
     statusStrip1.TabIndex = 2;
     statusStrip1.Text = "statusStrip1";
     toolStripProgressBar1.Name = "toolStripProgressBar1";
     toolStripProgressBar1.Size = new Size(100, 0x10);
     toolStripProgressBar1.Style = ProgressBarStyle.Continuous;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(0x173, 0x103);
     base.Controls.Add(statusStrip1);
     base.Controls.Add(pictureBox1);
     base.Controls.Add(menuStrip1);
     base.FormBorderStyle = FormBorderStyle.FixedToolWindow;
     base.Icon = (Icon) manager.GetObject("$this.Icon");
     base.MainMenuStrip = menuStrip1;
     base.Name = "PreviewScreenshot";
     Text = "Screenshot Preview";
     menuStrip1.ResumeLayout(false);
     menuStrip1.PerformLayout();
     ((ISupportInitialize) pictureBox1).EndInit();
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
示例#12
0
 private void Diseño_Forma()
 {
     #region Creando controles de la forma
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Menu_principal));
     statusStrip1 = new System.Windows.Forms.StatusStrip();
     Barra_menu = new System.Windows.Forms.ToolStrip();
     toolStripC = new System.Windows.Forms.ToolStripSeparator();
     toolStripP = new System.Windows.Forms.ToolStripSeparator();
     toolStripR = new System.Windows.Forms.ToolStripSeparator();
     toolStripI = new System.Windows.Forms.ToolStripSeparator();
     toolStripF = new System.Windows.Forms.ToolStripSeparator();
     toolStripM = new System.Windows.Forms.ToolStripSeparator();
     toolStripS = new System.Windows.Forms.ToolStripSeparator();
     Bttn_Cliente = new System.Windows.Forms.ToolStripButton();
     toolStripTU = new System.Windows.Forms.ToolStripSeparator();
     bttn_Proveedores = new System.Windows.Forms.ToolStripButton();
     bttn_split_Reportes = new System.Windows.Forms.ToolStripSplitButton();
     bttn_split_Inventarios = new System.Windows.Forms.ToolStripSplitButton();
     bttn_split_Financiero = new System.Windows.Forms.ToolStripSplitButton();
     bttn_split_Mantenimiento = new System.Windows.Forms.ToolStripSplitButton();
     bttn_split_Seguridad = new System.Windows.Forms.ToolStripSplitButton();
     bttn_Cerrarsesion = new System.Windows.Forms.ToolStripButton();
     tool_Label_Usuario = new System.Windows.Forms.ToolStripStatusLabel();
     tool_label_Hora = new System.Windows.Forms.ToolStripStatusLabel();
     tool_label_Fecha = new System.Windows.Forms.ToolStripStatusLabel();
     inventariosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     inventariosMateriaPrimaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     inventariosProductoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     producciónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ordenDePeladoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     cajaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ventasPedidosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     AbonosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     Abonos_ProveedorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     PedidosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     tipoDePiezasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     TipodeMateriaPrimaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     Tipo_UsuarioToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     productosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     almacénToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     materiaPrimaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     UsuarioToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     RespaldoToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     InformacionToolStripMenuItem1= new System.Windows.Forms.ToolStripMenuItem();
     tool_Separador_Tipos = new System.Windows.Forms.ToolStripSeparator();
     tool_Separator = new System.Windows.Forms.ToolStripSeparator();
     pic_Logo = new System.Windows.Forms.PictureBox();
     Capturar_Imagenes = new System.Windows.Forms.Button();
     Codigo_Barra = new System.Windows.Forms.Button();
     Pedidos_Clientes = new System.Windows.Forms.Button();
     Pedidos_Proveedores = new System.Windows.Forms.Button();
     //
     //REPORTES
     this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.clientesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.proveedoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.financieroToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.promedioDeVentasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.consumoDelClienteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gananciasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.deudoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.muestrasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gastosIndirectosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.cortesDeCajaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ventasDeCadaProductoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.administrativoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.pedidosPendientesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.historialDePedidosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.producciónToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.producciónDeProductoToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.HistorialDeProduccionToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.DeudaaProveedoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.HistorialDeAbonosClientesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.DeudaaClientesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.HistorialDeAbonosProveedoresToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ComprarInventToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     //
     statusStrip1.SuspendLayout();
     Barra_menu.SuspendLayout();
     SuspendLayout();
     #endregion
     //
     // Pedidos_Clientes
     //
     Pedidos_Clientes.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Pedidos_clientes;
     Pedidos_Clientes.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     Pedidos_Clientes.Click += new System.EventHandler(Historial_PedidosStripMenuItem_Click);
     Pedidos_Clientes.Location = new System.Drawing.Point(20, 205);
     Pedidos_Clientes.Name = "Pedidos_Clientes";
     Pedidos_Clientes.Size = new System.Drawing.Size(75, 75);
     Pedidos_Clientes.Enabled = false;
     //
     // Pedidos_Proveedores
     //
     Pedidos_Proveedores.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Pedidos_proveedor;
     Pedidos_Proveedores.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     Pedidos_Proveedores.Click += new System.EventHandler(Historial_PedidosProveedoresStripMenuItem_Click);
     Pedidos_Proveedores.Location = new System.Drawing.Point(20, 285);
     Pedidos_Proveedores.Name = "Pedidos_Proveedores";
     Pedidos_Proveedores.Size = new System.Drawing.Size(75, 75);
     Pedidos_Proveedores.Enabled = false;
     //
     // Capturar_Imagenes
     //
     Capturar_Imagenes.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Pictures_Folder;
     Capturar_Imagenes.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     Capturar_Imagenes.Click += new System.EventHandler(Captura_FotoToolStripMenuItem_Click);
     Capturar_Imagenes.Location = new System.Drawing.Point(20, 45);
     Capturar_Imagenes.Name = "Capturar_Imagenes";
     Capturar_Imagenes.Size = new System.Drawing.Size(75, 75);
     Capturar_Imagenes.Enabled = false;
     //
     // Codigo_Barra
     //
     Codigo_Barra.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Boton_Codigobarra_copia;
     Codigo_Barra.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     Codigo_Barra.Click += new System.EventHandler(Codigo_BarraToolStripMenuItem_Click);
     Codigo_Barra.Location = new System.Drawing.Point(20, 125);
     Codigo_Barra.Name = "Codigo_Barra";
     Codigo_Barra.Size = new System.Drawing.Size(75, 75);
     Codigo_Barra.Enabled = 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(650, 45);
     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;
     //
     // statusStrip1
     //
     statusStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     tool_Label_Usuario,
     tool_label_Hora,
     tool_label_Fecha});
     statusStrip1.Location = new System.Drawing.Point(0, 408);
     statusStrip1.Name = "statusStrip1";
     statusStrip1.Size = new System.Drawing.Size(848, 22);
     statusStrip1.TabIndex = 1;
     statusStrip1.Text = "statusStrip1";
     //
     // Barra_menu
     //
     Barra_menu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
     Barra_menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     Bttn_Cliente,
     toolStripC,
     bttn_Proveedores,
     toolStripP,
     bttn_split_Reportes,
     toolStripR,
     bttn_split_Inventarios,
     toolStripI,
     bttn_split_Financiero,
     toolStripF,
     bttn_split_Mantenimiento,
     toolStripM,
     bttn_split_Seguridad,
     toolStripS,
     bttn_Cerrarsesion});
     Barra_menu.Location = new System.Drawing.Point(0, 0);
     Barra_menu.Name = "Barra_menu";
     Barra_menu.Size = new System.Drawing.Size(848, 25);
     Barra_menu.TabIndex = 2;
     Barra_menu.Text = "Barra_menu";
     //
     // toolStripC
     //
     toolStripC.Name = "toolStripC";
     toolStripC.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripP
     //
     toolStripP.Name = "toolStripP";
     toolStripP.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripR
     //
     toolStripR.Name = "toolStripR";
     toolStripR.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripI
     //
     toolStripI.Name = "toolStripI";
     toolStripI.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripF
     //
     toolStripF.Name = "toolStripF";
     toolStripF.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripM
     //
     toolStripM.Name = "toolStripM";
     toolStripM.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripS
     //
     toolStripS.Name = "toolStripS";
     toolStripS.Size = new System.Drawing.Size(6, 25);
     //
     // Bttn_Cliente
     //
     Bttn_Cliente.Image = global::Sistema_Shajobe.Properties.Resources.Clientes;
     Bttn_Cliente.ImageTransparentColor = System.Drawing.Color.Magenta;
     Bttn_Cliente.Name = "Bttn_Cliente";
     Bttn_Cliente.Size = new System.Drawing.Size(69, 22);
     Bttn_Cliente.Text = "&Clientes";
     Bttn_Cliente.Enabled = false;
     Bttn_Cliente.Click += new System.EventHandler(ClienteToolStripMenuItem_Click);
     //
     // bttn_Proveedores
     //
     bttn_Proveedores.Image = global::Sistema_Shajobe.Properties.Resources.Proveedores;
     bttn_Proveedores.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_Proveedores.Name = "bttn_Proveedores";
     bttn_Proveedores.Size = new System.Drawing.Size(92, 22);
     bttn_Proveedores.Text = "&Proveedores";
     bttn_Proveedores.Enabled = false;
     bttn_Proveedores.Click += new System.EventHandler(ProveedorToolStripMenuItem_Click);
     //
     // bttn_split_Reportes
     //
     this.bttn_split_Reportes.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.bttn_split_Reportes.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem1,
     this.financieroToolStripMenuItem,
     this.administrativoToolStripMenuItem,
     this.producciónToolStripMenuItem1});
     this.bttn_split_Reportes.Image = global::Sistema_Shajobe.Properties.Resources.Financiero;
     this.bttn_split_Reportes.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.bttn_split_Reportes.Name = "bttn_split_Reportes";
     this.bttn_split_Reportes.Size = new System.Drawing.Size(69, 22);
     this.bttn_split_Reportes.Enabled = false;
     this.bttn_split_Reportes.Text = "&Reportes";
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.clientesToolStripMenuItem,
     this.proveedoresToolStripMenuItem});
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Listas_de_reportes;
     this.toolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
     this.toolStripMenuItem1.Text = "Listas";
     //
     // clientesToolStripMenuItem
     //
     this.clientesToolStripMenuItem.Name = "clientesToolStripMenuItem";
     this.clientesToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Clientes;
     this.clientesToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.clientesToolStripMenuItem.Text = "&Clientes";
     this.clientesToolStripMenuItem.Click += new System.EventHandler(ClienteReporteToolStripMenuItem_Click);
     //
     // proveedoresToolStripMenuItem
     //
     this.proveedoresToolStripMenuItem.Name = "proveedoresToolStripMenuItem";
     this.proveedoresToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Proveedores;
     this.proveedoresToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.proveedoresToolStripMenuItem.Text = "&Proveedores";
     this.proveedoresToolStripMenuItem.Click += new System.EventHandler(ProveedorReporteToolStripMenuItem_Click);
     //
     // financieroToolStripMenuItem
     //
     this.financieroToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.promedioDeVentasToolStripMenuItem,
     this.consumoDelClienteToolStripMenuItem,
     this.gananciasToolStripMenuItem,
     this.deudoresToolStripMenuItem,
     this.muestrasToolStripMenuItem,
     this.gastosIndirectosToolStripMenuItem,
     this.cortesDeCajaToolStripMenuItem,
     this.ventasDeCadaProductoToolStripMenuItem,
     //this.DeudaaClientesToolStripMenuItem,
     this.HistorialDeAbonosClientesToolStripMenuItem,
     this.DeudaaProveedoresToolStripMenuItem,
     this.HistorialDeAbonosProveedoresToolStripMenuItem});
     this.financieroToolStripMenuItem.Name = "financieroToolStripMenuItem";
     this.financieroToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Financiero;
     this.financieroToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.financieroToolStripMenuItem.Text = "Financiero";
     //
     // promedioDeVentasToolStripMenuItem
     //
     this.promedioDeVentasToolStripMenuItem.Name = "promedioDeVentasToolStripMenuItem";
     this.promedioDeVentasToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.promedioDeVentasToolStripMenuItem.Text = "&Promedio de Ventas";
     this.promedioDeVentasToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Compra;
     this.promedioDeVentasToolStripMenuItem.Click+=new EventHandler(promedioDeVentasToolStripMenuItem_Click);
     //
     // consumoDelClienteToolStripMenuItem
     //
     this.consumoDelClienteToolStripMenuItem.Name = "consumoDelClienteToolStripMenuItem";
     this.consumoDelClienteToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.consumoDelClienteToolStripMenuItem.Text = "&Consumo del cliente";
     this.consumoDelClienteToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Clientes;
     this.consumoDelClienteToolStripMenuItem.Click+=new EventHandler(consumoDelClienteToolStripMenuItem_Click);
     //
     // gananciasToolStripMenuItem
     //
     this.gananciasToolStripMenuItem.Name = "gananciasToolStripMenuItem";
     this.gananciasToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.gananciasToolStripMenuItem.Text = "&Ganancias";
     this.gananciasToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Dinero;
     this.gananciasToolStripMenuItem.Click+=new EventHandler(gananciasToolStripMenuItem_Click);
     //
     // DeudaaProveedoresToolStripMenuItem
     // DeudaaClientesToolStripMenuItem
     this.DeudaaProveedoresToolStripMenuItem.Name = "DeudaaProveedoresToolStripMenuItem";
     this.DeudaaProveedoresToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.DeudaaProveedoresToolStripMenuItem.Text = "&Deuda a Proveedores";
     this.DeudaaProveedoresToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Proveedores;
     this.DeudaaProveedoresToolStripMenuItem.Click+=new EventHandler(DeudaaProveedoresToolStripMenuItem_Click);
     //
     // HistorialDeAbonosClientesToolStripMenuItem
     //
     this.HistorialDeAbonosClientesToolStripMenuItem.Name = "HistorialDeAbonosClientesToolStripMenuItem";
     this.HistorialDeAbonosClientesToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.HistorialDeAbonosClientesToolStripMenuItem.Text = "&Historial de abonos Clientes";
     this.HistorialDeAbonosClientesToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Clientes;
     this.HistorialDeAbonosClientesToolStripMenuItem.Click+=new EventHandler(HistorialDeAbonosClientesToolStripMenuItem_Click);
     //
     // HistorialDeAbonosProveedoresToolStripMenuItem
     //
     this.HistorialDeAbonosProveedoresToolStripMenuItem.Name = "HistorialDeAbonosProveedoresToolStripMenuItem";
     this.HistorialDeAbonosProveedoresToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.HistorialDeAbonosProveedoresToolStripMenuItem.Text = "&Historial de abonos Proveedores";
     this.HistorialDeAbonosProveedoresToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Proveedores;
     this.HistorialDeAbonosProveedoresToolStripMenuItem.Click+=new EventHandler(HistorialDeAbonosProveedoresToolStripMenuItem_Click);
     //
     // deudoresToolStripMenuItem
     //
     this.deudoresToolStripMenuItem.Name = "deudoresToolStripMenuItem";
     this.deudoresToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.deudoresToolStripMenuItem.Text = "&Deudores";
     this.deudoresToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Clientes;
     this.deudoresToolStripMenuItem.Click+=new EventHandler(deudoresToolStripMenuItem_Click);
     //
     // muestrasToolStripMenuItem
     //
     this.muestrasToolStripMenuItem.Name = "muestrasToolStripMenuItem";
     this.muestrasToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.muestrasToolStripMenuItem.Text = "&Muestras";
     this.muestrasToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Producto;
     this.muestrasToolStripMenuItem.Click += new EventHandler(MuestraToolStripMenuItem_Click);
     //
     // gastosIndirectosToolStripMenuItem
     //
     this.gastosIndirectosToolStripMenuItem.Name = "gastosIndirectosToolStripMenuItem";
     this.gastosIndirectosToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.gastosIndirectosToolStripMenuItem.Text = "&Gastos de Inventarios";
     this.gastosIndirectosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Retirar;
     this.gastosIndirectosToolStripMenuItem.Click += new EventHandler(GastosInventarioToolStripMenuItem_Click);
     //
     // cortesDeCajaToolStripMenuItem
     //
     this.cortesDeCajaToolStripMenuItem.Name = "cortesDeCajaToolStripMenuItem";
     this.cortesDeCajaToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.cortesDeCajaToolStripMenuItem.Text = "&Cortes de caja";
     this.cortesDeCajaToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Caja;
     this.cortesDeCajaToolStripMenuItem.Click+=new EventHandler(cortesDeCajaToolStripMenuItem_Click);
     //
     // ventasDeCadaProductoToolStripMenuItem
     //
     this.ventasDeCadaProductoToolStripMenuItem.Name = "ventasDeCadaProductoToolStripMenuItem";
     this.ventasDeCadaProductoToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.ventasDeCadaProductoToolStripMenuItem.Text = "&Ventas de cada producto";
     this.ventasDeCadaProductoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Producto;
     this.ventasDeCadaProductoToolStripMenuItem.Click+=new EventHandler(ventasDeCadaProductoToolStripMenuItem_Click);
     //
     // administrativoToolStripMenuItem
     //
     this.administrativoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.pedidosPendientesToolStripMenuItem,
     this.historialDePedidosToolStripMenuItem,
     this.ComprarInventToolStripMenuItem});
     this.administrativoToolStripMenuItem.Name = "administrativoToolStripMenuItem";
     this.administrativoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Administrativo;
     this.administrativoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.administrativoToolStripMenuItem.Text = "Administrativo";
     //
     // pedidosPendientesToolStripMenuItem
     //
     this.pedidosPendientesToolStripMenuItem.Name = "pedidosPendientesToolStripMenuItem";
     this.pedidosPendientesToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
     this.pedidosPendientesToolStripMenuItem.Text = "&Pedidos pendientes";
     this.pedidosPendientesToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Pedidos;
     this.pedidosPendientesToolStripMenuItem.Click += new EventHandler(ReportePedidos_PendientesToolStripMenuItem_Click);
     //
     // historialDePedidosToolStripMenuItem
     //
     this.historialDePedidosToolStripMenuItem.Name = "historialDePedidosToolStripMenuItem";
     this.historialDePedidosToolStripMenuItem.Size = new System.Drawing.Size(179, 22);
     this.historialDePedidosToolStripMenuItem.Text = "&Historial de pedidos";
     this.historialDePedidosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Pedidos_clientes;
     this.historialDePedidosToolStripMenuItem.Click+=new EventHandler(historialDePedidosToolStripMenuItem_Click);
     //
     // producciónToolStripMenuItem
     //
     this.producciónToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.producciónDeProductoToolStripMenuItem1,
     this.HistorialDeProduccionToolStripMenuItem1});
     this.producciónToolStripMenuItem1.Name = "producciónToolStripMenuItem";
     this.producciónToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
     this.producciónToolStripMenuItem1.Text = "Producción";
     this.producciónToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources._3444158;
     //
     // producciónDeProductoToolStripMenuItem
     //
     this.producciónDeProductoToolStripMenuItem1.Name = "producciónDeProductoToolStripMenuItem";
     this.producciónDeProductoToolStripMenuItem1.Size = new System.Drawing.Size(203, 22);
     this.producciónDeProductoToolStripMenuItem1.Text = "Producción de producto";
     this.producciónDeProductoToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.produccion;
     this.producciónDeProductoToolStripMenuItem1.Click+=new EventHandler(producciónDeProductoToolStripMenuItem1_Click);
     //
     // HistorialDeProduccionToolStripMenuItem1
     //
     this.HistorialDeProduccionToolStripMenuItem1.Name = "HistorialDeProduccionToolStripMenuItem1";
     this.HistorialDeProduccionToolStripMenuItem1.Size = new System.Drawing.Size(203, 22);
     this.HistorialDeProduccionToolStripMenuItem1.Text = "Historial de producción";
     this.HistorialDeProduccionToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Apps_iCal_Metro_icon;
     this.HistorialDeProduccionToolStripMenuItem1.Click+=new EventHandler(HistorialDeProduccionToolStripMenuItem1_Click);
     //
     // ComprarInventToolStripMenuItem
     //
     this.ComprarInventToolStripMenuItem.Name = "ComprarInventToolStripMenuItem";
     this.ComprarInventToolStripMenuItem.Size = new System.Drawing.Size(205, 22);
     this.ComprarInventToolStripMenuItem.Text = "&Información de inventario";
     this.ComprarInventToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Dinero;
     this.ComprarInventToolStripMenuItem.Click += new EventHandler(OpcionInventariosToolStripMenuItem_Click);
     //
     // bttn_split_Inventarios
     //
     bttn_split_Inventarios.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     inventariosToolStripMenuItem,
     producciónToolStripMenuItem,
     ordenDePeladoToolStripMenuItem});
     bttn_split_Inventarios.Image = global::Sistema_Shajobe.Properties.Resources.Inventario;
     bttn_split_Inventarios.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_split_Inventarios.Name = "bttn_split_Inventarios";
     bttn_split_Inventarios.Size = new System.Drawing.Size(97, 22);
     bttn_split_Inventarios.Text = "&Inventarios";
     bttn_split_Inventarios.Enabled = false;
     //
     // bttn_split_Financiero
     //
     bttn_split_Financiero.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     cajaToolStripMenuItem,
     ventasPedidosToolStripMenuItem, AbonosToolStripMenuItem,Abonos_ProveedorToolStripMenuItem,PedidosToolStripMenuItem});
     bttn_split_Financiero.Image = global::Sistema_Shajobe.Properties.Resources.Dinero;
     bttn_split_Financiero.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_split_Financiero.Name = "bttn_split_Financiero";
     bttn_split_Financiero.Size = new System.Drawing.Size(94, 22);
     bttn_split_Financiero.Text = "&Financiero";
     bttn_split_Financiero.Enabled = false;
     //
     // bttn_split_Mantenimiento
     //
     bttn_split_Mantenimiento.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     tipoDePiezasToolStripMenuItem,
     TipodeMateriaPrimaToolStripMenuItem,
     tool_Separador_Tipos,
     productosToolStripMenuItem,
     materiaPrimaToolStripMenuItem,
     tool_Separator,
     almacénToolStripMenuItem1,
     toolStripTU,
     Tipo_UsuarioToolStripMenuItem1});
     bttn_split_Mantenimiento.Image = global::Sistema_Shajobe.Properties.Resources.icon_47203_640;
     bttn_split_Mantenimiento.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_split_Mantenimiento.Name = "bttn_split_Mantenimiento";
     bttn_split_Mantenimiento.Size = new System.Drawing.Size(121, 22);
     bttn_split_Mantenimiento.Text = "&Mantenimiento";
     bttn_split_Mantenimiento.Enabled = false;
     //
     // bttn_split_Seguridad
     //
     bttn_split_Seguridad.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     UsuarioToolStripMenuItem1, RespaldoToolStripMenuItem1,InformacionToolStripMenuItem1});
     bttn_split_Seguridad.Image = global::Sistema_Shajobe.Properties.Resources.Vista__180_;
     bttn_split_Seguridad.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_split_Seguridad.Name = "bttn_split_Seguridad";
     bttn_split_Seguridad.Size = new System.Drawing.Size(92, 22);
     bttn_split_Seguridad.Text = "&Seguridad";
     bttn_split_Seguridad.Enabled = false;
     //
     // bttn_Cerrarsesion
     //
     bttn_Cerrarsesion.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     bttn_Cerrarsesion.Font = new System.Drawing.Font("Segoe UI", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     bttn_Cerrarsesion.Image = ((System.Drawing.Image)(resources.GetObject("bttn_Cerrarsesion.Image")));
     bttn_Cerrarsesion.ImageTransparentColor = System.Drawing.Color.Magenta;
     bttn_Cerrarsesion.Name = "bttn_Cerrarsesion";
     bttn_Cerrarsesion.Size = new System.Drawing.Size(83, 22);
     bttn_Cerrarsesion.Text = "Cerrar sesión";
     bttn_Cerrarsesion.Click += new System.EventHandler(Menu_Principal_FormClosing);
     //
     // tool_Label_Usuario
     //
     tool_Label_Usuario.Image = global::Sistema_Shajobe.Properties.Resources.Usuario;
     tool_Label_Usuario.Name = "tool_Label_Usuario";
     tool_Label_Usuario.Size = new System.Drawing.Size(66, 17);
     tool_Label_Usuario.Text = "Usuario:";
     //
     // tool_label_Hora
     //
     tool_label_Hora.Image = global::Sistema_Shajobe.Properties.Resources.kalarm;
     tool_label_Hora.Name = "tool_label_Hora";
     tool_label_Hora.Size = new System.Drawing.Size(52, 17);
     tool_label_Hora.Text = "Hora:";
     //
     // tool_label_Fecha
     //
     tool_label_Fecha.Image = global::Sistema_Shajobe.Properties.Resources.cal;
     tool_label_Fecha.Name = "tool_label_Fecha";
     tool_label_Fecha.Size = new System.Drawing.Size(57, 17);
     tool_label_Fecha.Text = "Fecha:";
     //
     // inventariosToolStripMenuItem
     //
     inventariosToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     inventariosMateriaPrimaToolStripMenuItem,
     inventariosProductoToolStripMenuItem});
     inventariosToolStripMenuItem.Name = "inventariosToolStripMenuItem";
     inventariosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Inventario;
     inventariosToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     inventariosToolStripMenuItem.Text = "Inventarios";
     //
     // inventariosMateriaPrimaToolStripMenuItem
     //
     inventariosMateriaPrimaToolStripMenuItem.Name = "inventariosMateriaPrimaToolStripMenuItem";
     inventariosMateriaPrimaToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     inventariosMateriaPrimaToolStripMenuItem.Size = new System.Drawing.Size(209, 22);
     inventariosMateriaPrimaToolStripMenuItem.Text = "Inventarios materia prima";
     inventariosMateriaPrimaToolStripMenuItem.Click += new System.EventHandler(inventariosMateriaPrimaToolStripMenuItem_Click);
     //
     // inventariosProductoToolStripMenuItem
     //
     inventariosProductoToolStripMenuItem.Name = "inventariosProductoToolStripMenuItem";
     inventariosProductoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Producto;
     inventariosProductoToolStripMenuItem.Size = new System.Drawing.Size(209, 22);
     inventariosProductoToolStripMenuItem.Text = "Inventarios producto";
     inventariosProductoToolStripMenuItem.Click += new System.EventHandler(inventariosProductoToolStripMenuItem_Click);
     //
     // producciónToolStripMenuItem
     //
     producciónToolStripMenuItem.Name = "producciónToolStripMenuItem";
     producciónToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     producciónToolStripMenuItem.Text = "Producción";
     producciónToolStripMenuItem.Click += new System.EventHandler(producciónToolStripMenuItem_Click);
     producciónToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.produccion;
     //
     // ordenDePeladoToolStripMenuItem
     //
     ordenDePeladoToolStripMenuItem.Name = "ordenDePeladoToolStripMenuItem";
     ordenDePeladoToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
     ordenDePeladoToolStripMenuItem.Text = "Orden de pelado";
     ordenDePeladoToolStripMenuItem.Click += new System.EventHandler(ordenDePeladoToolStripMenuItem_Click);
     ordenDePeladoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Orden_de_pelado;
     //
     // UsuarioToolStripMenuItem1
     //
     UsuarioToolStripMenuItem1.Name = "UsuarioToolStripMenuItem1";
     UsuarioToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Usuario;
     UsuarioToolStripMenuItem1.Size = new System.Drawing.Size(156, 22);
     UsuarioToolStripMenuItem1.Text = "Usuario";
     UsuarioToolStripMenuItem1.Click += new System.EventHandler(UsuarioToolStripMenuItem_Click);
     //
     // RespaldoToolStripMenuItem1
     //
     RespaldoToolStripMenuItem1.Name = "RespaldoToolStripMenuItem1";
     RespaldoToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Copia;
     RespaldoToolStripMenuItem1.Size = new System.Drawing.Size(156, 22);
     RespaldoToolStripMenuItem1.Text = "Copia de seguridad y Restauración";
     RespaldoToolStripMenuItem1.Click += new System.EventHandler(RespaldoToolStripMenuItem_Click);
     //
     // InformacionToolStripMenuItem1
     //
     InformacionToolStripMenuItem1.Name = "InformacionToolStripMenuItem1";
     InformacionToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Vista__180_;
     InformacionToolStripMenuItem1.Size = new System.Drawing.Size(156, 22);
     InformacionToolStripMenuItem1.Text = "Informacion del sistema";
     InformacionToolStripMenuItem1.Click += new System.EventHandler(InformacionToolStripMenuItem1_Click);
     //
     // cajaToolStripMenuItem
     //
     cajaToolStripMenuItem.Name = "cajaToolStripMenuItem";
     cajaToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Caja;
     cajaToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     cajaToolStripMenuItem.Text = "Caja";
     cajaToolStripMenuItem.Click += new System.EventHandler(CajaToolStripMenuItem_Click);
     //
     // ventasPedidosToolStripMenuItem
     //
     ventasPedidosToolStripMenuItem.Name = "ventasPedidosToolStripMenuItem";
     ventasPedidosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Compra;
     ventasPedidosToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     ventasPedidosToolStripMenuItem.Text = "Ventas-Pedidos";
     ventasPedidosToolStripMenuItem.Click += new System.EventHandler(VentasToolStripMenuItem_Click);
     //
     // AbonosToolStripMenuItem
     //
     AbonosToolStripMenuItem.Name = "AbonosToolStripMenuItem";
     AbonosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Dinero;
     AbonosToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     AbonosToolStripMenuItem.Text = "Abonos Clientes";
     AbonosToolStripMenuItem.Click += new System.EventHandler(AbonosToolStripMenuItem_Click);
     //
     // Abonos_ProveedorToolStripMenuItem
     //
     Abonos_ProveedorToolStripMenuItem.Name = "Abonos_ProveedorToolStripMenuItem";
     Abonos_ProveedorToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Dinero;
     Abonos_ProveedorToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     Abonos_ProveedorToolStripMenuItem.Text = "Abonos Proveedores";
     Abonos_ProveedorToolStripMenuItem.Click += new System.EventHandler(Abonos_ProveedorToolStripMenuItem_Click);
     //
     // PedidosToolStripMenuItem
     //
     PedidosToolStripMenuItem.Name = "PedidosToolStripMenuItem";
     PedidosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Pedidos;
     PedidosToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
     PedidosToolStripMenuItem.Text = "Pedido de materia prima";
     PedidosToolStripMenuItem.Click += new System.EventHandler(PedidosToolStripMenuItem_Click);
     //
     // tipoDePiezasToolStripMenuItem
     //
     tipoDePiezasToolStripMenuItem.Name = "tipoDePiezasToolStripMenuItem";
     tipoDePiezasToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     tipoDePiezasToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     tipoDePiezasToolStripMenuItem.Text = "Tipo de piezas";
     tipoDePiezasToolStripMenuItem.Click += new System.EventHandler(tipoDePiezasToolStripMenuItem_Click);
     //
     // TipodeMateriaPrimaToolStripMenuItem
     //
     TipodeMateriaPrimaToolStripMenuItem.Name = "TipodeMateriaPrimaToolStripMenuItem";
     TipodeMateriaPrimaToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     TipodeMateriaPrimaToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     TipodeMateriaPrimaToolStripMenuItem.Text = "Tipo de materias primas";
     TipodeMateriaPrimaToolStripMenuItem.Click += new System.EventHandler(TipodeMateriaPrimaToolStripMenuItem_Click);
     //
     // productosToolStripMenuItem
     //
     productosToolStripMenuItem.Name = "productosToolStripMenuItem";
     productosToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Producto;
     productosToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     productosToolStripMenuItem.Text = "Productos";
     productosToolStripMenuItem.Click += new System.EventHandler(productosToolStripMenuItem_Click);
     //
     // almacénToolStripMenuItem1
     //
     almacénToolStripMenuItem1.Name = "almacénToolStripMenuItem1";
     almacénToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Almacen;
     almacénToolStripMenuItem1.Size = new System.Drawing.Size(171, 22);
     almacénToolStripMenuItem1.Text = "Almacén";
     almacénToolStripMenuItem1.Click += new System.EventHandler(almacénToolStripMenuItem1_Click);
     //
     // Tipo_UsuarioToolStripMenuItem1
     //
     Tipo_UsuarioToolStripMenuItem1.Name = "Tipo_UsuarioToolStripMenuItem1";
     Tipo_UsuarioToolStripMenuItem1.Image = global::Sistema_Shajobe.Properties.Resources.Usuario;
     Tipo_UsuarioToolStripMenuItem1.Size = new System.Drawing.Size(171, 22);
     Tipo_UsuarioToolStripMenuItem1.Text = "Tipo de Usuarios";
     Tipo_UsuarioToolStripMenuItem1.Click += new System.EventHandler(Tipo_UsuarioToolStripMenuItem_Click);
     //
     // materiaPrimaToolStripMenuItem
     //
     materiaPrimaToolStripMenuItem.Name = "materiaPrimaToolStripMenuItem";
     materiaPrimaToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Materia_prima;
     materiaPrimaToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     materiaPrimaToolStripMenuItem.Text = "Materia prima";
     materiaPrimaToolStripMenuItem.Click += new System.EventHandler(materiaPrimaToolStripMenuItem_Click);
     //
     // tool_Separador_Tipos
     //
     tool_Separador_Tipos.Name = "tool_Separador_Tipos";
     tool_Separador_Tipos.Size = new System.Drawing.Size(168, 6);
     //
     // tool_Separator
     //
     tool_Separator.Name = "tool_Separator";
     tool_Separator.Size = new System.Drawing.Size(168, 6);
     //
     // Menu_principal
     //
     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(848, 650);
     Controls.Add(Barra_menu);
     Controls.Add(statusStrip1);
     Controls.Add(Capturar_Imagenes);
     Controls.Add(Codigo_Barra);
     Controls.Add(Pedidos_Clientes);
     Controls.Add(Pedidos_Proveedores);
     Controls.Add(pic_Logo);
     ControlBox = false;
     MaximumSize = new System.Drawing.Size(886, 650);
     MinimumSize = new System.Drawing.Size(886, 650);
     MaximizeBox = false;
     FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     Icon = global::Sistema_Shajobe.Properties.Resources.Shajobe_ICO;
     Name = "Menu_principal";
     Text = "Sistema Shajobe";
     statusStrip1.ResumeLayout(false);
     statusStrip1.PerformLayout();
     Barra_menu.ResumeLayout(false);
     Barra_menu.PerformLayout();
     ResumeLayout(false);
     PerformLayout();
 }