diff --git a/Mud Designer/UIWidgets/RealmWidget.Designer.cs b/Mud Designer/UIWidgets/RealmWidget.Designer.cs
new file mode 100644
index 0000000..439b2ac
--- /dev/null
+++ b/Mud Designer/UIWidgets/RealmWidget.Designer.cs
@@ -0,0 +1,61 @@
+namespace MudDesigner.UIWidgets
+{
+ partial class RealmExplorer
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.flowContainer = new System.Windows.Forms.FlowLayoutPanel();
+ this.SuspendLayout();
+ //
+ // flowContainer
+ //
+ this.flowContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.flowContainer.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.flowContainer.Location = new System.Drawing.Point(0, 0);
+ this.flowContainer.Name = "flowContainer";
+ this.flowContainer.Padding = new System.Windows.Forms.Padding(10);
+ this.flowContainer.Size = new System.Drawing.Size(537, 502);
+ this.flowContainer.TabIndex = 0;
+ //
+ // RealmExplorer
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Controls.Add(this.flowContainer);
+ this.Name = "RealmExplorer";
+ this.Size = new System.Drawing.Size(537, 502);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.FlowLayoutPanel flowContainer;
+
+ }
+}
diff --git a/Mud Designer/UIWidgets/RealmWidget.cs b/Mud Designer/UIWidgets/RealmWidget.cs
new file mode 100644
index 0000000..d8fa33a
--- /dev/null
+++ b/Mud Designer/UIWidgets/RealmWidget.cs
@@ -0,0 +1,55 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.IO;
+
+using MudDesigner.MudEngine.FileSystem;
+using MudDesigner.MudEngine.GameObjects;
+using MudDesigner.MudEngine.GameObjects.Environment;
+namespace MudDesigner.UIWidgets
+{
+ public partial class RealmExplorer : UserControl
+ {
+ public RealmExplorer()
+ {
+ InitializeComponent();
+ this.Dock = DockStyle.Fill;
+ }
+
+ public Control InstallControl(string projectPath)
+ {
+ string[] files = Directory.GetFiles(Path.Combine(projectPath, "Realms"), "*.realm", SearchOption.AllDirectories);
+
+ //TODO: Add if (files.length==0) statement and set a 'No Realms' label in container
+
+ foreach (string realmFile in files)
+ {
+ Realm realm = new Realm();
+ realm = (Realm)FileManager.Load(realmFile, realm);
+
+ Button button = new Button();
+ button.FlatStyle = FlatStyle.Flat;
+ button.Font = new Font(new FontFamily(System.Drawing.Text.GenericFontFamilies.Serif), 12f, FontStyle.Bold);
+ button.BackColor = System.Drawing.Color.FromArgb(48, 48, 48);
+ button.ForeColor = System.Drawing.Color.LightGray;
+ button.Size = new System.Drawing.Size(160,128);
+ button.Name = "btn" + realm.Name;
+ button.Text = realm.Name;
+ button.Click += new EventHandler(button_Click);
+ flowContainer.Controls.Add(button);
+ }
+
+ return this;
+ }
+
+ void button_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/Mud Designer/UIWidgets/RealmWidget.resx b/Mud Designer/UIWidgets/RealmWidget.resx
new file mode 100644
index 0000000..ff31a6d
--- /dev/null
+++ b/Mud Designer/UIWidgets/RealmWidget.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file