diff --git a/RoomDesigner/frmMain.Designer.cs b/RoomDesigner/frmMain.Designer.cs index bffb726..a84c78a 100644 --- a/RoomDesigner/frmMain.Designer.cs +++ b/RoomDesigner/frmMain.Designer.cs @@ -184,7 +184,6 @@ this.propertyRoom.Name = "propertyRoom"; this.propertyRoom.Size = new System.Drawing.Size(230, 430); this.propertyRoom.TabIndex = 3; - this.propertyRoom.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyRoom_PropertyValueChanged); // // containerDesigner // diff --git a/RoomDesigner/frmMain.cs b/RoomDesigner/frmMain.cs index 0b61009..d06049c 100644 --- a/RoomDesigner/frmMain.cs +++ b/RoomDesigner/frmMain.cs @@ -25,8 +25,6 @@ namespace RoomDesigner //Scripting engine and it's components. ManagedScripting.ScriptingEngine _ScriptEngine; - ManagedScripting.CodeBuilding.ClassGenerator _CurrentClass; - ManagedScripting.CodeBuilding.MethodSetup _CurrentCodeBlock; //Collection of plugins from within the 'plugins' folder List _Plugins; @@ -310,9 +308,7 @@ namespace RoomDesigner _CurrentRoom = new Room(); _CurrentDoor = new Door(AvailableTravelDirections.None); - _CurrentClass = new ManagedScripting.CodeBuilding.ClassGenerator(); - _CurrentCodeBlock = new ManagedScripting.CodeBuilding.MethodSetup(); - + propertyDoor.SelectedObject = null; propertyRoom.SelectedObject = _CurrentRoom; } @@ -341,10 +337,5 @@ namespace RoomDesigner txtScript.Text = _CurrentRoom.Script; } } - - private void propertyRoom_PropertyValueChanged(object s, PropertyValueChangedEventArgs e) - { - //propertyRoom.Refresh(); - } } }