Exemple #1
0
        private Notifier()
        {
            IsSingleton                          = true;
            IsReady                              = false;
            Name                                 = "Notifier";
            NtForm                               = new NotifierForm(this);
            NtForm.NtContainer                   = new System.ComponentModel.Container();
            NtForm.NtIcon                        = new System.Windows.Forms.NotifyIcon(NtForm.NtContainer);
            NtForm.NtIcon.ContextMenu            = new ContextMenu();
            MenuItems                            = new Menu.MenuItemCollection(NtForm.NtIcon.ContextMenu); //new List<MenuItem>();
            NtForm.SwitchIconVisibilityDelegate += SwitchIconVisibility;
            DeskWall mi = DeskWall.GetInstance();

            mi.OnPluginsLoadComplete += OnPluginsLoad;
            //mi.OnPluginsLoadComplete += OnPluginsLoadComplete;
            //mi.OnAdjustNotifyIconMenuItem += AdjustMenuItem;
            MenuItem miHide = new MenuItem(MenuMerge.Add, 10000, Shortcut.None, "Hide Tray Icon", delegate(object sender, EventArgs ea)
            {
                SwitchIconVisibility(false);
            }, null, null, null);
            MenuItem miExit = new MenuItem(MenuMerge.Add, 10001, Shortcut.None, "Exit DeskWall", delegate(object sender, EventArgs ea)
            {
                SwitchIconVisibility(false);
                DeskWall m = DeskWall.GetInstance();
                m.TryExit();
                //if (BelongModule.IsRegisted)
                //{
                //    BelongModule.MainModule.TryExit(1000);
                //}
            }, null, null, null);

            AdjustMenuItem(-1);
            AdjustMenuItem(miHide, -1);
            AdjustMenuItem(miExit, -1);
        }
Exemple #2
0
        /// <summary>
        /// Recursive add method to handle nesting of menu items.
        /// </summary>
        /// <param name="parent"></param>
        /// <param name="mi"></param>
        private void AddMenuItem(System.Windows.Forms.Menu.MenuItemCollection parent, SymbologyMenuItem mi)
        {
            MenuItem m;

            //if (mi.Icon != null)
            //{
            //    m = new IconMenuItem(mi.Name, mi.Icon, mi.ClickHandler);
            //}
            //else if (mi.Image != null)
            //{
            //    m = new IconMenuItem(mi.Name, mi.Image, mi.ClickHandler);
            //}
            //else
            //{
            //    m = new IconMenuItem(mi.Name, mi.ClickHandler);
            //}

            m = new IconMenuItem(mi.Name, mi.ClickHandler);

            parent.Add(m);
            foreach (SymbologyMenuItem child in mi.MenuItems)
            {
                AddMenuItem(m.MenuItems, child);
            }
        }
 /* Adds a new Clip to the Menu and removes eldest clip if we are adding more than the maxClips */
 private void AddClip(string clip)
 {
     System.Windows.Forms.Menu.MenuItemCollection items = trayIcon.ContextMenu.MenuItems;
     if (items.Count > settings.getMaxClips() + 1)
     {
         items.RemoveAt(2);
     }
     items.Add(new CopyMenuItem(clip, ReplaceClipboard));
 }
Exemple #4
0
        public static MenuItem Clone(System.Windows.Forms.Menu.MenuItemCollection pattern)
        {
            MenuItem clone = new MenuItem();

            foreach (MenuItem mn in pattern)
            {
                clone.MenuItems.Add(mn.CloneMenu());
            }
            return(clone);
        }
Exemple #5
0
        public static ContextMenu CloneToContext(System.Windows.Forms.Menu.MenuItemCollection pattern)
        {
            ContextMenu clone = new ContextMenu();

            foreach (MenuItem mn in pattern)
            {
                clone.MenuItems.Add(mn.CloneMenu());
            }
            return(clone);
        }
Exemple #6
0
        //Handler for Diff Options for Algorithm setting.
        private void algOptions_Click(object sender, System.EventArgs e)
        {
            System.Windows.Forms.Menu.MenuItemCollection items = algOptions.MenuItems;
            foreach (MenuItem i in items)
            {
                i.Checked = false;
            }
            MenuItem item = (MenuItem)sender;

            item.Checked = true;
        }
Exemple #7
0
 public static void Clone(System.Windows.Forms.Menu.MenuItemCollection pattern, ContextMenu clone)
 {
     while (clone.MenuItems.Count > 0)
     {
         clone.MenuItems.RemoveAt(0);
     }
     foreach (MenuItem mn in pattern)
     {
         clone.MenuItems.Add(mn.CloneMenu());
     }
 }
Exemple #8
0
        private void InitializeComponent()
        {
            this.TextLog   = new TextBox();
            this.MainMenu1 = new MainMenu();
            this.MenuItem1 = new MenuItem();
            this.MenuItem2 = new MenuItem();
            this.MenuItem3 = new MenuItem();
            this.SuspendLayout();
            this.TextLog.Dock       = DockStyle.Fill;
            this.TextLog.Location   = new Point(0, 0);
            this.TextLog.Multiline  = true;
            this.TextLog.Name       = "TextLog";
            this.TextLog.ScrollBars = ScrollBars.Vertical;
            TextBox textLog = this.TextLog;

            System.Drawing.Size size = new System.Drawing.Size(440, 337);
            textLog.Size          = size;
            this.TextLog.TabIndex = 0;
            this.TextLog.Text     = "";
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuItem1 = new MenuItem[] { this.MenuItem1 };
            menuItems.AddRange(menuItem1);
            this.MenuItem1.Index = 0;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections = this.MenuItem1.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuItem2, this.MenuItem3 };
            menuItemCollections.AddRange(menuItem1);
            this.MenuItem1.Text  = "File";
            this.MenuItem2.Index = 0;
            this.MenuItem2.Text  = "Save";
            this.MenuItem3.Index = 1;
            this.MenuItem3.Text  = "Print";
            size = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize = size;
            size            = new System.Drawing.Size(440, 337);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.TextLog);
            this.Menu = this.MainMenu1;
            this.Name = "LoggerForm";
            this.Text = "Logger Utility";
            this.ResumeLayout(false);
        }
Exemple #9
0
        public static void UpdateMenuItem()
        {
            //ContextMenu cm = new ContextMenu();
            ////int max = 0;
            ////System.Windows.Forms.Menu.MenuItemCollection mc = NtForm.NtIcon.ContextMenu.MenuItems;
            //foreach (MenuItem i in MenuItems)
            //{
            //    if (i != null)
            //    {
            //        cm.MenuItems.Add(i);
            //    }
            //}

            //NtForm.NtIcon.ContextMenu = cm;
            System.Windows.Forms.Menu.MenuItemCollection mc = NtForm.NtIcon.ContextMenu.MenuItems;
            mc.Clear();
            foreach (MenuItem mi in MenuItems)
            {
                mc.Add(0, mi);
            }
        }
Exemple #10
0
 /// <summary>Updates the menu item texts. First custom name for the menu item is retrieved from
 /// the <see cref="_menus"/> dictionary. The custom name is used to retrieve the localized text
 /// from the <see cref="ResourceManager"/>.</summary>
 /// <remarks>This method uses recursion to update all possible menu hierarchy.</remarks>
 protected void UpdateMenus(System.Windows.Forms.Menu.MenuItemCollection mc)
 {
     foreach (MenuItem m in mc)
     {
         try
         {
             // get the control name from our dictionary
             string name = string.Empty;
             _menus.TryGetValue(m, out name);
             // retreive the localized resource
             m.Text = ResourceManager.Instance.GetString(name);
         }
         catch (Exception e)
         {
             System.Diagnostics.Debug.WriteLine(e.Message);
             // log the error if desired
         }
         // work recursivly
         UpdateMenus(m.MenuItems);
     }
 }
 private MenuItemCollectionWin CreateMenuItemCollectionWin()
 {
     System.Windows.Forms.Menu menu = (System.Windows.Forms.Menu) GetControlFactory().CreateMainMenu();
     System.Windows.Forms.Menu.MenuItemCollection menuItemCollection = new System.Windows.Forms.Menu.MenuItemCollection(menu);
     return new MenuItemCollectionWin(menuItemCollection);
 }
        private void InitializeComponent()
        {
            this.ComboBox1    = new ComboBox();
            this.Label3       = new Label();
            this.Dungeon      = new CheckBox();
            this.ProjectName  = new TextBox();
            this.Label2       = new Label();
            this.Label1       = new Label();
            this.ProjectPath  = new TextBox();
            this.TerrainFile  = new TextBox();
            this.ComboBox2    = new ComboBox();
            this.Label5       = new Label();
            this.AltitudeFile = new TextBox();
            this.MainMenu1    = new MainMenu();
            this.MenuPath     = new MenuItem();
            this.MenuTerrain  = new MenuItem();
            this.Label4       = new Label();
            this.Label6       = new Label();
            this.Label7       = new Label();
            this.ProgressBar1 = new ProgressBar();
            this.SuspendLayout();
            ComboBox comboBox1 = this.ComboBox1;
            Point    point     = new Point(200, 72);

            comboBox1.Location  = point;
            this.ComboBox1.Name = "ComboBox1";
            ComboBox comboBox = this.ComboBox1;

            System.Drawing.Size size = new System.Drawing.Size(144, 21);
            comboBox.Size           = size;
            this.ComboBox1.Sorted   = true;
            this.ComboBox1.TabIndex = 38;
            this.Label3.AutoSize    = true;
            Label label3 = this.Label3;

            point            = new Point(200, 56);
            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label = this.Label3;

            size                 = new System.Drawing.Size(79, 16);
            label.Size           = size;
            this.Label3.TabIndex = 37;
            this.Label3.Text     = "Default Terrain";
            CheckBox dungeon = this.Dungeon;

            point             = new Point(352, 72);
            dungeon.Location  = point;
            this.Dungeon.Name = "Dungeon";
            CheckBox checkBox = this.Dungeon;

            size                  = new System.Drawing.Size(24, 24);
            checkBox.Size         = size;
            this.Dungeon.TabIndex = 36;
            TextBox projectName = this.ProjectName;

            point = new Point(272, 24);
            projectName.Location  = point;
            this.ProjectName.Name = "ProjectName";
            TextBox textBox = this.ProjectName;

            size         = new System.Drawing.Size(152, 20);
            textBox.Size = size;
            this.ProjectName.TabIndex = 35;
            this.ProjectName.Text     = "";
            this.Label2.AutoSize      = true;
            Label label2 = this.Label2;

            point            = new Point(272, 8);
            label2.Location  = point;
            this.Label2.Name = "Label2";
            Label label21 = this.Label2;

            size                 = new System.Drawing.Size(73, 16);
            label21.Size         = size;
            this.Label2.TabIndex = 34;
            this.Label2.Text     = "Project Name";
            this.Label1.AutoSize = true;
            Label label1 = this.Label1;

            point            = new Point(8, 8);
            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label11 = this.Label1;

            size                 = new System.Drawing.Size(31, 16);
            label11.Size         = size;
            this.Label1.TabIndex = 33;
            this.Label1.Text     = "Path:";
            TextBox projectPath = this.ProjectPath;

            point = new Point(8, 24);
            projectPath.Location  = point;
            this.ProjectPath.Name = "ProjectPath";
            TextBox projectPath1 = this.ProjectPath;

            size = new System.Drawing.Size(256, 20);
            projectPath1.Size         = size;
            this.ProjectPath.TabIndex = 32;
            this.ProjectPath.Text     = "";
            TextBox terrainFile = this.TerrainFile;

            point = new Point(8, 120);
            terrainFile.Location  = point;
            this.TerrainFile.Name = "TerrainFile";
            TextBox terrainFile1 = this.TerrainFile;

            size = new System.Drawing.Size(104, 20);
            terrainFile1.Size         = size;
            this.TerrainFile.TabIndex = 41;
            this.TerrainFile.Text     = "Terrain.bmp";
            ComboBox comboBox2 = this.ComboBox2;

            point = new Point(8, 72);
            comboBox2.Location  = point;
            this.ComboBox2.Name = "ComboBox2";
            ComboBox comboBox21 = this.ComboBox2;

            size                    = new System.Drawing.Size(184, 21);
            comboBox21.Size         = size;
            this.ComboBox2.TabIndex = 40;
            this.Label5.AutoSize    = true;
            this.Label5.ForeColor   = Color.Black;
            Label label5 = this.Label5;

            point            = new Point(8, 56);
            label5.Location  = point;
            this.Label5.Name = "Label5";
            Label label51 = this.Label5;

            size                 = new System.Drawing.Size(89, 16);
            label51.Size         = size;
            this.Label5.TabIndex = 42;
            this.Label5.Text     = "Select Map Size:";
            TextBox altitudeFile = this.AltitudeFile;

            point = new Point(120, 120);
            altitudeFile.Location  = point;
            this.AltitudeFile.Name = "AltitudeFile";
            TextBox altitudeFile1 = this.AltitudeFile;

            size = new System.Drawing.Size(104, 20);
            altitudeFile1.Size         = size;
            this.AltitudeFile.TabIndex = 47;
            this.AltitudeFile.Text     = "Altitude.bmp";
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuPath = new MenuItem[] { this.MenuPath, this.MenuTerrain };
            menuItems.AddRange(menuPath);
            this.MenuPath.Index    = 0;
            this.MenuPath.Text     = "Path";
            this.MenuTerrain.Index = 1;
            this.MenuTerrain.Text  = "Make Terrain/Altitude Image";
            this.Label4.AutoSize   = true;
            Label label4 = this.Label4;

            point            = new Point(352, 56);
            label4.Location  = point;
            this.Label4.Name = "Label4";
            Label label41 = this.Label4;

            size                 = new System.Drawing.Size(77, 16);
            label41.Size         = size;
            this.Label4.TabIndex = 48;
            this.Label4.Text     = "Dungeon Area";
            this.Label6.AutoSize = true;
            Label label6 = this.Label6;

            point            = new Point(120, 104);
            label6.Location  = point;
            this.Label6.Name = "Label6";
            Label label61 = this.Label6;

            size                 = new System.Drawing.Size(102, 16);
            label61.Size         = size;
            this.Label6.TabIndex = 50;
            this.Label6.Text     = "Altitude Image Map";
            this.Label7.AutoSize = true;
            Label label7 = this.Label7;

            point                  = new Point(8, 104);
            label7.Location        = point;
            this.Label7.Name       = "Label7";
            this.Label7.TabIndex   = 49;
            this.Label7.Text       = "Terrain Image Map";
            this.ProgressBar1.Dock = DockStyle.Bottom;
            ProgressBar progressBar1 = this.ProgressBar1;

            point = new Point(0, 151);
            progressBar1.Location  = point;
            this.ProgressBar1.Name = "ProgressBar1";
            ProgressBar progressBar = this.ProgressBar1;

            size                       = new System.Drawing.Size(430, 16);
            progressBar.Size           = size;
            this.ProgressBar1.TabIndex = 51;
            size                       = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize     = size;
            this.BackColor             = Color.FromArgb(224, 224, 224);
            size                       = new System.Drawing.Size(430, 167);
            this.ClientSize            = size;
            this.Controls.Add(this.ProgressBar1);
            this.Controls.Add(this.Label6);
            this.Controls.Add(this.Label7);
            this.Controls.Add(this.Label4);
            this.Controls.Add(this.AltitudeFile);
            this.Controls.Add(this.ProjectName);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.ProjectPath);
            this.Controls.Add(this.Label5);
            this.Controls.Add(this.ComboBox2);
            this.Controls.Add(this.ComboBox1);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Dungeon);
            this.Controls.Add(this.TerrainFile);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Menu            = this.MainMenu1;
            this.Name            = "MakeMapImage";
            this.Text            = "Make New Image Map";
            this.ResumeLayout(false);
        }
Exemple #13
0
 private MenuItemCollectionWin CreateMenuItemCollectionWin()
 {
     System.Windows.Forms.Menu menu = (System.Windows.Forms.Menu)GetControlFactory().CreateMainMenu();
     System.Windows.Forms.Menu.MenuItemCollection menuItemCollection = new System.Windows.Forms.Menu.MenuItemCollection(menu);
     return(new MenuItemCollectionWin(menuItemCollection));
 }
        private void InitializeComponent()
        {
            this.Label5               = new Label();
            this.ComboBox2            = new ComboBox();
            this.Label6               = new Label();
            this.Label7               = new Label();
            this.AltitudeFile         = new TextBox();
            this.ProjectName          = new TextBox();
            this.Label2               = new Label();
            this.Label1               = new Label();
            this.Path2Image           = new TextBox();
            this.TerrainFile          = new TextBox();
            this.ProgressBar1         = new ProgressBar();
            this.Label3               = new Label();
            this.Path2Mul             = new TextBox();
            this.MainMenu1            = new MainMenu();
            this.MenuItem1            = new MenuItem();
            this.MenuMul              = new MenuItem();
            this.MenuImage            = new MenuItem();
            this.MenuMake             = new MenuItem();
            this.FolderBrowserDialog1 = new FolderBrowserDialog();
            this.SuspendLayout();
            this.Label5.AutoSize  = true;
            this.Label5.ForeColor = Color.Black;
            Label label5 = this.Label5;
            Point point  = new Point(8, 144);

            label5.Location  = point;
            this.Label5.Name = "Label5";
            Label label = this.Label5;

            System.Drawing.Size size = new System.Drawing.Size(89, 16);
            label.Size           = size;
            this.Label5.TabIndex = 44;
            this.Label5.Text     = "Select Map Size:";
            ComboBox comboBox2 = this.ComboBox2;

            point = new Point(8, 160);
            comboBox2.Location  = point;
            this.ComboBox2.Name = "ComboBox2";
            ComboBox comboBox = this.ComboBox2;

            size                    = new System.Drawing.Size(184, 21);
            comboBox.Size           = size;
            this.ComboBox2.TabIndex = 43;
            this.Label6.AutoSize    = true;
            Label label6 = this.Label6;

            point            = new Point(120, 184);
            label6.Location  = point;
            this.Label6.Name = "Label6";
            Label label61 = this.Label6;

            size                 = new System.Drawing.Size(102, 16);
            label61.Size         = size;
            this.Label6.TabIndex = 58;
            this.Label6.Text     = "Altitude Image Map";
            this.Label7.AutoSize = true;
            Label label7 = this.Label7;

            point                = new Point(8, 184);
            label7.Location      = point;
            this.Label7.Name     = "Label7";
            this.Label7.TabIndex = 57;
            this.Label7.Text     = "Terrain Image Map";
            TextBox altitudeFile = this.AltitudeFile;

            point = new Point(120, 200);
            altitudeFile.Location  = point;
            this.AltitudeFile.Name = "AltitudeFile";
            TextBox textBox = this.AltitudeFile;

            size         = new System.Drawing.Size(104, 20);
            textBox.Size = size;
            this.AltitudeFile.TabIndex = 56;
            this.AltitudeFile.Text     = "Altitude.bmp";
            TextBox projectName = this.ProjectName;

            point = new Point(8, 104);
            projectName.Location  = point;
            this.ProjectName.Name = "ProjectName";
            TextBox projectName1 = this.ProjectName;

            size = new System.Drawing.Size(152, 20);
            projectName1.Size         = size;
            this.ProjectName.TabIndex = 54;
            this.ProjectName.Text     = "";
            this.Label2.AutoSize      = true;
            Label label2 = this.Label2;

            point            = new Point(8, 88);
            label2.Location  = point;
            this.Label2.Name = "Label2";
            Label label21 = this.Label2;

            size                 = new System.Drawing.Size(73, 16);
            label21.Size         = size;
            this.Label2.TabIndex = 53;
            this.Label2.Text     = "Project Name";
            this.Label1.AutoSize = true;
            Label label1 = this.Label1;

            point            = new Point(8, 48);
            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label11 = this.Label1;

            size                 = new System.Drawing.Size(65, 16);
            label11.Size         = size;
            this.Label1.TabIndex = 52;
            this.Label1.Text     = "Image Path:";
            TextBox path2Image = this.Path2Image;

            point = new Point(8, 64);
            path2Image.Location  = point;
            this.Path2Image.Name = "Path2Image";
            TextBox path2Image1 = this.Path2Image;

            size                     = new System.Drawing.Size(280, 20);
            path2Image1.Size         = size;
            this.Path2Image.TabIndex = 51;
            this.Path2Image.Text     = "";
            TextBox terrainFile = this.TerrainFile;

            point = new Point(8, 200);
            terrainFile.Location  = point;
            this.TerrainFile.Name = "TerrainFile";
            TextBox terrainFile1 = this.TerrainFile;

            size = new System.Drawing.Size(104, 20);
            terrainFile1.Size         = size;
            this.TerrainFile.TabIndex = 55;
            this.TerrainFile.Text     = "Terrain.bmp";
            this.ProgressBar1.Dock    = DockStyle.Bottom;
            ProgressBar progressBar1 = this.ProgressBar1;

            point = new Point(0, 235);
            progressBar1.Location  = point;
            this.ProgressBar1.Name = "ProgressBar1";
            ProgressBar progressBar = this.ProgressBar1;

            size                       = new System.Drawing.Size(294, 16);
            progressBar.Size           = size;
            this.ProgressBar1.TabIndex = 59;
            this.Label3.AutoSize       = true;
            Label label3 = this.Label3;

            point            = new Point(8, 8);
            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label31 = this.Label3;

            size                 = new System.Drawing.Size(64, 16);
            label31.Size         = size;
            this.Label3.TabIndex = 62;
            this.Label3.Text     = "Path to Mul:";
            TextBox path2Mul = this.Path2Mul;

            point              = new Point(8, 24);
            path2Mul.Location  = point;
            this.Path2Mul.Name = "Path2Mul";
            TextBox path2Mul1 = this.Path2Mul;

            size                   = new System.Drawing.Size(280, 20);
            path2Mul1.Size         = size;
            this.Path2Mul.TabIndex = 61;
            this.Path2Mul.Text     = "";
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuItem1 = new MenuItem[] { this.MenuItem1, this.MenuMake };
            menuItems.AddRange(menuItem1);
            this.MenuItem1.Index = 0;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections = this.MenuItem1.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuMul, this.MenuImage };
            menuItemCollections.AddRange(menuItem1);
            this.MenuItem1.Text  = "File";
            this.MenuMul.Index   = 0;
            this.MenuMul.Text    = "Mul Path";
            this.MenuImage.Index = 1;
            this.MenuImage.Text  = "Image Path";
            this.MenuMake.Index  = 1;
            this.MenuMake.Text   = "Make";
            this.FolderBrowserDialog1.RootFolder = Environment.SpecialFolder.MyComputer;
            size = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize = size;
            this.BackColor         = Color.FromArgb(224, 224, 224);
            size            = new System.Drawing.Size(294, 251);
            this.ClientSize = size;
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Path2Mul);
            this.Controls.Add(this.ProgressBar1);
            this.Controls.Add(this.Label6);
            this.Controls.Add(this.Label7);
            this.Controls.Add(this.AltitudeFile);
            this.Controls.Add(this.ProjectName);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.Path2Image);
            this.Controls.Add(this.TerrainFile);
            this.Controls.Add(this.Label5);
            this.Controls.Add(this.ComboBox2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Menu            = this.MainMenu1;
            this.Name            = "Mul2Bmp";
            this.Text            = "Make Mul To Bmp";
            this.ResumeLayout(false);
        }
Exemple #15
0
 private void InitializeComponent()
 {
     this.textEntryEdit = new TextBox();
     this.contextMenu1  = new System.Windows.Forms.ContextMenu();
     this.menuItem1     = new MenuItem();
     this.btnCancel     = new Button();
     this.btnOk         = new Button();
     this.panel1        = new Panel();
     this.fontDialog1   = new FontDialog();
     this.menuItem2     = new MenuItem();
     this.menuItem3     = new MenuItem();
     this.menuItem4     = new MenuItem();
     this.menuItem5     = new MenuItem();
     this.panel1.SuspendLayout();
     base.SuspendLayout();
     this.textEntryEdit.Anchor      = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.textEntryEdit.ContextMenu = this.contextMenu1;
     this.textEntryEdit.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.textEntryEdit.Location    = new Point(8, 8);
     this.textEntryEdit.Multiline   = true;
     this.textEntryEdit.Name        = "textEntryEdit";
     this.textEntryEdit.ScrollBars  = ScrollBars.Vertical;
     this.textEntryEdit.Size        = new System.Drawing.Size(320, 224);
     this.textEntryEdit.TabIndex    = 0;
     this.textEntryEdit.Text        = "";
     System.Windows.Forms.Menu.MenuItemCollection menuItems = this.contextMenu1.MenuItems;
     MenuItem[] menuItemArray = new MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5 };
     menuItems.AddRange(menuItemArray);
     this.menuItem1.Index        = 0;
     this.menuItem1.Text         = "Font 8pt";
     this.menuItem1.Click       += new EventHandler(this.menuItem1_Click);
     this.btnCancel.Anchor       = AnchorStyles.Bottom | AnchorStyles.Left;
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new Point(88, 248);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 5;
     this.btnCancel.Text         = "&Cancel";
     this.btnOk.Anchor           = AnchorStyles.Bottom | AnchorStyles.Left;
     this.btnOk.Location         = new Point(8, 248);
     this.btnOk.Name             = "btnOk";
     this.btnOk.TabIndex         = 4;
     this.btnOk.Text             = "&Ok";
     this.btnOk.Click           += new EventHandler(this.btnOk_Click);
     this.panel1.Anchor          = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this.panel1.Controls.Add(this.textEntryEdit);
     this.panel1.Location    = new Point(8, 0);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(336, 240);
     this.panel1.TabIndex    = 6;
     this.fontDialog1.Apply += new EventHandler(this.fontDialog1_Apply);
     this.menuItem2.Index    = 1;
     this.menuItem2.Text     = "Font 10pt";
     this.menuItem2.Click   += new EventHandler(this.menuItem2_Click);
     this.menuItem3.Index    = 2;
     this.menuItem3.Text     = "Font 12pt";
     this.menuItem3.Click   += new EventHandler(this.menuItem3_Click);
     this.menuItem4.Index    = 3;
     this.menuItem4.Text     = "Font 14pt";
     this.menuItem4.Click   += new EventHandler(this.menuItem4_Click);
     this.menuItem5.Index    = 4;
     this.menuItem5.Text     = "Font 18pt";
     this.menuItem5.Click   += new EventHandler(this.menuItem5_Click);
     this.AutoScaleBaseSize  = new System.Drawing.Size(5, 13);
     base.ClientSize         = new System.Drawing.Size(344, 273);
     base.Controls.Add(this.panel1);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnOk);
     base.Name  = "EntryEdit";
     base.Load += new EventHandler(this.EntryEdit_Load);
     this.panel1.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Exemple #16
0
        private void InitializeComponent()
        {
            ResourceManager resourceManager = new ResourceManager(typeof(Veiwer));

            this.ListBox1      = new ListBox();
            this.PropertyGrid1 = new PropertyGrid();
            this.Label1        = new Label();
            this.Label2        = new Label();
            this.PictureBox1   = new PictureBox();
            this.MainMenu1     = new MainMenu();
            this.MenuItem1     = new MenuItem();
            this.MenuItem2     = new MenuItem();
            this.MenuItem3     = new MenuItem();
            this.MenuItem7     = new MenuItem();
            this.MenuItem8     = new MenuItem();
            this.MenuItem9     = new MenuItem();
            this.MenuItem13    = new MenuItem();
            this.MenuItem4     = new MenuItem();
            this.MenuItem5     = new MenuItem();
            this.MenuItem6     = new MenuItem();
            this.MenuItem10    = new MenuItem();
            this.MenuItem11    = new MenuItem();
            this.MenuItem12    = new MenuItem();
            this.MenuItem14    = new MenuItem();
            this.Label3        = new Label();
            this.SuspendLayout();
            ListBox listBox1 = this.ListBox1;
            Point   point    = new Point(8, 24);

            listBox1.Location  = point;
            this.ListBox1.Name = "ListBox1";
            ListBox listBox = this.ListBox1;

            System.Drawing.Size size = new System.Drawing.Size(224, 368);
            listBox.Size           = size;
            this.ListBox1.Sorted   = true;
            this.ListBox1.TabIndex = 1;
            this.PropertyGrid1.CommandsBackColor          = Color.FromArgb(224, 224, 224);
            this.PropertyGrid1.CommandsVisibleIfAvailable = true;
            this.PropertyGrid1.HelpVisible  = false;
            this.PropertyGrid1.LargeButtons = false;
            this.PropertyGrid1.LineColor    = SystemColors.ScrollBar;
            PropertyGrid propertyGrid1 = this.PropertyGrid1;

            point = new Point(240, 24);
            propertyGrid1.Location  = point;
            this.PropertyGrid1.Name = "PropertyGrid1";
            PropertyGrid propertyGrid = this.PropertyGrid1;

            size = new System.Drawing.Size(216, 312);
            propertyGrid.Size                = size;
            this.PropertyGrid1.TabIndex      = 2;
            this.PropertyGrid1.Text          = "PropertyGrid1";
            this.PropertyGrid1.ViewBackColor = SystemColors.Window;
            this.PropertyGrid1.ViewForeColor = SystemColors.WindowText;
            this.Label1.AutoSize             = true;
            this.Label1.ForeColor            = Color.Blue;
            Label label1 = this.Label1;

            point            = new Point(8, 8);
            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label = this.Label1;

            size                  = new System.Drawing.Size(61, 16);
            label.Size            = size;
            this.Label1.TabIndex  = 3;
            this.Label1.Text      = "Terrain List";
            this.Label2.AutoSize  = true;
            this.Label2.ForeColor = Color.Blue;
            Label label2 = this.Label2;

            point            = new Point(240, 8);
            label2.Location  = point;
            this.Label2.Name = "Label2";
            Label label21 = this.Label2;

            size                         = new System.Drawing.Size(77, 16);
            label21.Size                 = size;
            this.Label2.TabIndex         = 4;
            this.Label2.Text             = "Tile Properties";
            this.PictureBox1.BorderStyle = BorderStyle.FixedSingle;
            PictureBox pictureBox1 = this.PictureBox1;

            point = new Point(240, 344);
            pictureBox1.Location  = point;
            this.PictureBox1.Name = "PictureBox1";
            PictureBox pictureBox = this.PictureBox1;

            size                      = new System.Drawing.Size(46, 46);
            pictureBox.Size           = size;
            this.PictureBox1.TabIndex = 5;
            this.PictureBox1.TabStop  = false;
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuItem1 = new MenuItem[] { this.MenuItem1, this.MenuItem4 };
            menuItems.AddRange(menuItem1);
            this.MenuItem1.Index = 0;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections = this.MenuItem1.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuItem2, this.MenuItem3, this.MenuItem7, this.MenuItem8 };
            menuItemCollections.AddRange(menuItem1);
            this.MenuItem1.Text  = "Terrain";
            this.MenuItem2.Index = 0;
            this.MenuItem2.Text  = "Load";
            this.MenuItem3.Index = 1;
            this.MenuItem3.Text  = "Save";
            this.MenuItem7.Index = 2;
            this.MenuItem7.Text  = "-";
            this.MenuItem8.Index = 3;
            System.Windows.Forms.Menu.MenuItemCollection menuItems1 = this.MenuItem8.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuItem9, this.MenuItem13 };
            menuItems1.AddRange(menuItem1);
            this.MenuItem8.Text   = "Export";
            this.MenuItem9.Index  = 0;
            this.MenuItem9.Text   = "Terrain.ACT";
            this.MenuItem13.Index = 1;
            this.MenuItem13.Text  = "Terrain.ACO";
            this.MenuItem4.Index  = 1;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections1 = this.MenuItem4.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuItem5, this.MenuItem6, this.MenuItem10, this.MenuItem11 };
            menuItemCollections1.AddRange(menuItem1);
            this.MenuItem4.Text   = "Altitude";
            this.MenuItem5.Index  = 0;
            this.MenuItem5.Text   = "Load";
            this.MenuItem6.Index  = 1;
            this.MenuItem6.Text   = "Save";
            this.MenuItem10.Index = 2;
            this.MenuItem10.Text  = "-";
            this.MenuItem11.Index = 3;
            System.Windows.Forms.Menu.MenuItemCollection menuItems2 = this.MenuItem11.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuItem12, this.MenuItem14 };
            menuItems2.AddRange(menuItem1);
            this.MenuItem11.Text  = "Export";
            this.MenuItem12.Index = 0;
            this.MenuItem12.Text  = "Altitude.ACT";
            this.MenuItem14.Index = 1;
            this.MenuItem14.Text  = "Altitude.ACO";
            Label label3 = this.Label3;

            point            = new Point(296, 344);
            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label31 = this.Label3;

            size                   = new System.Drawing.Size(160, 48);
            label31.Size           = size;
            this.Label3.TabIndex   = 6;
            this.Label3.Text       = "* The altitude will be randomized when the tile has been selected.";
            size                   = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize = size;
            this.BackColor         = Color.FromArgb(224, 224, 224);
            size                   = new System.Drawing.Size(466, 403);
            this.ClientSize        = size;
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.PictureBox1);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.PropertyGrid1);
            this.Controls.Add(this.ListBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon            = (System.Drawing.Icon)resourceManager.GetObject("$this.Icon");
            this.MaximizeBox     = false;
            this.Menu            = this.MainMenu1;
            this.Name            = "Veiwer";
            this.Text            = "Data Viewer";
            this.ResumeLayout(false);
        }
Exemple #17
0
        private void InitializeComponent()
        {
            this.MainMenu1          = new MainMenu();
            this.MenuItem1          = new MenuItem();
            this.MenuDragonPath     = new MenuItem();
            this.MenuDragonFile     = new MenuItem();
            this.MenuItem2          = new MenuItem();
            this.MenuUOLPath        = new MenuItem();
            this.MenuUOLProjectName = new MenuItem();
            this.MenuConv           = new MenuItem();
            this.Label1             = new Label();
            this.DragonPath         = new TextBox();
            this.Label2             = new Label();
            this.DragonImage        = new TextBox();
            this.GroupBox1          = new GroupBox();
            this.Label3             = new Label();
            this.ComboBox1          = new ComboBox();
            this.GroupBox2          = new GroupBox();
            this.Label4             = new Label();
            this.ProjectPath        = new TextBox();
            this.Label5             = new Label();
            this.ProjectName        = new TextBox();
            this.Label7             = new Label();
            this.TerrainFile        = new TextBox();
            this.Label6             = new Label();
            this.AltitudeFile       = new TextBox();
            this.ProgressBar1       = new ProgressBar();
            this.GroupBox1.SuspendLayout();
            this.GroupBox2.SuspendLayout();
            this.SuspendLayout();
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuItem1 = new MenuItem[] { this.MenuItem1, this.MenuItem2, this.MenuConv };
            menuItems.AddRange(menuItem1);
            this.MenuItem1.Index = 0;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections = this.MenuItem1.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuDragonPath, this.MenuDragonFile };
            menuItemCollections.AddRange(menuItem1);
            this.MenuItem1.Text       = "Dragon";
            this.MenuDragonPath.Index = 0;
            this.MenuDragonPath.Text  = "Select Path";
            this.MenuDragonFile.Index = 1;
            this.MenuDragonFile.Text  = "Select Map File";
            this.MenuItem2.Index      = 1;
            System.Windows.Forms.Menu.MenuItemCollection menuItems1 = this.MenuItem2.MenuItems;
            menuItem1 = new MenuItem[] { this.MenuUOLPath, this.MenuUOLProjectName };
            menuItems1.AddRange(menuItem1);
            this.MenuItem2.Text           = "UO Landscaper";
            this.MenuUOLPath.Index        = 0;
            this.MenuUOLPath.Text         = "Select Path";
            this.MenuUOLProjectName.Index = 1;
            this.MenuUOLProjectName.Text  = "Select Project Name";
            this.MenuConv.Index           = 2;
            this.MenuConv.Text            = "Convert";
            this.Label1.AutoSize          = true;
            Label label1 = this.Label1;
            Point point  = new Point(8, 16);

            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label = this.Label1;

            System.Drawing.Size size = new System.Drawing.Size(27, 16);
            label.Size           = size;
            this.Label1.TabIndex = 0;
            this.Label1.Text     = "Path";
            TextBox dragonPath = this.DragonPath;

            point = new Point(24, 32);
            dragonPath.Location  = point;
            this.DragonPath.Name = "DragonPath";
            TextBox textBox = this.DragonPath;

            size                     = new System.Drawing.Size(240, 20);
            textBox.Size             = size;
            this.DragonPath.TabIndex = 1;
            this.DragonPath.Text     = "";
            this.Label2.AutoSize     = true;
            Label label2 = this.Label2;

            point            = new Point(8, 56);
            label2.Location  = point;
            this.Label2.Name = "Label2";
            Label label21 = this.Label2;

            size                 = new System.Drawing.Size(61, 16);
            label21.Size         = size;
            this.Label2.TabIndex = 2;
            this.Label2.Text     = "Map Image";
            TextBox dragonImage = this.DragonImage;

            point = new Point(24, 72);
            dragonImage.Location  = point;
            this.DragonImage.Name = "DragonImage";
            TextBox dragonImage1 = this.DragonImage;

            size = new System.Drawing.Size(104, 20);
            dragonImage1.Size         = size;
            this.DragonImage.TabIndex = 3;
            this.DragonImage.Text     = "";
            this.GroupBox1.Controls.Add(this.Label3);
            this.GroupBox1.Controls.Add(this.Label1);
            this.GroupBox1.Controls.Add(this.DragonPath);
            this.GroupBox1.Controls.Add(this.DragonImage);
            this.GroupBox1.Controls.Add(this.Label2);
            this.GroupBox1.Controls.Add(this.ComboBox1);
            GroupBox groupBox1 = this.GroupBox1;

            point = new Point(8, 8);
            groupBox1.Location  = point;
            this.GroupBox1.Name = "GroupBox1";
            GroupBox groupBox = this.GroupBox1;

            size                    = new System.Drawing.Size(272, 144);
            groupBox.Size           = size;
            this.GroupBox1.TabIndex = 4;
            this.GroupBox1.TabStop  = false;
            this.GroupBox1.Text     = "Dragon Image Info";
            this.Label3.AutoSize    = true;
            Label label3 = this.Label3;

            point            = new Point(8, 96);
            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label31 = this.Label3;

            size                 = new System.Drawing.Size(93, 16);
            label31.Size         = size;
            this.Label3.TabIndex = 4;
            this.Label3.Text     = "Select MOD Type";
            ComboBox comboBox1 = this.ComboBox1;

            point = new Point(24, 112);
            comboBox1.Location  = point;
            this.ComboBox1.Name = "ComboBox1";
            ComboBox comboBox = this.ComboBox1;

            size                    = new System.Drawing.Size(136, 21);
            comboBox.Size           = size;
            this.ComboBox1.TabIndex = 7;
            this.GroupBox2.Controls.Add(this.Label4);
            this.GroupBox2.Controls.Add(this.ProjectPath);
            this.GroupBox2.Controls.Add(this.Label5);
            this.GroupBox2.Controls.Add(this.ProjectName);
            this.GroupBox2.Controls.Add(this.Label7);
            this.GroupBox2.Controls.Add(this.TerrainFile);
            this.GroupBox2.Controls.Add(this.Label6);
            this.GroupBox2.Controls.Add(this.AltitudeFile);
            GroupBox groupBox2 = this.GroupBox2;

            point = new Point(8, 160);
            groupBox2.Location  = point;
            this.GroupBox2.Name = "GroupBox2";
            GroupBox groupBox21 = this.GroupBox2;

            size                    = new System.Drawing.Size(272, 184);
            groupBox21.Size         = size;
            this.GroupBox2.TabIndex = 5;
            this.GroupBox2.TabStop  = false;
            this.GroupBox2.Text     = "UO Landscaper Info";
            this.Label4.AutoSize    = true;
            Label label4 = this.Label4;

            point            = new Point(8, 16);
            label4.Location  = point;
            this.Label4.Name = "Label4";
            Label label41 = this.Label4;

            size                 = new System.Drawing.Size(31, 16);
            label41.Size         = size;
            this.Label4.TabIndex = 35;
            this.Label4.Text     = "Path:";
            TextBox projectPath = this.ProjectPath;

            point = new Point(24, 32);
            projectPath.Location  = point;
            this.ProjectPath.Name = "ProjectPath";
            TextBox projectPath1 = this.ProjectPath;

            size = new System.Drawing.Size(240, 20);
            projectPath1.Size         = size;
            this.ProjectPath.TabIndex = 34;
            this.ProjectPath.Text     = "";
            this.Label5.AutoSize      = true;
            Label label5 = this.Label5;

            point            = new Point(8, 56);
            label5.Location  = point;
            this.Label5.Name = "Label5";
            Label label51 = this.Label5;

            size                 = new System.Drawing.Size(73, 16);
            label51.Size         = size;
            this.Label5.TabIndex = 51;
            this.Label5.Text     = "Project Name";
            TextBox projectName = this.ProjectName;

            point = new Point(24, 72);
            projectName.Location  = point;
            this.ProjectName.Name = "ProjectName";
            TextBox projectName1 = this.ProjectName;

            size = new System.Drawing.Size(136, 20);
            projectName1.Size         = size;
            this.ProjectName.TabIndex = 52;
            this.ProjectName.Text     = "";
            this.Label7.AutoSize      = true;
            Label label7 = this.Label7;

            point                = new Point(8, 96);
            label7.Location      = point;
            this.Label7.Name     = "Label7";
            this.Label7.TabIndex = 57;
            this.Label7.Text     = "Terrain Image Map";
            TextBox terrainFile = this.TerrainFile;

            point = new Point(24, 112);
            terrainFile.Location  = point;
            this.TerrainFile.Name = "TerrainFile";
            TextBox terrainFile1 = this.TerrainFile;

            size = new System.Drawing.Size(104, 20);
            terrainFile1.Size         = size;
            this.TerrainFile.TabIndex = 54;
            this.TerrainFile.Text     = "Terrain.bmp";
            this.Label6.AutoSize      = true;
            Label label6 = this.Label6;

            point            = new Point(8, 136);
            label6.Location  = point;
            this.Label6.Name = "Label6";
            Label label61 = this.Label6;

            size                 = new System.Drawing.Size(102, 16);
            label61.Size         = size;
            this.Label6.TabIndex = 58;
            this.Label6.Text     = "Altitude Image Map";
            TextBox altitudeFile = this.AltitudeFile;

            point = new Point(24, 152);
            altitudeFile.Location  = point;
            this.AltitudeFile.Name = "AltitudeFile";
            TextBox altitudeFile1 = this.AltitudeFile;

            size = new System.Drawing.Size(104, 20);
            altitudeFile1.Size         = size;
            this.AltitudeFile.TabIndex = 56;
            this.AltitudeFile.Text     = "Altitude.bmp";
            this.ProgressBar1.Dock     = DockStyle.Bottom;
            ProgressBar progressBar1 = this.ProgressBar1;

            point = new Point(0, 351);
            progressBar1.Location  = point;
            this.ProgressBar1.Name = "ProgressBar1";
            ProgressBar progressBar = this.ProgressBar1;

            size                       = new System.Drawing.Size(286, 16);
            progressBar.Size           = size;
            this.ProgressBar1.TabIndex = 6;
            size                       = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize     = size;
            this.BackColor             = Color.FromArgb(224, 224, 224);
            size                       = new System.Drawing.Size(286, 367);
            this.ClientSize            = size;
            this.Controls.Add(this.ProgressBar1);
            this.Controls.Add(this.GroupBox2);
            this.Controls.Add(this.GroupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Menu            = this.MainMenu1;
            this.Name            = "DragonConv";
            this.Text            = "Dragon to UO Landscaper Image Convertor";
            this.GroupBox1.ResumeLayout(false);
            this.GroupBox2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
        private void InitializeComponent()
        {
            this.MainMenu1     = new MainMenu();
            this.MenuPath      = new MenuItem();
            this.MenuMake      = new MenuItem();
            this.MenuItem1     = new MenuItem();
            this.MenuStaticON  = new MenuItem();
            this.MenuStaticOFF = new MenuItem();
            this.Label1        = new Label();
            this.Label3        = new Label();
            this.Label2        = new Label();
            this.AltitudeFile  = new TextBox();
            this.TerrainFile   = new TextBox();
            this.ProjectPath   = new TextBox();
            this.ProgressBar1  = new ProgressBar();
            this.SuspendLayout();
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuPath = new MenuItem[] { this.MenuPath, this.MenuMake, this.MenuItem1 };
            menuItems.AddRange(menuPath);
            this.MenuPath.Index  = 0;
            this.MenuPath.Text   = "Path";
            this.MenuMake.Index  = 1;
            this.MenuMake.Text   = "Make UO Map";
            this.MenuItem1.Index = 2;
            System.Windows.Forms.Menu.MenuItemCollection menuItemCollections = this.MenuItem1.MenuItems;
            menuPath = new MenuItem[] { this.MenuStaticON, this.MenuStaticOFF };
            menuItemCollections.AddRange(menuPath);
            this.MenuItem1.Text      = "Static";
            this.MenuStaticON.Index  = 0;
            this.MenuStaticON.Text   = "Random Static On";
            this.MenuStaticOFF.Index = 1;
            this.MenuStaticOFF.Text  = "Random Static Off";
            this.Label1.AutoSize     = true;
            Label label1 = this.Label1;
            Point point  = new Point(8, 8);

            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label = this.Label1;

            System.Drawing.Size size = new System.Drawing.Size(27, 16);
            label.Size           = size;
            this.Label1.TabIndex = 22;
            this.Label1.Text     = "Path";
            this.Label3.AutoSize = true;
            Label label3 = this.Label3;

            point            = new Point(392, 8);
            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label31 = this.Label3;

            size                 = new System.Drawing.Size(102, 16);
            label31.Size         = size;
            this.Label3.TabIndex = 21;
            this.Label3.Text     = "Altitude Image Map";
            this.Label2.AutoSize = true;
            Label label2 = this.Label2;

            point                = new Point(280, 8);
            label2.Location      = point;
            this.Label2.Name     = "Label2";
            this.Label2.TabIndex = 20;
            this.Label2.Text     = "Terrain Image Map";
            TextBox altitudeFile = this.AltitudeFile;

            point = new Point(392, 24);
            altitudeFile.Location  = point;
            this.AltitudeFile.Name = "AltitudeFile";
            TextBox textBox = this.AltitudeFile;

            size         = new System.Drawing.Size(104, 20);
            textBox.Size = size;
            this.AltitudeFile.TabIndex = 19;
            this.AltitudeFile.Text     = "Altitude.bmp";
            TextBox terrainFile = this.TerrainFile;

            point = new Point(280, 24);
            terrainFile.Location  = point;
            this.TerrainFile.Name = "TerrainFile";
            TextBox terrainFile1 = this.TerrainFile;

            size = new System.Drawing.Size(104, 20);
            terrainFile1.Size         = size;
            this.TerrainFile.TabIndex = 18;
            this.TerrainFile.Text     = "Terrain.bmp";
            TextBox projectPath = this.ProjectPath;

            point = new Point(8, 24);
            projectPath.Location  = point;
            this.ProjectPath.Name = "ProjectPath";
            TextBox projectPath1 = this.ProjectPath;

            size = new System.Drawing.Size(264, 20);
            projectPath1.Size         = size;
            this.ProjectPath.TabIndex = 17;
            this.ProjectPath.Text     = "";
            this.ProgressBar1.Dock    = DockStyle.Bottom;
            ProgressBar progressBar1 = this.ProgressBar1;

            point = new Point(0, 57);
            progressBar1.Location  = point;
            this.ProgressBar1.Name = "ProgressBar1";
            ProgressBar progressBar = this.ProgressBar1;

            size                       = new System.Drawing.Size(504, 16);
            progressBar.Size           = size;
            this.ProgressBar1.TabIndex = 23;
            size                       = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize     = size;
            size                       = new System.Drawing.Size(504, 73);
            this.ClientSize            = size;
            this.Controls.Add(this.ProgressBar1);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.AltitudeFile);
            this.Controls.Add(this.TerrainFile);
            this.Controls.Add(this.ProjectPath);
            this.Menu = this.MainMenu1;
            this.Name = "UOMapMake";
            this.Text = "Ultima Online Map Making Utility";
            this.ResumeLayout(false);
        }
        private void InitializeComponent()
        {
            this.Label3       = new Label();
            this.Label2       = new Label();
            this.AltitudeFile = new TextBox();
            this.TerrainFile  = new TextBox();
            this.ProjectPath  = new TextBox();
            this.MainMenu1    = new MainMenu();
            this.MenuPath     = new MenuItem();
            this.MenuMake     = new MenuItem();
            this.Label1       = new Label();
            this.ProgressBar1 = new ProgressBar();
            this.SuspendLayout();
            this.Label3.AutoSize = true;
            Label label3 = this.Label3;
            Point point  = new Point(392, 8);

            label3.Location  = point;
            this.Label3.Name = "Label3";
            Label label = this.Label3;

            System.Drawing.Size size = new System.Drawing.Size(102, 16);
            label.Size           = size;
            this.Label3.TabIndex = 15;
            this.Label3.Text     = "Altitude Image Map";
            this.Label2.AutoSize = true;
            Label label2 = this.Label2;

            point                = new Point(280, 8);
            label2.Location      = point;
            this.Label2.Name     = "Label2";
            this.Label2.TabIndex = 14;
            this.Label2.Text     = "Terrain Image Map";
            TextBox altitudeFile = this.AltitudeFile;

            point = new Point(392, 24);
            altitudeFile.Location  = point;
            this.AltitudeFile.Name = "AltitudeFile";
            TextBox textBox = this.AltitudeFile;

            size         = new System.Drawing.Size(104, 20);
            textBox.Size = size;
            this.AltitudeFile.TabIndex = 11;
            this.AltitudeFile.Text     = "Altitude.bmp";
            TextBox terrainFile = this.TerrainFile;

            point = new Point(280, 24);
            terrainFile.Location  = point;
            this.TerrainFile.Name = "TerrainFile";
            TextBox terrainFile1 = this.TerrainFile;

            size = new System.Drawing.Size(104, 20);
            terrainFile1.Size         = size;
            this.TerrainFile.TabIndex = 10;
            this.TerrainFile.Text     = "Terrain.bmp";
            TextBox projectPath = this.ProjectPath;

            point = new Point(8, 24);
            projectPath.Location  = point;
            this.ProjectPath.Name = "ProjectPath";
            TextBox projectPath1 = this.ProjectPath;

            size = new System.Drawing.Size(264, 20);
            projectPath1.Size         = size;
            this.ProjectPath.TabIndex = 8;
            this.ProjectPath.Text     = "";
            System.Windows.Forms.Menu.MenuItemCollection menuItems = this.MainMenu1.MenuItems;
            MenuItem[] menuPath = new MenuItem[] { this.MenuPath, this.MenuMake };
            menuItems.AddRange(menuPath);
            this.MenuPath.Index  = 0;
            this.MenuPath.Text   = "Path";
            this.MenuMake.Index  = 1;
            this.MenuMake.Text   = "Make Altitude Image";
            this.Label1.AutoSize = true;
            Label label1 = this.Label1;

            point            = new Point(8, 8);
            label1.Location  = point;
            this.Label1.Name = "Label1";
            Label label11 = this.Label1;

            size                   = new System.Drawing.Size(27, 16);
            label11.Size           = size;
            this.Label1.TabIndex   = 16;
            this.Label1.Text       = "Path";
            this.ProgressBar1.Dock = DockStyle.Bottom;
            ProgressBar progressBar1 = this.ProgressBar1;

            point = new Point(0, 55);
            progressBar1.Location  = point;
            this.ProgressBar1.Name = "ProgressBar1";
            ProgressBar progressBar = this.ProgressBar1;

            size                       = new System.Drawing.Size(502, 16);
            progressBar.Size           = size;
            this.ProgressBar1.Step     = 1;
            this.ProgressBar1.TabIndex = 17;
            size                       = new System.Drawing.Size(5, 13);
            this.AutoScaleBaseSize     = size;
            this.BackColor             = Color.FromArgb(224, 224, 224);
            size                       = new System.Drawing.Size(502, 71);
            this.ClientSize            = size;
            this.Controls.Add(this.ProgressBar1);
            this.Controls.Add(this.Label1);
            this.Controls.Add(this.Label3);
            this.Controls.Add(this.Label2);
            this.Controls.Add(this.AltitudeFile);
            this.Controls.Add(this.TerrainFile);
            this.Controls.Add(this.ProjectPath);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
            this.Menu            = this.MainMenu1;
            this.Name            = "AltImagePrep";
            this.Text            = "UO Altitude Map Set";
            this.ResumeLayout(false);
        }