/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { var 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.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); }
/// <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.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() { var resources = new System.Resources.ResourceManager(typeof(QuickLocation)); this.Map = new TheBox.MapViewer.MapViewer(); this.txName = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.nX = new System.Windows.Forms.NumericUpDown(); this.nY = new System.Windows.Forms.NumericUpDown(); this.nZ = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.bTest = new System.Windows.Forms.Button(); this.bFromClient = new System.Windows.Forms.Button(); this.bOK = new System.Windows.Forms.Button(); this.bCancel = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.nX)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nY)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nZ)).BeginInit(); this.SuspendLayout(); // // Map // this.Map.Center = new System.Drawing.Point(0, 0); this.Map.DisplayErrors = false; this.Map.DrawStatics = true; this.Map.Location = new System.Drawing.Point(240, 8); this.Map.Map = TheBox.MapViewer.Maps.Felucca; this.Map.Name = "Map"; this.Map.ShowCross = true; this.Map.Size = new System.Drawing.Size(216, 216); this.Map.TabIndex = 0; this.Map.Text = "mapViewer1"; this.Map.ZoomLevel = 0; this.Map.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Map_MouseDown); // // txName // this.txName.Location = new System.Drawing.Point(48, 8); this.txName.Name = "txName"; this.txName.Size = new System.Drawing.Size(184, 20); this.txName.TabIndex = 1; this.txName.Text = ""; this.txName.TextChanged += new System.EventHandler(this.txName_TextChanged); // // label1 // this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 16); this.label1.TabIndex = 2; this.label1.Text = "Common.Name"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // nX // this.nX.Location = new System.Drawing.Point(24, 40); 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 = 3; this.nX.ValueChanged += new System.EventHandler(this.nX_ValueChanged); // // nY // this.nY.Location = new System.Drawing.Point(104, 40); this.nY.Maximum = new System.Decimal(new int[] { 10000, 0, 0, 0 }); this.nY.Name = "nY"; this.nY.Size = new System.Drawing.Size(56, 20); this.nY.TabIndex = 4; this.nY.ValueChanged += new System.EventHandler(this.nY_ValueChanged); // // nZ // this.nZ.Location = new System.Drawing.Point(184, 40); 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(48, 20); this.nZ.TabIndex = 5; this.nZ.ValueChanged += new System.EventHandler(this.nZ_ValueChanged); // // label2 // this.label2.Location = new System.Drawing.Point(8, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 6; this.label2.Text = "Common.X"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label3 // this.label3.Location = new System.Drawing.Point(88, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(16, 16); this.label3.TabIndex = 7; this.label3.Text = "Common.Y"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label4 // this.label4.Location = new System.Drawing.Point(168, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(16, 16); this.label4.TabIndex = 8; this.label4.Text = "Common.Z"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // bTest // this.bTest.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bTest.Location = new System.Drawing.Point(160, 72); this.bTest.Name = "bTest"; this.bTest.Size = new System.Drawing.Size(72, 23); this.bTest.TabIndex = 9; this.bTest.Text = "Common.Test"; // // bFromClient // this.bFromClient.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bFromClient.Location = new System.Drawing.Point(8, 72); this.bFromClient.Name = "bFromClient"; this.bFromClient.Size = new System.Drawing.Size(144, 23); this.bFromClient.TabIndex = 11; this.bFromClient.Text = "Travel.GetFromClient"; this.bFromClient.Click += new System.EventHandler(this.bFromClient_Click); // // bOK // this.bOK.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bOK.Location = new System.Drawing.Point(160, 200); this.bOK.Name = "bOK"; this.bOK.Size = new System.Drawing.Size(72, 23); this.bOK.TabIndex = 12; this.bOK.Text = "Common.Ok"; this.bOK.Click += new System.EventHandler(this.bOK_Click); // // bCancel // this.bCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bCancel.Location = new System.Drawing.Point(8, 200); this.bCancel.Name = "bCancel"; this.bCancel.Size = new System.Drawing.Size(72, 23); this.bCancel.TabIndex = 13; this.bCancel.Text = "Common.Cancel"; this.bCancel.Click += new System.EventHandler(this.bCancel_Click); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(160, 120); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(72, 23); this.button1.TabIndex = 14; this.button1.Text = "Travel.ZoomIN"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button2.Location = new System.Drawing.Point(160, 152); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(72, 23); this.button2.TabIndex = 15; this.button2.Text = "Travel.ZoomOut"; this.button2.Click += new System.EventHandler(this.button2_Click); // // QuickLocation // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(462, 230); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.bCancel); this.Controls.Add(this.bOK); this.Controls.Add(this.bFromClient); this.Controls.Add(this.bTest); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.nZ); this.Controls.Add(this.nY); this.Controls.Add(this.nX); this.Controls.Add(this.label1); this.Controls.Add(this.txName); this.Controls.Add(this.Map); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "QuickLocation"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Travel.NewLoc"; ((System.ComponentModel.ISupportInitialize)(this.nX)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nY)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nZ)).EndInit(); this.ResumeLayout(false); }