Realm Explorer:

- Implemented UI designs.
This commit is contained in:
Scionwest_cp 2009-11-27 21:29:18 -08:00
parent ced376e72a
commit 2f6dc95adb
8 changed files with 367 additions and 24 deletions

View file

@ -35,7 +35,8 @@
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.btnProjectManager = new System.Windows.Forms.Button(); this.btnProjectManager = new System.Windows.Forms.Button();
this.btnCurrencyEditor = new System.Windows.Forms.Button(); this.btnCurrencyEditor = new System.Windows.Forms.Button();
this.btnRoomDesigner = new System.Windows.Forms.Button(); this.btnRealmExplorer = new System.Windows.Forms.Button();
this.btnZoneBuilder = new System.Windows.Forms.Button();
this.tabFunctions = new System.Windows.Forms.TabPage(); this.tabFunctions = new System.Windows.Forms.TabPage();
this.groupBox9 = new System.Windows.Forms.GroupBox(); this.groupBox9 = new System.Windows.Forms.GroupBox();
this.groupBox14 = new System.Windows.Forms.GroupBox(); this.groupBox14 = new System.Windows.Forms.GroupBox();
@ -48,6 +49,7 @@
this.groupBox8 = new System.Windows.Forms.GroupBox(); this.groupBox8 = new System.Windows.Forms.GroupBox();
this.txtScript = new System.Windows.Forms.RichTextBox(); this.txtScript = new System.Windows.Forms.RichTextBox();
this.tabVariables = new System.Windows.Forms.TabPage(); this.tabVariables = new System.Windows.Forms.TabPage();
this.btnRoomDesigner = new System.Windows.Forms.Button();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout(); this.splitContainer1.SuspendLayout();
@ -77,7 +79,7 @@
// splitContainer1.Panel2 // splitContainer1.Panel2
// //
this.splitContainer1.Panel2.Controls.Add(this.tabEditors); this.splitContainer1.Panel2.Controls.Add(this.tabEditors);
this.splitContainer1.Size = new System.Drawing.Size(615, 383); this.splitContainer1.Size = new System.Drawing.Size(639, 383);
this.splitContainer1.SplitterDistance = 154; this.splitContainer1.SplitterDistance = 154;
this.splitContainer1.TabIndex = 0; this.splitContainer1.TabIndex = 0;
// //
@ -94,7 +96,7 @@
this.btnLogo.ForeColor = System.Drawing.Color.Gray; this.btnLogo.ForeColor = System.Drawing.Color.Gray;
this.btnLogo.Location = new System.Drawing.Point(0, 0); this.btnLogo.Location = new System.Drawing.Point(0, 0);
this.btnLogo.Name = "btnLogo"; this.btnLogo.Name = "btnLogo";
this.btnLogo.Size = new System.Drawing.Size(615, 154); this.btnLogo.Size = new System.Drawing.Size(639, 154);
this.btnLogo.TabIndex = 0; this.btnLogo.TabIndex = 0;
this.btnLogo.Text = "MUD Designer HUB \r\nBeta 1.0\r\n"; this.btnLogo.Text = "MUD Designer HUB \r\nBeta 1.0\r\n";
this.btnLogo.UseVisualStyleBackColor = false; this.btnLogo.UseVisualStyleBackColor = false;
@ -106,7 +108,7 @@
this.tabEditors.Location = new System.Drawing.Point(0, 0); this.tabEditors.Location = new System.Drawing.Point(0, 0);
this.tabEditors.Name = "tabEditors"; this.tabEditors.Name = "tabEditors";
this.tabEditors.SelectedIndex = 0; this.tabEditors.SelectedIndex = 0;
this.tabEditors.Size = new System.Drawing.Size(615, 225); this.tabEditors.Size = new System.Drawing.Size(639, 225);
this.tabEditors.TabIndex = 0; this.tabEditors.TabIndex = 0;
// //
// tabPage1 // tabPage1
@ -115,7 +117,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1"; this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(607, 199); this.tabPage1.Size = new System.Drawing.Size(631, 199);
this.tabPage1.TabIndex = 0; this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Available Editors"; this.tabPage1.Text = "Available Editors";
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.UseVisualStyleBackColor = true;
@ -124,11 +126,13 @@
// //
this.flowLayoutPanel1.Controls.Add(this.btnProjectManager); this.flowLayoutPanel1.Controls.Add(this.btnProjectManager);
this.flowLayoutPanel1.Controls.Add(this.btnCurrencyEditor); this.flowLayoutPanel1.Controls.Add(this.btnCurrencyEditor);
this.flowLayoutPanel1.Controls.Add(this.btnRealmExplorer);
this.flowLayoutPanel1.Controls.Add(this.btnZoneBuilder);
this.flowLayoutPanel1.Controls.Add(this.btnRoomDesigner); this.flowLayoutPanel1.Controls.Add(this.btnRoomDesigner);
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(601, 193); this.flowLayoutPanel1.Size = new System.Drawing.Size(625, 193);
this.flowLayoutPanel1.TabIndex = 1; this.flowLayoutPanel1.TabIndex = 1;
// //
// btnProjectManager // btnProjectManager
@ -155,17 +159,29 @@
this.btnCurrencyEditor.UseVisualStyleBackColor = true; this.btnCurrencyEditor.UseVisualStyleBackColor = true;
this.btnCurrencyEditor.Click += new System.EventHandler(this.btnCurrencyEditor_Click); this.btnCurrencyEditor.Click += new System.EventHandler(this.btnCurrencyEditor_Click);
// //
// btnRoomDesigner // btnRealmExplorer
// //
this.btnRoomDesigner.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnRealmExplorer.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRoomDesigner.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnRealmExplorer.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnRoomDesigner.Location = new System.Drawing.Point(309, 3); this.btnRealmExplorer.Location = new System.Drawing.Point(309, 3);
this.btnRoomDesigner.Name = "btnRoomDesigner"; this.btnRealmExplorer.Name = "btnRealmExplorer";
this.btnRoomDesigner.Size = new System.Drawing.Size(147, 55); this.btnRealmExplorer.Size = new System.Drawing.Size(147, 55);
this.btnRoomDesigner.TabIndex = 2; this.btnRealmExplorer.TabIndex = 3;
this.btnRoomDesigner.Text = "Room Designer"; this.btnRealmExplorer.Text = "Realm Explorer";
this.btnRoomDesigner.UseVisualStyleBackColor = true; this.btnRealmExplorer.UseVisualStyleBackColor = true;
this.btnRoomDesigner.Click += new System.EventHandler(this.btnRoomDesigner_Click); this.btnRealmExplorer.Click += new System.EventHandler(this.btnRealmExplorer_Click);
//
// btnZoneBuilder
//
this.btnZoneBuilder.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnZoneBuilder.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnZoneBuilder.Location = new System.Drawing.Point(462, 3);
this.btnZoneBuilder.Name = "btnZoneBuilder";
this.btnZoneBuilder.Size = new System.Drawing.Size(147, 55);
this.btnZoneBuilder.TabIndex = 4;
this.btnZoneBuilder.Text = "Zone Builder";
this.btnZoneBuilder.UseVisualStyleBackColor = true;
this.btnZoneBuilder.Click += new System.EventHandler(this.btnZoneBuilder_Click);
// //
// tabFunctions // tabFunctions
// //
@ -300,11 +316,23 @@
this.tabVariables.Text = "Variables"; this.tabVariables.Text = "Variables";
this.tabVariables.UseVisualStyleBackColor = true; this.tabVariables.UseVisualStyleBackColor = true;
// //
// btnRoomDesigner
//
this.btnRoomDesigner.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRoomDesigner.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnRoomDesigner.Location = new System.Drawing.Point(3, 64);
this.btnRoomDesigner.Name = "btnRoomDesigner";
this.btnRoomDesigner.Size = new System.Drawing.Size(147, 55);
this.btnRoomDesigner.TabIndex = 5;
this.btnRoomDesigner.Text = "Room Designer";
this.btnRoomDesigner.UseVisualStyleBackColor = true;
this.btnRoomDesigner.Click += new System.EventHandler(this.btnRoomDesigner_Click_1);
//
// frmMain // frmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(615, 383); this.ClientSize = new System.Drawing.Size(639, 383);
this.Controls.Add(this.splitContainer1); this.Controls.Add(this.splitContainer1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false; this.MaximizeBox = false;
@ -338,7 +366,6 @@
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Button btnProjectManager; private System.Windows.Forms.Button btnProjectManager;
private System.Windows.Forms.Button btnCurrencyEditor; private System.Windows.Forms.Button btnCurrencyEditor;
private System.Windows.Forms.Button btnRoomDesigner;
private System.Windows.Forms.TabPage tabFunctions; private System.Windows.Forms.TabPage tabFunctions;
private System.Windows.Forms.GroupBox groupBox9; private System.Windows.Forms.GroupBox groupBox9;
private System.Windows.Forms.GroupBox groupBox14; private System.Windows.Forms.GroupBox groupBox14;
@ -351,6 +378,9 @@
private System.Windows.Forms.GroupBox groupBox8; private System.Windows.Forms.GroupBox groupBox8;
private System.Windows.Forms.RichTextBox txtScript; private System.Windows.Forms.RichTextBox txtScript;
private System.Windows.Forms.TabPage tabVariables; private System.Windows.Forms.TabPage tabVariables;
private System.Windows.Forms.Button btnRealmExplorer;
private System.Windows.Forms.Button btnZoneBuilder;
private System.Windows.Forms.Button btnRoomDesigner;
} }
} }

View file

@ -36,5 +36,20 @@ namespace MudDesigner
{ {
Program.ExecuteApp("Room Designer.exe"); Program.ExecuteApp("Room Designer.exe");
} }
private void btnRealmExplorer_Click(object sender, EventArgs e)
{
Program.ExecuteApp("Realm Explorer.exe");
}
private void btnZoneBuilder_Click(object sender, EventArgs e)
{
Program.ExecuteApp("Zone Builder.exe");
}
private void btnRoomDesigner_Click_1(object sender, EventArgs e)
{
Program.ExecuteApp("Room Designer.exe");
}
} }
} }

View file

@ -9,7 +9,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RealmExplorer</RootNamespace> <RootNamespace>RealmExplorer</RootNamespace>
<AssemblyName>RealmExplorer</AssemblyName> <AssemblyName>Realm Explorer</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>
@ -56,6 +56,10 @@
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmMain.resx">
<DependentUpon>frmMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
@ -75,6 +79,12 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput> <DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MUDEngine\MUDEngine.csproj">
<Project>{33828B3B-F227-4726-8FCD-3D9D780E643D}</Project>
<Name>MUDEngine</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View file

@ -28,12 +28,252 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.lstRealms = new System.Windows.Forms.ListBox();
this.propertyRealm = new System.Windows.Forms.PropertyGrid();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.btnRealm = new System.Windows.Forms.Button();
this.btnDeleteRealm = new System.Windows.Forms.Button();
this.btnSaveRealm = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lstAvailableZones = new System.Windows.Forms.ListBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.lstZonesInRealm = new System.Windows.Forms.ListBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.groupBox4);
this.splitContainer1.Panel2.Controls.Add(this.groupBox3);
this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
this.splitContainer1.Panel2.Controls.Add(this.groupBox1);
this.splitContainer1.Size = new System.Drawing.Size(460, 488);
this.splitContainer1.SplitterDistance = 193;
this.splitContainer1.TabIndex = 0;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.lstRealms);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.propertyRealm);
this.splitContainer2.Size = new System.Drawing.Size(193, 488);
this.splitContainer2.SplitterDistance = 220;
this.splitContainer2.TabIndex = 0;
//
// lstRealms
//
this.lstRealms.Dock = System.Windows.Forms.DockStyle.Fill;
this.lstRealms.FormattingEnabled = true;
this.lstRealms.Location = new System.Drawing.Point(0, 0);
this.lstRealms.Name = "lstRealms";
this.lstRealms.Size = new System.Drawing.Size(193, 212);
this.lstRealms.TabIndex = 0;
//
// propertyRealm
//
this.propertyRealm.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyRealm.Location = new System.Drawing.Point(0, 0);
this.propertyRealm.Name = "propertyRealm";
this.propertyRealm.Size = new System.Drawing.Size(193, 264);
this.propertyRealm.TabIndex = 0;
this.propertyRealm.ToolbarVisible = false;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.btnClose);
this.groupBox1.Controls.Add(this.btnSaveRealm);
this.groupBox1.Controls.Add(this.btnDeleteRealm);
this.groupBox1.Controls.Add(this.btnRealm);
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(260, 77);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Realm Setup";
//
// btnRealm
//
this.btnRealm.Location = new System.Drawing.Point(6, 19);
this.btnRealm.Name = "btnRealm";
this.btnRealm.Size = new System.Drawing.Size(114, 23);
this.btnRealm.TabIndex = 0;
this.btnRealm.Text = "New Realm";
this.btnRealm.UseVisualStyleBackColor = true;
//
// btnDeleteRealm
//
this.btnDeleteRealm.Location = new System.Drawing.Point(6, 48);
this.btnDeleteRealm.Name = "btnDeleteRealm";
this.btnDeleteRealm.Size = new System.Drawing.Size(114, 23);
this.btnDeleteRealm.TabIndex = 1;
this.btnDeleteRealm.Text = "Delete Realm";
this.btnDeleteRealm.UseVisualStyleBackColor = true;
//
// btnSaveRealm
//
this.btnSaveRealm.Location = new System.Drawing.Point(142, 19);
this.btnSaveRealm.Name = "btnSaveRealm";
this.btnSaveRealm.Size = new System.Drawing.Size(109, 23);
this.btnSaveRealm.TabIndex = 2;
this.btnSaveRealm.Text = "Save Realm";
this.btnSaveRealm.UseVisualStyleBackColor = true;
//
// btnClose
//
this.btnClose.Location = new System.Drawing.Point(142, 48);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(109, 23);
this.btnClose.TabIndex = 3;
this.btnClose.Text = "Close Explorer";
this.btnClose.UseVisualStyleBackColor = true;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lstAvailableZones);
this.groupBox2.Location = new System.Drawing.Point(0, 83);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(260, 144);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Available Zones";
//
// lstAvailableZones
//
this.lstAvailableZones.Dock = System.Windows.Forms.DockStyle.Fill;
this.lstAvailableZones.FormattingEnabled = true;
this.lstAvailableZones.Location = new System.Drawing.Point(3, 16);
this.lstAvailableZones.Name = "lstAvailableZones";
this.lstAvailableZones.Size = new System.Drawing.Size(254, 121);
this.lstAvailableZones.TabIndex = 1;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.lstZonesInRealm);
this.groupBox3.Location = new System.Drawing.Point(2, 305);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(260, 180);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Zones contained within Realm";
//
// lstZonesInRealm
//
this.lstZonesInRealm.Dock = System.Windows.Forms.DockStyle.Fill;
this.lstZonesInRealm.FormattingEnabled = true;
this.lstZonesInRealm.Location = new System.Drawing.Point(3, 16);
this.lstZonesInRealm.Name = "lstZonesInRealm";
this.lstZonesInRealm.Size = new System.Drawing.Size(254, 160);
this.lstZonesInRealm.TabIndex = 1;
//
// groupBox4
//
this.groupBox4.Controls.Add(this.button2);
this.groupBox4.Controls.Add(this.button1);
this.groupBox4.Location = new System.Drawing.Point(2, 233);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(260, 66);
this.groupBox4.TabIndex = 3;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Realm Zone Setup";
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Top;
this.button1.Location = new System.Drawing.Point(3, 16);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(254, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Insert Zone Into Realm";
this.button1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Top;
this.button2.Location = new System.Drawing.Point(3, 39);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(254, 23);
this.button2.TabIndex = 2;
this.button2.Text = "Remove Zone From Realm";
this.button2.UseVisualStyleBackColor = true;
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Text = "Form1"; this.ClientSize = new System.Drawing.Size(460, 488);
this.Controls.Add(this.splitContainer1);
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Realm Explorer";
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.ResumeLayout(false);
} }
#endregion #endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.ListBox lstRealms;
private System.Windows.Forms.PropertyGrid propertyRealm;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btnRealm;
private System.Windows.Forms.Button btnDeleteRealm;
private System.Windows.Forms.Button btnSaveRealm;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.ListBox lstAvailableZones;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.ListBox lstZonesInRealm;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
} }
} }

View file

@ -6,14 +6,32 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using MUDEngine.Objects.Environment;
using MUDEngine;
namespace RealmExplorer namespace RealmExplorer
{ {
public partial class frmMain : Form public partial class frmMain : Form
{ {
Zone _Zone;
Realm _Realm;
public frmMain() public frmMain()
{ {
InitializeComponent(); InitializeComponent();
_Zone = new Zone();
_Realm = new Realm();
}
private void btnNewRealm_Click(object sender, EventArgs e)
{
_Zone = new Zone();
_Realm = new Realm();
}
private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
{
} }
} }
} }

View file

@ -9,7 +9,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ZoneBuilder</RootNamespace> <RootNamespace>ZoneBuilder</RootNamespace>
<AssemblyName>ZoneBuilder</AssemblyName> <AssemblyName>Zone Builder</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>
@ -56,6 +56,10 @@
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmMain.resx">
<DependentUpon>frmMain.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
@ -75,6 +79,12 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput> <DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MUDEngine\MUDEngine.csproj">
<Project>{33828B3B-F227-4726-8FCD-3D9D780E643D}</Project>
<Name>MUDEngine</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View file

@ -28,11 +28,24 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.SuspendLayout();
//
// frmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Text = "frmMain"; this.ClientSize = new System.Drawing.Size(349, 314);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Zone Builder";
this.ResumeLayout(false);
} }
#endregion #endregion
} }
} }

View file

@ -6,14 +6,21 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using MUDEngine;
using MUDEngine.Objects.Environment;
namespace ZoneBuilder namespace ZoneBuilder
{ {
public partial class frmMain : Form public partial class frmMain : Form
{ {
Zone _CurrentZone;
Room _CurrentRoom;
public frmMain() public frmMain()
{ {
InitializeComponent(); InitializeComponent();
_CurrentRoom = new Room();
_CurrentZone = new Zone();
} }
} }
} }