Beispiel #1
0
		/// <summary>
		/// Creates a new MapViewInfo object with default values
		/// </summary>
		/// <param name="viewer">The MapViewer owner of this view</param>
		public MapViewInfo( MapViewer viewer )
		{
			m_Map = Maps.Felucca;
			m_ControlSize = new Size( 20, 20 );
			m_Center = new Point( 0, 0 );
			m_ZoomLevel = 0;
			m_Viewer = viewer;

			Calculate();
		}
Beispiel #2
0
        /// <summary>
        /// Creates a new MapViewInfo object with default values
        /// </summary>
        /// <param name="viewer">The MapViewer owner of this view</param>
        public MapViewInfo(MapViewer viewer)
        {
            m_Map         = Maps.Felucca;
            m_ControlSize = new Size(20, 20);
            m_Center      = new Point(0, 0);
            m_ZoomLevel   = 0;
            m_Viewer      = viewer;

            Calculate();
        }
Beispiel #3
0
		/// <summary>
		/// Creates a new MapViewInfo object
		/// </summary>
		/// <param name="map">The map currently displayed</param>
		/// <param name="controlSize">The size of the control</param>
		/// <param name="center">The location of the center of the control</param>
		/// <param name="zoomLevel">The current zoom level</param>
		/// <param name="viewer">The MapViewer owner of this view</param>
		public MapViewInfo( Maps map, Size controlSize, Point center, int zoomLevel, MapViewer viewer )
		{
			m_Map = map;
			m_ControlSize = controlSize;
			m_Center = center;
			m_ZoomLevel = zoomLevel;
			m_Viewer = viewer;

			Calculate();
		}
Beispiel #4
0
        /// <summary>
        /// Creates a new MapViewInfo object
        /// </summary>
        /// <param name="map">The map currently displayed</param>
        /// <param name="controlSize">The size of the control</param>
        /// <param name="center">The location of the center of the control</param>
        /// <param name="zoomLevel">The current zoom level</param>
        /// <param name="viewer">The MapViewer owner of this view</param>
        public MapViewInfo(Maps map, Size controlSize, Point center, int zoomLevel, MapViewer viewer)
        {
            m_Map         = map;
            m_ControlSize = controlSize;
            m_Center      = center;
            m_ZoomLevel   = zoomLevel;
            m_Viewer      = viewer;

            Calculate();
        }
Beispiel #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TravelAgentForm));
     this.mMain          = new System.Windows.Forms.MainMenu();
     this.menuItem1      = new System.Windows.Forms.MenuItem();
     this.miNew          = new System.Windows.Forms.MenuItem();
     this.miOpen         = new System.Windows.Forms.MenuItem();
     this.miMerge        = new System.Windows.Forms.MenuItem();
     this.miSave         = new System.Windows.Forms.MenuItem();
     this.menuItem7      = new System.Windows.Forms.MenuItem();
     this.menuItem4      = new System.Windows.Forms.MenuItem();
     this.miImport       = new System.Windows.Forms.MenuItem();
     this.menuItem9      = new System.Windows.Forms.MenuItem();
     this.miExit         = new System.Windows.Forms.MenuItem();
     this.tCat           = new System.Windows.Forms.TreeView();
     this.cmCat          = new System.Windows.Forms.ContextMenu();
     this.miCatRename    = new System.Windows.Forms.MenuItem();
     this.miCatDelete    = new System.Windows.Forms.MenuItem();
     this.tLoc           = new System.Windows.Forms.TreeView();
     this.cmLoc          = new System.Windows.Forms.ContextMenu();
     this.miLocRename    = new System.Windows.Forms.MenuItem();
     this.miLocDelete    = new System.Windows.Forms.MenuItem();
     this.menuItem2      = new System.Windows.Forms.MenuItem();
     this.miLocUpdate    = new System.Windows.Forms.MenuItem();
     this.miUpdateClient = new System.Windows.Forms.MenuItem();
     this.miUpdateMap    = new System.Windows.Forms.MenuItem();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.txCat          = new System.Windows.Forms.TextBox();
     this.txLoc          = new System.Windows.Forms.TextBox();
     this.bAddCat        = new System.Windows.Forms.Button();
     this.bAddLoc        = new System.Windows.Forms.Button();
     this.m_Map          = new TheBox.MapViewer.MapViewer();
     this.label3         = new System.Windows.Forms.Label();
     this.lnk0           = new System.Windows.Forms.LinkLabel();
     this.lnk1           = new System.Windows.Forms.LinkLabel();
     this.lnk2           = new System.Windows.Forms.LinkLabel();
     this.lnk3           = new System.Windows.Forms.LinkLabel();
     this.rClient        = new System.Windows.Forms.RadioButton();
     this.rMap           = new System.Windows.Forms.RadioButton();
     this.rManually      = new System.Windows.Forms.RadioButton();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.grpPoint       = new System.Windows.Forms.GroupBox();
     this.label6         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.nZ             = new System.Windows.Forms.NumericUpDown();
     this.nY             = new System.Windows.Forms.NumericUpDown();
     this.nX             = new System.Windows.Forms.NumericUpDown();
     this.label4         = new System.Windows.Forms.Label();
     this.BrowseFolder   = new System.Windows.Forms.FolderBrowserDialog();
     this.OpenFile       = new System.Windows.Forms.OpenFileDialog();
     this.lnk4           = new System.Windows.Forms.LinkLabel();
     this.groupBox1.SuspendLayout();
     this.grpPoint.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nZ)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
     this.SuspendLayout();
     //
     // mMain
     //
     this.mMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miNew,
         this.miOpen,
         this.miMerge,
         this.miSave,
         this.menuItem7,
         this.menuItem4,
         this.menuItem9,
         this.miExit
     });
     this.menuItem1.Text   = "File";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // miNew
     //
     this.miNew.Index  = 0;
     this.miNew.Text   = "New";
     this.miNew.Click += new System.EventHandler(this.miNew_Click);
     //
     // miOpen
     //
     this.miOpen.Index  = 1;
     this.miOpen.Text   = "Open";
     this.miOpen.Click += new System.EventHandler(this.miOpen_Click);
     //
     // miMerge
     //
     this.miMerge.Index  = 2;
     this.miMerge.Text   = "Merge";
     this.miMerge.Click += new System.EventHandler(this.miMerge_Click);
     //
     // miSave
     //
     this.miSave.Index  = 3;
     this.miSave.Text   = "Save";
     this.miSave.Click += new System.EventHandler(this.miSave_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 4;
     this.menuItem7.Text  = "-";
     //
     // menuItem4
     //
     this.menuItem4.Index = 5;
     this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miImport
     });
     this.menuItem4.Text = "Import";
     //
     // miImport
     //
     this.miImport.Index  = 0;
     this.miImport.Text   = "Pandora\'s Box 1";
     this.miImport.Click += new System.EventHandler(this.miImport_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 6;
     this.menuItem9.Text  = "-";
     //
     // miExit
     //
     this.miExit.Index  = 7;
     this.miExit.Text   = "Exit";
     this.miExit.Click += new System.EventHandler(this.miExit_Click);
     //
     // tCat
     //
     this.tCat.ContextMenu        = this.cmCat;
     this.tCat.HideSelection      = false;
     this.tCat.ImageIndex         = -1;
     this.tCat.LabelEdit          = true;
     this.tCat.Location           = new System.Drawing.Point(4, 16);
     this.tCat.Name               = "tCat";
     this.tCat.SelectedImageIndex = -1;
     this.tCat.Size               = new System.Drawing.Size(132, 192);
     this.tCat.Sorted             = true;
     this.tCat.TabIndex           = 0;
     this.tCat.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.tCat_AfterSelect);
     //
     // cmCat
     //
     this.cmCat.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miCatRename,
         this.miCatDelete
     });
     this.cmCat.Popup += new System.EventHandler(this.cmCat_Popup);
     //
     // miCatRename
     //
     this.miCatRename.Index  = 0;
     this.miCatRename.Text   = "Rename";
     this.miCatRename.Click += new System.EventHandler(this.miCatRename_Click);
     //
     // miCatDelete
     //
     this.miCatDelete.Index  = 1;
     this.miCatDelete.Text   = "Delete";
     this.miCatDelete.Click += new System.EventHandler(this.miCatDelete_Click);
     //
     // tLoc
     //
     this.tLoc.ContextMenu        = this.cmLoc;
     this.tLoc.HideSelection      = false;
     this.tLoc.ImageIndex         = -1;
     this.tLoc.LabelEdit          = true;
     this.tLoc.Location           = new System.Drawing.Point(140, 16);
     this.tLoc.Name               = "tLoc";
     this.tLoc.SelectedImageIndex = -1;
     this.tLoc.ShowLines          = false;
     this.tLoc.ShowPlusMinus      = false;
     this.tLoc.ShowRootLines      = false;
     this.tLoc.Size               = new System.Drawing.Size(128, 192);
     this.tLoc.Sorted             = true;
     this.tLoc.TabIndex           = 2;
     this.tLoc.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.tLoc_AfterSelect);
     this.tLoc.AfterLabelEdit    += new System.Windows.Forms.NodeLabelEditEventHandler(this.tLoc_AfterLabelEdit);
     //
     // cmLoc
     //
     this.cmLoc.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miLocRename,
         this.miLocDelete,
         this.menuItem2,
         this.miLocUpdate
     });
     this.cmLoc.Popup += new System.EventHandler(this.cmLoc_Popup);
     //
     // miLocRename
     //
     this.miLocRename.Index  = 0;
     this.miLocRename.Text   = "Rename";
     this.miLocRename.Click += new System.EventHandler(this.miLocRename_Click);
     //
     // miLocDelete
     //
     this.miLocDelete.Index  = 1;
     this.miLocDelete.Text   = "Delete";
     this.miLocDelete.Click += new System.EventHandler(this.miLocDelete_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 2;
     this.menuItem2.Text  = "-";
     //
     // miLocUpdate
     //
     this.miLocUpdate.Index = 3;
     this.miLocUpdate.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miUpdateClient,
         this.miUpdateMap
     });
     this.miLocUpdate.Text = "Update Location";
     //
     // miUpdateClient
     //
     this.miUpdateClient.Index  = 0;
     this.miUpdateClient.Text   = "From the Client";
     this.miUpdateClient.Click += new System.EventHandler(this.miUpdateClient_Click);
     //
     // miUpdateMap
     //
     this.miUpdateMap.Index  = 1;
     this.miUpdateMap.Text   = "From the Map";
     this.miUpdateMap.Click += new System.EventHandler(this.miUpdateMap_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(136, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(100, 14);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Locations";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(64, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Categories";
     //
     // txCat
     //
     this.txCat.Location     = new System.Drawing.Point(4, 212);
     this.txCat.Name         = "txCat";
     this.txCat.Size         = new System.Drawing.Size(132, 20);
     this.txCat.TabIndex     = 4;
     this.txCat.Text         = "";
     this.txCat.TextChanged += new System.EventHandler(this.txCat_TextChanged);
     this.txCat.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.txCat_KeyUp);
     //
     // txLoc
     //
     this.txLoc.Location     = new System.Drawing.Point(140, 212);
     this.txLoc.Name         = "txLoc";
     this.txLoc.Size         = new System.Drawing.Size(128, 20);
     this.txLoc.TabIndex     = 5;
     this.txLoc.Text         = "";
     this.txLoc.TextChanged += new System.EventHandler(this.txLoc_TextChanged);
     this.txLoc.KeyUp       += new System.Windows.Forms.KeyEventHandler(this.txLoc_KeyUp);
     //
     // bAddCat
     //
     this.bAddCat.Enabled   = false;
     this.bAddCat.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bAddCat.Location  = new System.Drawing.Point(92, 236);
     this.bAddCat.Name      = "bAddCat";
     this.bAddCat.Size      = new System.Drawing.Size(44, 23);
     this.bAddCat.TabIndex  = 6;
     this.bAddCat.Text      = "Add";
     this.bAddCat.Click    += new System.EventHandler(this.bAddCat_Click);
     //
     // bAddLoc
     //
     this.bAddLoc.Enabled   = false;
     this.bAddLoc.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bAddLoc.Location  = new System.Drawing.Point(216, 236);
     this.bAddLoc.Name      = "bAddLoc";
     this.bAddLoc.Size      = new System.Drawing.Size(52, 23);
     this.bAddLoc.TabIndex  = 7;
     this.bAddLoc.Text      = "Add";
     this.bAddLoc.Click    += new System.EventHandler(this.bAddLoc_Click);
     //
     // m_Map
     //
     this.m_Map.Center        = new System.Drawing.Point(0, 0);
     this.m_Map.DisplayErrors = true;
     this.m_Map.DrawStatics   = true;
     this.m_Map.Location      = new System.Drawing.Point(272, 16);
     this.m_Map.Map           = TheBox.MapViewer.Maps.Felucca;
     this.m_Map.Name          = "m_Map";
     this.m_Map.Navigation    = TheBox.MapViewer.MapNavigation.None;
     this.m_Map.RotateView    = false;
     this.m_Map.ShowCross     = true;
     this.m_Map.Size          = new System.Drawing.Size(192, 192);
     this.m_Map.TabIndex      = 8;
     this.m_Map.Text          = "mapViewer1";
     this.m_Map.WheelZoom     = false;
     this.m_Map.XRayView      = false;
     this.m_Map.ZoomLevel     = 0;
     this.m_Map.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.m_Map_MouseDown);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(272, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(60, 16);
     this.label3.TabIndex = 9;
     this.label3.Text     = "View Map:";
     //
     // lnk0
     //
     this.lnk0.Location     = new System.Drawing.Point(332, 0);
     this.lnk0.Name         = "lnk0";
     this.lnk0.Size         = new System.Drawing.Size(16, 16);
     this.lnk0.TabIndex     = 10;
     this.lnk0.TabStop      = true;
     this.lnk0.Text         = "0";
     this.lnk0.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk0_LinkClicked);
     //
     // lnk1
     //
     this.lnk1.Location     = new System.Drawing.Point(356, 0);
     this.lnk1.Name         = "lnk1";
     this.lnk1.Size         = new System.Drawing.Size(16, 16);
     this.lnk1.TabIndex     = 11;
     this.lnk1.TabStop      = true;
     this.lnk1.Text         = "1";
     this.lnk1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk1_LinkClicked);
     //
     // lnk2
     //
     this.lnk2.Location     = new System.Drawing.Point(380, 0);
     this.lnk2.Name         = "lnk2";
     this.lnk2.Size         = new System.Drawing.Size(16, 16);
     this.lnk2.TabIndex     = 12;
     this.lnk2.TabStop      = true;
     this.lnk2.Text         = "2";
     this.lnk2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk2_LinkClicked);
     //
     // lnk3
     //
     this.lnk3.Location     = new System.Drawing.Point(404, 0);
     this.lnk3.Name         = "lnk3";
     this.lnk3.Size         = new System.Drawing.Size(16, 16);
     this.lnk3.TabIndex     = 13;
     this.lnk3.TabStop      = true;
     this.lnk3.Text         = "3";
     this.lnk3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk3_LinkClicked);
     //
     // rClient
     //
     this.rClient.Checked   = true;
     this.rClient.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rClient.Location  = new System.Drawing.Point(8, 20);
     this.rClient.Name      = "rClient";
     this.rClient.Size      = new System.Drawing.Size(164, 16);
     this.rClient.TabIndex  = 14;
     this.rClient.TabStop   = true;
     this.rClient.Text      = "Get location from the client";
     //
     // rMap
     //
     this.rMap.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rMap.Location  = new System.Drawing.Point(8, 40);
     this.rMap.Name      = "rMap";
     this.rMap.Size      = new System.Drawing.Size(164, 16);
     this.rMap.TabIndex  = 15;
     this.rMap.Text      = "Get location from the map";
     //
     // rManually
     //
     this.rManually.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rManually.Location  = new System.Drawing.Point(8, 60);
     this.rManually.Name      = "rManually";
     this.rManually.Size      = new System.Drawing.Size(164, 16);
     this.rManually.TabIndex  = 16;
     this.rManually.Text      = "Set location manually";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rManually);
     this.groupBox1.Controls.Add(this.rMap);
     this.groupBox1.Controls.Add(this.rClient);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(272, 212);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(192, 84);
     this.groupBox1.TabIndex  = 17;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "When adding new locations:";
     //
     // grpPoint
     //
     this.grpPoint.Controls.Add(this.label6);
     this.grpPoint.Controls.Add(this.label5);
     this.grpPoint.Controls.Add(this.nZ);
     this.grpPoint.Controls.Add(this.nY);
     this.grpPoint.Controls.Add(this.nX);
     this.grpPoint.Controls.Add(this.label4);
     this.grpPoint.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grpPoint.Location  = new System.Drawing.Point(4, 260);
     this.grpPoint.Name      = "grpPoint";
     this.grpPoint.Size      = new System.Drawing.Size(264, 36);
     this.grpPoint.TabIndex  = 18;
     this.grpPoint.TabStop   = false;
     this.grpPoint.Text      = "Point Edit";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(184, 16);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(17, 14);
     this.label6.TabIndex = 21;
     this.label6.Text     = "Z";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(96, 16);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(17, 14);
     this.label5.TabIndex = 20;
     this.label5.Text     = "Y";
     //
     // nZ
     //
     this.nZ.Location = new System.Drawing.Point(204, 12);
     this.nZ.Maximum  = new System.Decimal(new int[] {
         127,
         0,
         0,
         0
     });
     this.nZ.Minimum = new System.Decimal(new int[] {
         127,
         0,
         0,
         -2147483648
     });
     this.nZ.Name          = "nZ";
     this.nZ.Size          = new System.Drawing.Size(52, 20);
     this.nZ.TabIndex      = 2;
     this.nZ.ValueChanged += new System.EventHandler(this.nZ_ValueChanged);
     //
     // nY
     //
     this.nY.Location = new System.Drawing.Point(116, 12);
     this.nY.Maximum  = new System.Decimal(new int[] {
         5000,
         0,
         0,
         0
     });
     this.nY.Name          = "nY";
     this.nY.Size          = new System.Drawing.Size(52, 20);
     this.nY.TabIndex      = 1;
     this.nY.ValueChanged += new System.EventHandler(this.nY_ValueChanged);
     //
     // nX
     //
     this.nX.Location = new System.Drawing.Point(28, 12);
     this.nX.Maximum  = new System.Decimal(new int[] {
         6500,
         0,
         0,
         0
     });
     this.nX.Name          = "nX";
     this.nX.Size          = new System.Drawing.Size(52, 20);
     this.nX.TabIndex      = 0;
     this.nX.ValueChanged += new System.EventHandler(this.nX_ValueChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 16);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(17, 14);
     this.label4.TabIndex = 19;
     this.label4.Text     = "X";
     //
     // OpenFile
     //
     this.OpenFile.Filter = "Xml Files (*.xml)|*.xml";
     //
     // lnk4
     //
     this.lnk4.Location     = new System.Drawing.Point(428, 0);
     this.lnk4.Name         = "lnk4";
     this.lnk4.Size         = new System.Drawing.Size(16, 16);
     this.lnk4.TabIndex     = 19;
     this.lnk4.TabStop      = true;
     this.lnk4.Text         = "4";
     this.lnk4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk4_LinkClicked);
     //
     // TravelAgentForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 298);
     this.Controls.Add(this.lnk4);
     this.Controls.Add(this.grpPoint);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.lnk3);
     this.Controls.Add(this.lnk2);
     this.Controls.Add(this.lnk1);
     this.Controls.Add(this.lnk0);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.m_Map);
     this.Controls.Add(this.bAddLoc);
     this.Controls.Add(this.bAddCat);
     this.Controls.Add(this.txLoc);
     this.Controls.Add(this.txCat);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.tLoc);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tCat);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Menu            = this.mMain;
     this.Name            = "TravelAgentForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Travel Agent for Pandora\'s Box";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.TravelAgentForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.grpPoint.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.nZ)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.tCat            = new System.Windows.Forms.TreeView();
     this.tLoc            = new System.Windows.Forms.TreeView();
     this.txNewCat        = new System.Windows.Forms.TextBox();
     this.txNewLoc        = new System.Windows.Forms.TextBox();
     this.bAddCat         = new System.Windows.Forms.Button();
     this.bAddLoc         = new System.Windows.Forms.Button();
     this.bSetCoordinates = new System.Windows.Forms.Button();
     this.nX          = new System.Windows.Forms.NumericUpDown();
     this.nY          = new System.Windows.Forms.NumericUpDown();
     this.nZ          = new System.Windows.Forms.NumericUpDown();
     this.bTest       = new System.Windows.Forms.Button();
     this.mMain       = new System.Windows.Forms.MainMenu();
     this.mFile       = new System.Windows.Forms.MenuItem();
     this.miFileNew   = new System.Windows.Forms.MenuItem();
     this.miFileOpen  = new System.Windows.Forms.MenuItem();
     this.miFileSave  = new System.Windows.Forms.MenuItem();
     this.menuItem5   = new System.Windows.Forms.MenuItem();
     this.miFileExit  = new System.Windows.Forms.MenuItem();
     this.mMap        = new System.Windows.Forms.MenuItem();
     this.miMap0      = new System.Windows.Forms.MenuItem();
     this.miMap1      = new System.Windows.Forms.MenuItem();
     this.miMap2      = new System.Windows.Forms.MenuItem();
     this.miMap3      = new System.Windows.Forms.MenuItem();
     this.Map         = new TheBox.MapViewer.MapViewer();
     this.bFromClient = new System.Windows.Forms.Button();
     this.bCalibrate  = new System.Windows.Forms.Button();
     this.OpenFile    = new System.Windows.Forms.OpenFileDialog();
     this.SaveFile    = new System.Windows.Forms.SaveFileDialog();
     this.cmMap       = new System.Windows.Forms.ContextMenu();
     this.miZoomIn    = new System.Windows.Forms.MenuItem();
     this.miZoomOut   = new System.Windows.Forms.MenuItem();
     this.menuItem1   = new System.Windows.Forms.MenuItem();
     this.menuItem2   = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nZ)).BeginInit();
     this.SuspendLayout();
     //
     // tCat
     //
     this.tCat.ImageIndex         = -1;
     this.tCat.LabelEdit          = true;
     this.tCat.Location           = new System.Drawing.Point(8, 8);
     this.tCat.Name               = "tCat";
     this.tCat.SelectedImageIndex = -1;
     this.tCat.Size               = new System.Drawing.Size(200, 336);
     this.tCat.Sorted             = true;
     this.tCat.TabIndex           = 0;
     this.tCat.KeyDown           += new System.Windows.Forms.KeyEventHandler(this.tCat_KeyDown);
     this.tCat.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.tCat_AfterSelect);
     this.tCat.BeforeSelect      += new System.Windows.Forms.TreeViewCancelEventHandler(this.tCat_BeforeSelect);
     //
     // tLoc
     //
     this.tLoc.ImageIndex         = -1;
     this.tLoc.LabelEdit          = true;
     this.tLoc.Location           = new System.Drawing.Point(216, 8);
     this.tLoc.Name               = "tLoc";
     this.tLoc.SelectedImageIndex = -1;
     this.tLoc.Size               = new System.Drawing.Size(200, 336);
     this.tLoc.Sorted             = true;
     this.tLoc.TabIndex           = 1;
     this.tLoc.KeyDown           += new System.Windows.Forms.KeyEventHandler(this.tLoc_KeyDown);
     this.tLoc.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.tLoc_AfterSelect);
     this.tLoc.BeforeSelect      += new System.Windows.Forms.TreeViewCancelEventHandler(this.tLoc_BeforeSelect);
     this.tLoc.AfterLabelEdit    += new System.Windows.Forms.NodeLabelEditEventHandler(this.tLoc_AfterLabelEdit);
     //
     // txNewCat
     //
     this.txNewCat.Location = new System.Drawing.Point(8, 352);
     this.txNewCat.Name     = "txNewCat";
     this.txNewCat.Size     = new System.Drawing.Size(136, 20);
     this.txNewCat.TabIndex = 3;
     this.txNewCat.Text     = "";
     this.txNewCat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txNewCat_KeyDown);
     //
     // txNewLoc
     //
     this.txNewLoc.Enabled  = false;
     this.txNewLoc.Location = new System.Drawing.Point(216, 352);
     this.txNewLoc.Name     = "txNewLoc";
     this.txNewLoc.Size     = new System.Drawing.Size(136, 20);
     this.txNewLoc.TabIndex = 4;
     this.txNewLoc.Text     = "";
     this.txNewLoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txNewLoc_KeyDown);
     //
     // bAddCat
     //
     this.bAddCat.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bAddCat.Location  = new System.Drawing.Point(152, 352);
     this.bAddCat.Name      = "bAddCat";
     this.bAddCat.Size      = new System.Drawing.Size(56, 23);
     this.bAddCat.TabIndex  = 5;
     this.bAddCat.Text      = "Add";
     this.bAddCat.Click    += new System.EventHandler(this.bAddCat_Click);
     //
     // bAddLoc
     //
     this.bAddLoc.Enabled   = false;
     this.bAddLoc.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bAddLoc.Location  = new System.Drawing.Point(360, 352);
     this.bAddLoc.Name      = "bAddLoc";
     this.bAddLoc.Size      = new System.Drawing.Size(56, 23);
     this.bAddLoc.TabIndex  = 6;
     this.bAddLoc.Text      = "Add";
     this.bAddLoc.Click    += new System.EventHandler(this.bAddLoc_Click);
     //
     // bSetCoordinates
     //
     this.bSetCoordinates.Enabled   = false;
     this.bSetCoordinates.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bSetCoordinates.Location  = new System.Drawing.Point(424, 328);
     this.bSetCoordinates.Name      = "bSetCoordinates";
     this.bSetCoordinates.Size      = new System.Drawing.Size(288, 23);
     this.bSetCoordinates.TabIndex  = 7;
     this.bSetCoordinates.Text      = "Set as value for the current location";
     this.bSetCoordinates.Click    += new System.EventHandler(this.bSetCoordinates_Click);
     //
     // nX
     //
     this.nX.Enabled  = false;
     this.nX.Location = new System.Drawing.Point(504, 8);
     this.nX.Maximum  = new System.Decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nX.Name          = "nX";
     this.nX.Size          = new System.Drawing.Size(64, 20);
     this.nX.TabIndex      = 8;
     this.nX.ValueChanged += new System.EventHandler(this.nX_ValueChanged);
     //
     // nY
     //
     this.nY.Enabled  = false;
     this.nY.Location = new System.Drawing.Point(576, 8);
     this.nY.Maximum  = new System.Decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nY.Name          = "nY";
     this.nY.Size          = new System.Drawing.Size(64, 20);
     this.nY.TabIndex      = 9;
     this.nY.ValueChanged += new System.EventHandler(this.nY_ValueChanged);
     //
     // nZ
     //
     this.nZ.Enabled  = false;
     this.nZ.Location = new System.Drawing.Point(648, 8);
     this.nZ.Maximum  = new System.Decimal(new int[] {
         128,
         0,
         0,
         0
     });
     this.nZ.Minimum = new System.Decimal(new int[] {
         128,
         0,
         0,
         -2147483648
     });
     this.nZ.Name          = "nZ";
     this.nZ.Size          = new System.Drawing.Size(64, 20);
     this.nZ.TabIndex      = 10;
     this.nZ.ValueChanged += new System.EventHandler(this.nZ_ValueChanged);
     //
     // bTest
     //
     this.bTest.Enabled   = false;
     this.bTest.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bTest.Location  = new System.Drawing.Point(424, 8);
     this.bTest.Name      = "bTest";
     this.bTest.Size      = new System.Drawing.Size(72, 23);
     this.bTest.TabIndex  = 11;
     this.bTest.Text      = "Test";
     this.bTest.Click    += new System.EventHandler(this.bTest_Click);
     //
     // mMain
     //
     this.mMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mFile,
         this.mMap
     });
     //
     // mFile
     //
     this.mFile.Index = 0;
     this.mFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miFileNew,
         this.miFileOpen,
         this.miFileSave,
         this.menuItem5,
         this.miFileExit
     });
     this.mFile.Text = "&File";
     //
     // miFileNew
     //
     this.miFileNew.Index  = 0;
     this.miFileNew.Text   = "&New";
     this.miFileNew.Click += new System.EventHandler(this.miFileNew_Click);
     //
     // miFileOpen
     //
     this.miFileOpen.Index  = 1;
     this.miFileOpen.Text   = "&Open";
     this.miFileOpen.Click += new System.EventHandler(this.miFileOpen_Click);
     //
     // miFileSave
     //
     this.miFileSave.Index = 2;
     this.miFileSave.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     this.miFileSave.Text   = "&Save";
     this.miFileSave.Click += new System.EventHandler(this.miFileSave_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 3;
     this.menuItem5.Text  = "-";
     //
     // miFileExit
     //
     this.miFileExit.Index = 4;
     this.miFileExit.Text  = "E&xit";
     //
     // mMap
     //
     this.mMap.Index = 1;
     this.mMap.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miMap0,
         this.miMap1,
         this.miMap2,
         this.miMap3
     });
     this.mMap.Text   = "&Map";
     this.mMap.Popup += new System.EventHandler(this.mMap_Popup);
     //
     // miMap0
     //
     this.miMap0.Index  = 0;
     this.miMap0.Text   = "&0";
     this.miMap0.Click += new System.EventHandler(this.SelectMap);
     //
     // miMap1
     //
     this.miMap1.Index  = 1;
     this.miMap1.Text   = "&1";
     this.miMap1.Click += new System.EventHandler(this.SelectMap);
     //
     // miMap2
     //
     this.miMap2.Index  = 2;
     this.miMap2.Text   = "&2";
     this.miMap2.Click += new System.EventHandler(this.SelectMap);
     //
     // miMap3
     //
     this.miMap3.Index  = 3;
     this.miMap3.Text   = "&3";
     this.miMap3.Click += new System.EventHandler(this.SelectMap);
     //
     // Map
     //
     this.Map.Center        = new System.Drawing.Point(0, 0);
     this.Map.DisplayErrors = true;
     this.Map.DrawStatics   = true;
     this.Map.Location      = new System.Drawing.Point(424, 40);
     this.Map.Map           = TheBox.MapViewer.Maps.Felucca;
     this.Map.Name          = "Map";
     this.Map.RotateView    = false;
     this.Map.ShowCross     = false;
     this.Map.Size          = new System.Drawing.Size(288, 280);
     this.Map.TabIndex      = 12;
     this.Map.Text          = "mapViewer1";
     this.Map.ZoomLevel     = 0;
     this.Map.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.Map_MouseDown);
     //
     // bFromClient
     //
     this.bFromClient.Enabled   = false;
     this.bFromClient.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bFromClient.Location  = new System.Drawing.Point(424, 352);
     this.bFromClient.Name      = "bFromClient";
     this.bFromClient.Size      = new System.Drawing.Size(192, 23);
     this.bFromClient.TabIndex  = 13;
     this.bFromClient.Text      = "Get coordinates from client";
     this.bFromClient.Click    += new System.EventHandler(this.bFromClient_Click);
     //
     // bCalibrate
     //
     this.bCalibrate.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.bCalibrate.Location  = new System.Drawing.Point(616, 352);
     this.bCalibrate.Name      = "bCalibrate";
     this.bCalibrate.Size      = new System.Drawing.Size(96, 23);
     this.bCalibrate.TabIndex  = 14;
     this.bCalibrate.Text      = "Calibrate";
     this.bCalibrate.Click    += new System.EventHandler(this.bCalibrate_Click);
     //
     // OpenFile
     //
     this.OpenFile.Filter = "Xml Files (*.xml)|*.xml";
     //
     // SaveFile
     //
     this.SaveFile.Filter = "Xml Files (*.xml)|*.xml";
     //
     // cmMap
     //
     this.cmMap.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miZoomIn,
         this.miZoomOut
     });
     //
     // miZoomIn
     //
     this.miZoomIn.Index  = 0;
     this.miZoomIn.Text   = "Zoom In";
     this.miZoomIn.Click += new System.EventHandler(this.miZoomIn_Click);
     //
     // miZoomOut
     //
     this.miZoomOut.Index  = 1;
     this.miZoomOut.Text   = "Zoom Out";
     this.miZoomOut.Click += new System.EventHandler(this.miZoomOut_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Text  = "Pandora\'s Box 1";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "Pandora\'s Box 2";
     //
     // TravelEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(720, 381);
     this.Controls.Add(this.bCalibrate);
     this.Controls.Add(this.bFromClient);
     this.Controls.Add(this.Map);
     this.Controls.Add(this.bTest);
     this.Controls.Add(this.nZ);
     this.Controls.Add(this.nY);
     this.Controls.Add(this.nX);
     this.Controls.Add(this.bSetCoordinates);
     this.Controls.Add(this.bAddLoc);
     this.Controls.Add(this.bAddCat);
     this.Controls.Add(this.txNewLoc);
     this.Controls.Add(this.txNewCat);
     this.Controls.Add(this.tLoc);
     this.Controls.Add(this.tCat);
     this.Menu = this.mMain;
     this.Name = "TravelEditor";
     this.Text = "Travel Editor";
     ((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nZ)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #7
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TravelAgentForm));
			this.mMain = new System.Windows.Forms.MainMenu();
			this.menuItem1 = new System.Windows.Forms.MenuItem();
			this.miNew = new System.Windows.Forms.MenuItem();
			this.miOpen = new System.Windows.Forms.MenuItem();
			this.miMerge = new System.Windows.Forms.MenuItem();
			this.miSave = new System.Windows.Forms.MenuItem();
			this.menuItem7 = new System.Windows.Forms.MenuItem();
			this.menuItem4 = new System.Windows.Forms.MenuItem();
			this.miImport = new System.Windows.Forms.MenuItem();
			this.menuItem9 = new System.Windows.Forms.MenuItem();
			this.miExit = new System.Windows.Forms.MenuItem();
			this.tCat = new System.Windows.Forms.TreeView();
			this.cmCat = new System.Windows.Forms.ContextMenu();
			this.miCatRename = new System.Windows.Forms.MenuItem();
			this.miCatDelete = new System.Windows.Forms.MenuItem();
			this.tLoc = new System.Windows.Forms.TreeView();
			this.cmLoc = new System.Windows.Forms.ContextMenu();
			this.miLocRename = new System.Windows.Forms.MenuItem();
			this.miLocDelete = new System.Windows.Forms.MenuItem();
			this.menuItem2 = new System.Windows.Forms.MenuItem();
			this.miLocUpdate = new System.Windows.Forms.MenuItem();
			this.miUpdateClient = new System.Windows.Forms.MenuItem();
			this.miUpdateMap = new System.Windows.Forms.MenuItem();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.txCat = new System.Windows.Forms.TextBox();
			this.txLoc = new System.Windows.Forms.TextBox();
			this.bAddCat = new System.Windows.Forms.Button();
			this.bAddLoc = new System.Windows.Forms.Button();
			this.m_Map = new TheBox.MapViewer.MapViewer();
			this.label3 = new System.Windows.Forms.Label();
			this.lnk0 = new System.Windows.Forms.LinkLabel();
			this.lnk1 = new System.Windows.Forms.LinkLabel();
			this.lnk2 = new System.Windows.Forms.LinkLabel();
			this.lnk3 = new System.Windows.Forms.LinkLabel();
			this.rClient = new System.Windows.Forms.RadioButton();
			this.rMap = new System.Windows.Forms.RadioButton();
			this.rManually = new System.Windows.Forms.RadioButton();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.grpPoint = new System.Windows.Forms.GroupBox();
			this.label6 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.nZ = new System.Windows.Forms.NumericUpDown();
			this.nY = new System.Windows.Forms.NumericUpDown();
			this.nX = new System.Windows.Forms.NumericUpDown();
			this.label4 = new System.Windows.Forms.Label();
			this.BrowseFolder = new System.Windows.Forms.FolderBrowserDialog();
			this.OpenFile = new System.Windows.Forms.OpenFileDialog();
			this.lnk4 = new System.Windows.Forms.LinkLabel();
			this.groupBox1.SuspendLayout();
			this.grpPoint.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.nZ)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
			this.SuspendLayout();
			// 
			// mMain
			// 
			this.mMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																				  this.menuItem1});
			// 
			// menuItem1
			// 
			this.menuItem1.Index = 0;
			this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.miNew,
																					  this.miOpen,
																					  this.miMerge,
																					  this.miSave,
																					  this.menuItem7,
																					  this.menuItem4,
																					  this.menuItem9,
																					  this.miExit});
			this.menuItem1.Text = "File";
			this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
			// 
			// miNew
			// 
			this.miNew.Index = 0;
			this.miNew.Text = "New";
			this.miNew.Click += new System.EventHandler(this.miNew_Click);
			// 
			// miOpen
			// 
			this.miOpen.Index = 1;
			this.miOpen.Text = "Open";
			this.miOpen.Click += new System.EventHandler(this.miOpen_Click);
			// 
			// miMerge
			// 
			this.miMerge.Index = 2;
			this.miMerge.Text = "Merge";
			this.miMerge.Click += new System.EventHandler(this.miMerge_Click);
			// 
			// miSave
			// 
			this.miSave.Index = 3;
			this.miSave.Text = "Save";
			this.miSave.Click += new System.EventHandler(this.miSave_Click);
			// 
			// menuItem7
			// 
			this.menuItem7.Index = 4;
			this.menuItem7.Text = "-";
			// 
			// menuItem4
			// 
			this.menuItem4.Index = 5;
			this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.miImport});
			this.menuItem4.Text = "Import";
			// 
			// miImport
			// 
			this.miImport.Index = 0;
			this.miImport.Text = "Pandora\'s Box 1";
			this.miImport.Click += new System.EventHandler(this.miImport_Click);
			// 
			// menuItem9
			// 
			this.menuItem9.Index = 6;
			this.menuItem9.Text = "-";
			// 
			// miExit
			// 
			this.miExit.Index = 7;
			this.miExit.Text = "Exit";
			this.miExit.Click += new System.EventHandler(this.miExit_Click);
			// 
			// tCat
			// 
			this.tCat.ContextMenu = this.cmCat;
			this.tCat.HideSelection = false;
			this.tCat.ImageIndex = -1;
			this.tCat.LabelEdit = true;
			this.tCat.Location = new System.Drawing.Point(4, 16);
			this.tCat.Name = "tCat";
			this.tCat.SelectedImageIndex = -1;
			this.tCat.Size = new System.Drawing.Size(132, 192);
			this.tCat.Sorted = true;
			this.tCat.TabIndex = 0;
			this.tCat.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tCat_AfterSelect);
			// 
			// cmCat
			// 
			this.cmCat.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																				  this.miCatRename,
																				  this.miCatDelete});
			this.cmCat.Popup += new System.EventHandler(this.cmCat_Popup);
			// 
			// miCatRename
			// 
			this.miCatRename.Index = 0;
			this.miCatRename.Text = "Rename";
			this.miCatRename.Click += new System.EventHandler(this.miCatRename_Click);
			// 
			// miCatDelete
			// 
			this.miCatDelete.Index = 1;
			this.miCatDelete.Text = "Delete";
			this.miCatDelete.Click += new System.EventHandler(this.miCatDelete_Click);
			// 
			// tLoc
			// 
			this.tLoc.ContextMenu = this.cmLoc;
			this.tLoc.HideSelection = false;
			this.tLoc.ImageIndex = -1;
			this.tLoc.LabelEdit = true;
			this.tLoc.Location = new System.Drawing.Point(140, 16);
			this.tLoc.Name = "tLoc";
			this.tLoc.SelectedImageIndex = -1;
			this.tLoc.ShowLines = false;
			this.tLoc.ShowPlusMinus = false;
			this.tLoc.ShowRootLines = false;
			this.tLoc.Size = new System.Drawing.Size(128, 192);
			this.tLoc.Sorted = true;
			this.tLoc.TabIndex = 2;
			this.tLoc.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tLoc_AfterSelect);
			this.tLoc.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.tLoc_AfterLabelEdit);
			// 
			// cmLoc
			// 
			this.cmLoc.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																				  this.miLocRename,
																				  this.miLocDelete,
																				  this.menuItem2,
																				  this.miLocUpdate});
			this.cmLoc.Popup += new System.EventHandler(this.cmLoc_Popup);
			// 
			// miLocRename
			// 
			this.miLocRename.Index = 0;
			this.miLocRename.Text = "Rename";
			this.miLocRename.Click += new System.EventHandler(this.miLocRename_Click);
			// 
			// miLocDelete
			// 
			this.miLocDelete.Index = 1;
			this.miLocDelete.Text = "Delete";
			this.miLocDelete.Click += new System.EventHandler(this.miLocDelete_Click);
			// 
			// menuItem2
			// 
			this.menuItem2.Index = 2;
			this.menuItem2.Text = "-";
			// 
			// miLocUpdate
			// 
			this.miLocUpdate.Index = 3;
			this.miLocUpdate.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						this.miUpdateClient,
																						this.miUpdateMap});
			this.miLocUpdate.Text = "Update Location";
			// 
			// miUpdateClient
			// 
			this.miUpdateClient.Index = 0;
			this.miUpdateClient.Text = "From the Client";
			this.miUpdateClient.Click += new System.EventHandler(this.miUpdateClient_Click);
			// 
			// miUpdateMap
			// 
			this.miUpdateMap.Index = 1;
			this.miUpdateMap.Text = "From the Map";
			this.miUpdateMap.Click += new System.EventHandler(this.miUpdateMap_Click);
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(136, 0);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(100, 14);
			this.label2.TabIndex = 3;
			this.label2.Text = "Locations";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(4, 0);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(64, 16);
			this.label1.TabIndex = 1;
			this.label1.Text = "Categories";
			// 
			// txCat
			// 
			this.txCat.Location = new System.Drawing.Point(4, 212);
			this.txCat.Name = "txCat";
			this.txCat.Size = new System.Drawing.Size(132, 20);
			this.txCat.TabIndex = 4;
			this.txCat.Text = "";
			this.txCat.TextChanged += new System.EventHandler(this.txCat_TextChanged);
			this.txCat.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txCat_KeyUp);
			// 
			// txLoc
			// 
			this.txLoc.Location = new System.Drawing.Point(140, 212);
			this.txLoc.Name = "txLoc";
			this.txLoc.Size = new System.Drawing.Size(128, 20);
			this.txLoc.TabIndex = 5;
			this.txLoc.Text = "";
			this.txLoc.TextChanged += new System.EventHandler(this.txLoc_TextChanged);
			this.txLoc.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txLoc_KeyUp);
			// 
			// bAddCat
			// 
			this.bAddCat.Enabled = false;
			this.bAddCat.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bAddCat.Location = new System.Drawing.Point(92, 236);
			this.bAddCat.Name = "bAddCat";
			this.bAddCat.Size = new System.Drawing.Size(44, 23);
			this.bAddCat.TabIndex = 6;
			this.bAddCat.Text = "Add";
			this.bAddCat.Click += new System.EventHandler(this.bAddCat_Click);
			// 
			// bAddLoc
			// 
			this.bAddLoc.Enabled = false;
			this.bAddLoc.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bAddLoc.Location = new System.Drawing.Point(216, 236);
			this.bAddLoc.Name = "bAddLoc";
			this.bAddLoc.Size = new System.Drawing.Size(52, 23);
			this.bAddLoc.TabIndex = 7;
			this.bAddLoc.Text = "Add";
			this.bAddLoc.Click += new System.EventHandler(this.bAddLoc_Click);
			// 
			// m_Map
			// 
			this.m_Map.Center = new System.Drawing.Point(0, 0);
			this.m_Map.DisplayErrors = true;
			this.m_Map.DrawStatics = true;
			this.m_Map.Location = new System.Drawing.Point(272, 16);
			this.m_Map.Map = TheBox.MapViewer.Maps.Felucca;
			this.m_Map.Name = "m_Map";
			this.m_Map.Navigation = TheBox.MapViewer.MapNavigation.None;
			this.m_Map.RotateView = false;
			this.m_Map.ShowCross = true;
			this.m_Map.Size = new System.Drawing.Size(192, 192);
			this.m_Map.TabIndex = 8;
			this.m_Map.Text = "mapViewer1";
			this.m_Map.WheelZoom = false;
			this.m_Map.XRayView = false;
			this.m_Map.ZoomLevel = 0;
			this.m_Map.MouseDown += new System.Windows.Forms.MouseEventHandler(this.m_Map_MouseDown);
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(272, 0);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(60, 16);
			this.label3.TabIndex = 9;
			this.label3.Text = "View Map:";
			// 
			// lnk0
			// 
			this.lnk0.Location = new System.Drawing.Point(332, 0);
			this.lnk0.Name = "lnk0";
			this.lnk0.Size = new System.Drawing.Size(16, 16);
			this.lnk0.TabIndex = 10;
			this.lnk0.TabStop = true;
			this.lnk0.Text = "0";
			this.lnk0.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk0_LinkClicked);
			// 
			// lnk1
			// 
			this.lnk1.Location = new System.Drawing.Point(356, 0);
			this.lnk1.Name = "lnk1";
			this.lnk1.Size = new System.Drawing.Size(16, 16);
			this.lnk1.TabIndex = 11;
			this.lnk1.TabStop = true;
			this.lnk1.Text = "1";
			this.lnk1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk1_LinkClicked);
			// 
			// lnk2
			// 
			this.lnk2.Location = new System.Drawing.Point(380, 0);
			this.lnk2.Name = "lnk2";
			this.lnk2.Size = new System.Drawing.Size(16, 16);
			this.lnk2.TabIndex = 12;
			this.lnk2.TabStop = true;
			this.lnk2.Text = "2";
			this.lnk2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk2_LinkClicked);
			// 
			// lnk3
			// 
			this.lnk3.Location = new System.Drawing.Point(404, 0);
			this.lnk3.Name = "lnk3";
			this.lnk3.Size = new System.Drawing.Size(16, 16);
			this.lnk3.TabIndex = 13;
			this.lnk3.TabStop = true;
			this.lnk3.Text = "3";
			this.lnk3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk3_LinkClicked);
			// 
			// rClient
			// 
			this.rClient.Checked = true;
			this.rClient.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.rClient.Location = new System.Drawing.Point(8, 20);
			this.rClient.Name = "rClient";
			this.rClient.Size = new System.Drawing.Size(164, 16);
			this.rClient.TabIndex = 14;
			this.rClient.TabStop = true;
			this.rClient.Text = "Get location from the client";
			// 
			// rMap
			// 
			this.rMap.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.rMap.Location = new System.Drawing.Point(8, 40);
			this.rMap.Name = "rMap";
			this.rMap.Size = new System.Drawing.Size(164, 16);
			this.rMap.TabIndex = 15;
			this.rMap.Text = "Get location from the map";
			// 
			// rManually
			// 
			this.rManually.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.rManually.Location = new System.Drawing.Point(8, 60);
			this.rManually.Name = "rManually";
			this.rManually.Size = new System.Drawing.Size(164, 16);
			this.rManually.TabIndex = 16;
			this.rManually.Text = "Set location manually";
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.rManually);
			this.groupBox1.Controls.Add(this.rMap);
			this.groupBox1.Controls.Add(this.rClient);
			this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.groupBox1.Location = new System.Drawing.Point(272, 212);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(192, 84);
			this.groupBox1.TabIndex = 17;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "When adding new locations:";
			// 
			// grpPoint
			// 
			this.grpPoint.Controls.Add(this.label6);
			this.grpPoint.Controls.Add(this.label5);
			this.grpPoint.Controls.Add(this.nZ);
			this.grpPoint.Controls.Add(this.nY);
			this.grpPoint.Controls.Add(this.nX);
			this.grpPoint.Controls.Add(this.label4);
			this.grpPoint.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.grpPoint.Location = new System.Drawing.Point(4, 260);
			this.grpPoint.Name = "grpPoint";
			this.grpPoint.Size = new System.Drawing.Size(264, 36);
			this.grpPoint.TabIndex = 18;
			this.grpPoint.TabStop = false;
			this.grpPoint.Text = "Point Edit";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(184, 16);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(17, 14);
			this.label6.TabIndex = 21;
			this.label6.Text = "Z";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(96, 16);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(17, 14);
			this.label5.TabIndex = 20;
			this.label5.Text = "Y";
			// 
			// nZ
			// 
			this.nZ.Location = new System.Drawing.Point(204, 12);
			this.nZ.Maximum = new System.Decimal(new int[] {
															   127,
															   0,
															   0,
															   0});
			this.nZ.Minimum = new System.Decimal(new int[] {
															   127,
															   0,
															   0,
															   -2147483648});
			this.nZ.Name = "nZ";
			this.nZ.Size = new System.Drawing.Size(52, 20);
			this.nZ.TabIndex = 2;
			this.nZ.ValueChanged += new System.EventHandler(this.nZ_ValueChanged);
			// 
			// nY
			// 
			this.nY.Location = new System.Drawing.Point(116, 12);
			this.nY.Maximum = new System.Decimal(new int[] {
															   5000,
															   0,
															   0,
															   0});
			this.nY.Name = "nY";
			this.nY.Size = new System.Drawing.Size(52, 20);
			this.nY.TabIndex = 1;
			this.nY.ValueChanged += new System.EventHandler(this.nY_ValueChanged);
			// 
			// nX
			// 
			this.nX.Location = new System.Drawing.Point(28, 12);
			this.nX.Maximum = new System.Decimal(new int[] {
															   6500,
															   0,
															   0,
															   0});
			this.nX.Name = "nX";
			this.nX.Size = new System.Drawing.Size(52, 20);
			this.nX.TabIndex = 0;
			this.nX.ValueChanged += new System.EventHandler(this.nX_ValueChanged);
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 16);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(17, 14);
			this.label4.TabIndex = 19;
			this.label4.Text = "X";
			// 
			// OpenFile
			// 
			this.OpenFile.Filter = "Xml Files (*.xml)|*.xml";
			// 
			// lnk4
			// 
			this.lnk4.Location = new System.Drawing.Point(428, 0);
			this.lnk4.Name = "lnk4";
			this.lnk4.Size = new System.Drawing.Size(16, 16);
			this.lnk4.TabIndex = 19;
			this.lnk4.TabStop = true;
			this.lnk4.Text = "4";
			this.lnk4.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnk4_LinkClicked);
			// 
			// TravelAgentForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(466, 298);
			this.Controls.Add(this.lnk4);
			this.Controls.Add(this.grpPoint);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.lnk3);
			this.Controls.Add(this.lnk2);
			this.Controls.Add(this.lnk1);
			this.Controls.Add(this.lnk0);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.m_Map);
			this.Controls.Add(this.bAddLoc);
			this.Controls.Add(this.bAddCat);
			this.Controls.Add(this.txLoc);
			this.Controls.Add(this.txCat);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.tLoc);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.tCat);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.Menu = this.mMain;
			this.Name = "TravelAgentForm";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "Travel Agent for Pandora\'s Box";
			this.Closing += new System.ComponentModel.CancelEventHandler(this.TravelAgentForm_Closing);
			this.groupBox1.ResumeLayout(false);
			this.grpPoint.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.nZ)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
			this.ResumeLayout(false);

		}
Beispiel #8
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.tCat = new System.Windows.Forms.TreeView();
			this.tLoc = new System.Windows.Forms.TreeView();
			this.txNewCat = new System.Windows.Forms.TextBox();
			this.txNewLoc = new System.Windows.Forms.TextBox();
			this.bAddCat = new System.Windows.Forms.Button();
			this.bAddLoc = new System.Windows.Forms.Button();
			this.bSetCoordinates = new System.Windows.Forms.Button();
			this.nX = new System.Windows.Forms.NumericUpDown();
			this.nY = new System.Windows.Forms.NumericUpDown();
			this.nZ = new System.Windows.Forms.NumericUpDown();
			this.bTest = new System.Windows.Forms.Button();
			this.mMain = new System.Windows.Forms.MainMenu();
			this.mFile = new System.Windows.Forms.MenuItem();
			this.miFileNew = new System.Windows.Forms.MenuItem();
			this.miFileOpen = new System.Windows.Forms.MenuItem();
			this.miFileSave = new System.Windows.Forms.MenuItem();
			this.menuItem5 = new System.Windows.Forms.MenuItem();
			this.miFileExit = new System.Windows.Forms.MenuItem();
			this.mMap = new System.Windows.Forms.MenuItem();
			this.miMap0 = new System.Windows.Forms.MenuItem();
			this.miMap1 = new System.Windows.Forms.MenuItem();
			this.miMap2 = new System.Windows.Forms.MenuItem();
			this.miMap3 = new System.Windows.Forms.MenuItem();
			this.Map = new TheBox.MapViewer.MapViewer();
			this.bFromClient = new System.Windows.Forms.Button();
			this.bCalibrate = new System.Windows.Forms.Button();
			this.OpenFile = new System.Windows.Forms.OpenFileDialog();
			this.SaveFile = new System.Windows.Forms.SaveFileDialog();
			this.cmMap = new System.Windows.Forms.ContextMenu();
			this.miZoomIn = new System.Windows.Forms.MenuItem();
			this.miZoomOut = new System.Windows.Forms.MenuItem();
			this.menuItem1 = new System.Windows.Forms.MenuItem();
			this.menuItem2 = new System.Windows.Forms.MenuItem();
			((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.nZ)).BeginInit();
			this.SuspendLayout();
			// 
			// tCat
			// 
			this.tCat.ImageIndex = -1;
			this.tCat.LabelEdit = true;
			this.tCat.Location = new System.Drawing.Point(8, 8);
			this.tCat.Name = "tCat";
			this.tCat.SelectedImageIndex = -1;
			this.tCat.Size = new System.Drawing.Size(200, 336);
			this.tCat.Sorted = true;
			this.tCat.TabIndex = 0;
			this.tCat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tCat_KeyDown);
			this.tCat.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tCat_AfterSelect);
			this.tCat.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.tCat_BeforeSelect);
			// 
			// tLoc
			// 
			this.tLoc.ImageIndex = -1;
			this.tLoc.LabelEdit = true;
			this.tLoc.Location = new System.Drawing.Point(216, 8);
			this.tLoc.Name = "tLoc";
			this.tLoc.SelectedImageIndex = -1;
			this.tLoc.Size = new System.Drawing.Size(200, 336);
			this.tLoc.Sorted = true;
			this.tLoc.TabIndex = 1;
			this.tLoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tLoc_KeyDown);
			this.tLoc.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tLoc_AfterSelect);
			this.tLoc.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.tLoc_BeforeSelect);
			this.tLoc.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.tLoc_AfterLabelEdit);
			// 
			// txNewCat
			// 
			this.txNewCat.Location = new System.Drawing.Point(8, 352);
			this.txNewCat.Name = "txNewCat";
			this.txNewCat.Size = new System.Drawing.Size(136, 20);
			this.txNewCat.TabIndex = 3;
			this.txNewCat.Text = "";
			this.txNewCat.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txNewCat_KeyDown);
			// 
			// txNewLoc
			// 
			this.txNewLoc.Enabled = false;
			this.txNewLoc.Location = new System.Drawing.Point(216, 352);
			this.txNewLoc.Name = "txNewLoc";
			this.txNewLoc.Size = new System.Drawing.Size(136, 20);
			this.txNewLoc.TabIndex = 4;
			this.txNewLoc.Text = "";
			this.txNewLoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txNewLoc_KeyDown);
			// 
			// bAddCat
			// 
			this.bAddCat.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bAddCat.Location = new System.Drawing.Point(152, 352);
			this.bAddCat.Name = "bAddCat";
			this.bAddCat.Size = new System.Drawing.Size(56, 23);
			this.bAddCat.TabIndex = 5;
			this.bAddCat.Text = "Add";
			this.bAddCat.Click += new System.EventHandler(this.bAddCat_Click);
			// 
			// bAddLoc
			// 
			this.bAddLoc.Enabled = false;
			this.bAddLoc.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bAddLoc.Location = new System.Drawing.Point(360, 352);
			this.bAddLoc.Name = "bAddLoc";
			this.bAddLoc.Size = new System.Drawing.Size(56, 23);
			this.bAddLoc.TabIndex = 6;
			this.bAddLoc.Text = "Add";
			this.bAddLoc.Click += new System.EventHandler(this.bAddLoc_Click);
			// 
			// bSetCoordinates
			// 
			this.bSetCoordinates.Enabled = false;
			this.bSetCoordinates.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bSetCoordinates.Location = new System.Drawing.Point(424, 328);
			this.bSetCoordinates.Name = "bSetCoordinates";
			this.bSetCoordinates.Size = new System.Drawing.Size(288, 23);
			this.bSetCoordinates.TabIndex = 7;
			this.bSetCoordinates.Text = "Set as value for the current location";
			this.bSetCoordinates.Click += new System.EventHandler(this.bSetCoordinates_Click);
			// 
			// nX
			// 
			this.nX.Enabled = false;
			this.nX.Location = new System.Drawing.Point(504, 8);
			this.nX.Maximum = new System.Decimal(new int[] {
																			  10000,
																			  0,
																			  0,
																			  0});
			this.nX.Name = "nX";
			this.nX.Size = new System.Drawing.Size(64, 20);
			this.nX.TabIndex = 8;
			this.nX.ValueChanged += new System.EventHandler(this.nX_ValueChanged);
			// 
			// nY
			// 
			this.nY.Enabled = false;
			this.nY.Location = new System.Drawing.Point(576, 8);
			this.nY.Maximum = new System.Decimal(new int[] {
																			  10000,
																			  0,
																			  0,
																			  0});
			this.nY.Name = "nY";
			this.nY.Size = new System.Drawing.Size(64, 20);
			this.nY.TabIndex = 9;
			this.nY.ValueChanged += new System.EventHandler(this.nY_ValueChanged);
			// 
			// nZ
			// 
			this.nZ.Enabled = false;
			this.nZ.Location = new System.Drawing.Point(648, 8);
			this.nZ.Maximum = new System.Decimal(new int[] {
																			  128,
																			  0,
																			  0,
																			  0});
			this.nZ.Minimum = new System.Decimal(new int[] {
																			  128,
																			  0,
																			  0,
																			  -2147483648});
			this.nZ.Name = "nZ";
			this.nZ.Size = new System.Drawing.Size(64, 20);
			this.nZ.TabIndex = 10;
			this.nZ.ValueChanged += new System.EventHandler(this.nZ_ValueChanged);
			// 
			// bTest
			// 
			this.bTest.Enabled = false;
			this.bTest.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bTest.Location = new System.Drawing.Point(424, 8);
			this.bTest.Name = "bTest";
			this.bTest.Size = new System.Drawing.Size(72, 23);
			this.bTest.TabIndex = 11;
			this.bTest.Text = "Test";
			this.bTest.Click += new System.EventHandler(this.bTest_Click);
			// 
			// mMain
			// 
			this.mMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																										this.mFile,
																										this.mMap});
			// 
			// mFile
			// 
			this.mFile.Index = 0;
			this.mFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																										this.miFileNew,
																										this.miFileOpen,
																										this.miFileSave,
																										this.menuItem5,
																										this.miFileExit});
			this.mFile.Text = "&File";
			// 
			// miFileNew
			// 
			this.miFileNew.Index = 0;
			this.miFileNew.Text = "&New";
			this.miFileNew.Click += new System.EventHandler(this.miFileNew_Click);
			// 
			// miFileOpen
			// 
			this.miFileOpen.Index = 1;
			this.miFileOpen.Text = "&Open";
			this.miFileOpen.Click += new System.EventHandler(this.miFileOpen_Click);
			// 
			// miFileSave
			// 
			this.miFileSave.Index = 2;
			this.miFileSave.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																											  this.menuItem1,
																											  this.menuItem2});
			this.miFileSave.Text = "&Save";
			this.miFileSave.Click += new System.EventHandler(this.miFileSave_Click);
			// 
			// menuItem5
			// 
			this.menuItem5.Index = 3;
			this.menuItem5.Text = "-";
			// 
			// miFileExit
			// 
			this.miFileExit.Index = 4;
			this.miFileExit.Text = "E&xit";
			// 
			// mMap
			// 
			this.mMap.Index = 1;
			this.mMap.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																									  this.miMap0,
																									  this.miMap1,
																									  this.miMap2,
																									  this.miMap3});
			this.mMap.Text = "&Map";
			this.mMap.Popup += new System.EventHandler(this.mMap_Popup);
			// 
			// miMap0
			// 
			this.miMap0.Index = 0;
			this.miMap0.Text = "&0";
			this.miMap0.Click += new System.EventHandler(this.SelectMap);
			// 
			// miMap1
			// 
			this.miMap1.Index = 1;
			this.miMap1.Text = "&1";
			this.miMap1.Click += new System.EventHandler(this.SelectMap);
			// 
			// miMap2
			// 
			this.miMap2.Index = 2;
			this.miMap2.Text = "&2";
			this.miMap2.Click += new System.EventHandler(this.SelectMap);
			// 
			// miMap3
			// 
			this.miMap3.Index = 3;
			this.miMap3.Text = "&3";
			this.miMap3.Click += new System.EventHandler(this.SelectMap);
			// 
			// Map
			// 
			this.Map.Center = new System.Drawing.Point(0, 0);
			this.Map.DisplayErrors = true;
			this.Map.DrawStatics = true;
			this.Map.Location = new System.Drawing.Point(424, 40);
			this.Map.Map = TheBox.MapViewer.Maps.Felucca;
			this.Map.Name = "Map";
			this.Map.RotateView = false;
			this.Map.ShowCross = false;
			this.Map.Size = new System.Drawing.Size(288, 280);
			this.Map.TabIndex = 12;
			this.Map.Text = "mapViewer1";
			this.Map.ZoomLevel = 0;
			this.Map.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Map_MouseDown);
			// 
			// bFromClient
			// 
			this.bFromClient.Enabled = false;
			this.bFromClient.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bFromClient.Location = new System.Drawing.Point(424, 352);
			this.bFromClient.Name = "bFromClient";
			this.bFromClient.Size = new System.Drawing.Size(192, 23);
			this.bFromClient.TabIndex = 13;
			this.bFromClient.Text = "Get coordinates from client";
			this.bFromClient.Click += new System.EventHandler(this.bFromClient_Click);
			// 
			// bCalibrate
			// 
			this.bCalibrate.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.bCalibrate.Location = new System.Drawing.Point(616, 352);
			this.bCalibrate.Name = "bCalibrate";
			this.bCalibrate.Size = new System.Drawing.Size(96, 23);
			this.bCalibrate.TabIndex = 14;
			this.bCalibrate.Text = "Calibrate";
			this.bCalibrate.Click += new System.EventHandler(this.bCalibrate_Click);
			// 
			// OpenFile
			// 
			this.OpenFile.Filter = "Xml Files (*.xml)|*.xml";
			// 
			// SaveFile
			// 
			this.SaveFile.Filter = "Xml Files (*.xml)|*.xml";
			// 
			// cmMap
			// 
			this.cmMap.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																										this.miZoomIn,
																										this.miZoomOut});
			// 
			// miZoomIn
			// 
			this.miZoomIn.Index = 0;
			this.miZoomIn.Text = "Zoom In";
			this.miZoomIn.Click += new System.EventHandler(this.miZoomIn_Click);
			// 
			// miZoomOut
			// 
			this.miZoomOut.Index = 1;
			this.miZoomOut.Text = "Zoom Out";
			this.miZoomOut.Click += new System.EventHandler(this.miZoomOut_Click);
			// 
			// menuItem1
			// 
			this.menuItem1.Index = 0;
			this.menuItem1.Text = "Pandora\'s Box 1";
			// 
			// menuItem2
			// 
			this.menuItem2.Index = 1;
			this.menuItem2.Text = "Pandora\'s Box 2";
			// 
			// TravelEditor
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(720, 381);
			this.Controls.Add(this.bCalibrate);
			this.Controls.Add(this.bFromClient);
			this.Controls.Add(this.Map);
			this.Controls.Add(this.bTest);
			this.Controls.Add(this.nZ);
			this.Controls.Add(this.nY);
			this.Controls.Add(this.nX);
			this.Controls.Add(this.bSetCoordinates);
			this.Controls.Add(this.bAddLoc);
			this.Controls.Add(this.bAddCat);
			this.Controls.Add(this.txNewLoc);
			this.Controls.Add(this.txNewCat);
			this.Controls.Add(this.tLoc);
			this.Controls.Add(this.tCat);
			this.Menu = this.mMain;
			this.Name = "TravelEditor";
			this.Text = "Travel Editor";
			((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.nZ)).EndInit();
			this.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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(BOX_RegionEditor));
     this.Map = new TheBox.MapViewer.MapViewer();
     this.TheMenu = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.FileNew = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.FileOpen = new System.Windows.Forms.MenuItem();
     this.FileSaveAs = new System.Windows.Forms.MenuItem();
     this.menuItem7 = new System.Windows.Forms.MenuItem();
     this.FileExit = new System.Windows.Forms.MenuItem();
     this.menuItem9 = new System.Windows.Forms.MenuItem();
     this.menuAlwaysOnTop = new System.Windows.Forms.MenuItem();
     this.menuItem11 = new System.Windows.Forms.MenuItem();
     this.menuMap0 = new System.Windows.Forms.MenuItem();
     this.menuMap1 = new System.Windows.Forms.MenuItem();
     this.menuMap2 = new System.Windows.Forms.MenuItem();
     this.menuMap3 = new System.Windows.Forms.MenuItem();
     this.menuItem10 = new System.Windows.Forms.MenuItem();
     this.menuChangeMulPath = new System.Windows.Forms.MenuItem();
     this.menuDrawStatics = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.menuItem8 = new System.Windows.Forms.MenuItem();
     this.Tree = new System.Windows.Forms.TreeView();
     this.OpenFile = new System.Windows.Forms.OpenFileDialog();
     this.RectList = new System.Windows.Forms.ListBox();
     this.ButtonZoomIn = new System.Windows.Forms.Button();
     this.ButtonZoomOut = new System.Windows.Forms.Button();
     this.ButtonAddFacet = new System.Windows.Forms.Button();
     this.FolderBrowser = new System.Windows.Forms.FolderBrowserDialog();
     this.SaveFile = new System.Windows.Forms.SaveFileDialog();
     this.FacetMenu = new System.Windows.Forms.ContextMenu();
     this.MenuFacetMapfile = new System.Windows.Forms.MenuItem();
     this.mFacetMap0 = new System.Windows.Forms.MenuItem();
     this.mFacetMap1 = new System.Windows.Forms.MenuItem();
     this.mFacetMap2 = new System.Windows.Forms.MenuItem();
     this.mFacetMap3 = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // 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.Center = new System.Drawing.Point(0, 0);
     this.Map.DisplayErrors = true;
     this.Map.DrawStatics = true;
     this.Map.Location = new System.Drawing.Point(232, 136);
     this.Map.Map = TheBox.MapViewer.Maps.Sosaria;
     this.Map.Name = "Map";
     this.Map.Navigation = TheBox.MapViewer.MapNavigation.None;
     this.Map.RotateView = false;
     this.Map.ShowCross = false;
     this.Map.Size = new System.Drawing.Size(560, 400);
     this.Map.TabIndex = 0;
     this.Map.WheelZoom = true;
     this.Map.XRayView = false;
     this.Map.ZoomLevel = 0;
     this.Map.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Map_MouseUp);
     this.Map.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Map_MouseMove);
     this.Map.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Map_MouseDown);
     //
     // TheMenu
     //
     this.TheMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                             this.menuItem1,
                                                                             this.menuItem9,
                                                                             this.menuItem2});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.FileNew,
                                                                               this.menuItem6,
                                                                               this.FileOpen,
                                                                               this.FileSaveAs,
                                                                               this.menuItem7,
                                                                               this.FileExit});
     this.menuItem1.Text = "File";
     //
     // FileNew
     //
     this.FileNew.Index = 0;
     this.FileNew.Text = "New";
     this.FileNew.Click += new System.EventHandler(this.FileNew_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 1;
     this.menuItem6.Text = "-";
     //
     // FileOpen
     //
     this.FileOpen.Index = 2;
     this.FileOpen.Text = "Open";
     this.FileOpen.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // FileSaveAs
     //
     this.FileSaveAs.Index = 3;
     this.FileSaveAs.Text = "Save As..";
     this.FileSaveAs.Click += new System.EventHandler(this.FileSaveAs_Click);
     //
     // menuItem7
     //
     this.menuItem7.Index = 4;
     this.menuItem7.Text = "-";
     //
     // FileExit
     //
     this.FileExit.Index = 5;
     this.FileExit.Text = "Exit";
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuAlwaysOnTop,
                                                                               this.menuItem11,
                                                                               this.menuChangeMulPath,
                                                                               this.menuDrawStatics});
     this.menuItem9.Text = "Options";
     this.menuItem9.Popup += new System.EventHandler(this.menuItem9_Popup);
     //
     // menuAlwaysOnTop
     //
     this.menuAlwaysOnTop.Index = 0;
     this.menuAlwaysOnTop.Text = "Always On Top";
     this.menuAlwaysOnTop.Click += new System.EventHandler(this.menuAlwaysOnTop_Click);
     //
     // menuItem11
     //
     this.menuItem11.Index = 1;
     this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                this.menuMap0,
                                                                                this.menuMap1,
                                                                                this.menuMap2,
                                                                                this.menuMap3,
                                                                                this.menuItem10});
     this.menuItem11.Text = "Map";
     //
     // menuMap0
     //
     this.menuMap0.Index = 0;
     this.menuMap0.Text = "Map 0";
     this.menuMap0.Click += new System.EventHandler(this.menuMap0_Click);
     //
     // menuMap1
     //
     this.menuMap1.Index = 1;
     this.menuMap1.Text = "Map 1";
     this.menuMap1.Click += new System.EventHandler(this.menuMap1_Click);
     //
     // menuMap2
     //
     this.menuMap2.Index = 2;
     this.menuMap2.Text = "Map 2";
     this.menuMap2.Click += new System.EventHandler(this.menuMap2_Click);
     //
     // menuMap3
     //
     this.menuMap3.Index = 3;
     this.menuMap3.Text = "Map 3";
     this.menuMap3.Click += new System.EventHandler(this.menuMap3_Click);
     //
     // menuItem10
     //
     this.menuItem10.Index = 4;
     this.menuItem10.Text = "Map 4";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuChangeMulPath
     //
     this.menuChangeMulPath.Index = 2;
     this.menuChangeMulPath.Text = "Change MUL Path";
     this.menuChangeMulPath.Click += new System.EventHandler(this.menuChangeMulPath_Click);
     //
     // menuDrawStatics
     //
     this.menuDrawStatics.Index = 3;
     this.menuDrawStatics.Text = "Draw Statics";
     this.menuDrawStatics.Click += new System.EventHandler(this.menuDrawStatics_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 2;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem3,
                                                                               this.menuItem4,
                                                                               this.menuItem5,
                                                                               this.menuItem8});
     this.menuItem2.Text = "Help";
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.Text = "Documentation";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click_1);
     //
     // menuItem4
     //
     this.menuItem4.Index = 1;
     this.menuItem4.Text = "Visit The Box";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 2;
     this.menuItem5.Text = "-";
     //
     // menuItem8
     //
     this.menuItem8.Index = 3;
     this.menuItem8.Text = "About...";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // Tree
     //
     this.Tree.ImageIndex = -1;
     this.Tree.Location = new System.Drawing.Point(8, 8);
     this.Tree.Name = "Tree";
     this.Tree.SelectedImageIndex = -1;
     this.Tree.Size = new System.Drawing.Size(216, 216);
     this.Tree.TabIndex = 1;
     this.Tree.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Tree_MouseDown);
     this.Tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.Tree_AfterSelect);
     this.Tree.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.Tree_BeforeSelect);
     //
     // OpenFile
     //
     this.OpenFile.Filter = "Xml Files (*.xml)|*.xml";
     //
     // RectList
     //
     this.RectList.Location = new System.Drawing.Point(8, 264);
     this.RectList.Name = "RectList";
     this.RectList.Size = new System.Drawing.Size(216, 225);
     this.RectList.TabIndex = 2;
     this.RectList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.RectList_MouseDown);
     //
     // ButtonZoomIn
     //
     this.ButtonZoomIn.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.ButtonZoomIn.Location = new System.Drawing.Point(160, 232);
     this.ButtonZoomIn.Name = "ButtonZoomIn";
     this.ButtonZoomIn.Size = new System.Drawing.Size(64, 23);
     this.ButtonZoomIn.TabIndex = 3;
     this.ButtonZoomIn.Text = "Zoom In";
     this.ButtonZoomIn.Click += new System.EventHandler(this.ButtonZoomIn_Click);
     //
     // ButtonZoomOut
     //
     this.ButtonZoomOut.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.ButtonZoomOut.Location = new System.Drawing.Point(88, 232);
     this.ButtonZoomOut.Name = "ButtonZoomOut";
     this.ButtonZoomOut.Size = new System.Drawing.Size(64, 23);
     this.ButtonZoomOut.TabIndex = 4;
     this.ButtonZoomOut.Text = "Zoom Out";
     this.ButtonZoomOut.Click += new System.EventHandler(this.ButtonZoomOut_Click);
     //
     // ButtonAddFacet
     //
     this.ButtonAddFacet.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.ButtonAddFacet.Location = new System.Drawing.Point(8, 232);
     this.ButtonAddFacet.Name = "ButtonAddFacet";
     this.ButtonAddFacet.Size = new System.Drawing.Size(64, 23);
     this.ButtonAddFacet.TabIndex = 6;
     this.ButtonAddFacet.Text = "Add Facet";
     this.ButtonAddFacet.Click += new System.EventHandler(this.ButtonAddFacet_Click);
     //
     // SaveFile
     //
     this.SaveFile.Filter = "Xml Files (*.xml)|*.xml";
     //
     // FacetMenu
     //
     this.FacetMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.MenuFacetMapfile});
     this.FacetMenu.Popup += new System.EventHandler(this.FacetMenu_Popup);
     //
     // MenuFacetMapfile
     //
     this.MenuFacetMapfile.Index = 0;
     this.MenuFacetMapfile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                      this.mFacetMap0,
                                                                                      this.mFacetMap1,
                                                                                      this.mFacetMap2,
                                                                                      this.mFacetMap3});
     this.MenuFacetMapfile.Text = "Set map file";
     //
     // mFacetMap0
     //
     this.mFacetMap0.Index = 0;
     this.mFacetMap0.Text = "0";
     this.mFacetMap0.Click += new System.EventHandler(this.mFacetMap0_Click);
     //
     // mFacetMap1
     //
     this.mFacetMap1.Index = 1;
     this.mFacetMap1.Text = "1";
     this.mFacetMap1.Click += new System.EventHandler(this.mFacetMap1_Click);
     //
     // mFacetMap2
     //
     this.mFacetMap2.Index = 2;
     this.mFacetMap2.Text = "2";
     this.mFacetMap2.Click += new System.EventHandler(this.mFacetMap2_Click);
     //
     // mFacetMap3
     //
     this.mFacetMap3.Index = 3;
     this.mFacetMap3.Text = "3";
     this.mFacetMap3.Click += new System.EventHandler(this.mFacetMap3_Click);
     //
     // RegionEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(800, 497);
     this.Controls.Add(this.ButtonAddFacet);
     this.Controls.Add(this.ButtonZoomOut);
     this.Controls.Add(this.ButtonZoomIn);
     this.Controls.Add(this.RectList);
     this.Controls.Add(this.Tree);
     this.Controls.Add(this.Map);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.TheMenu;
     this.Name = "RegionEditor";
     this.Text = "Region Editor";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.RegionEditor_Closing);
     this.ResumeLayout(false);
 }