public FlyWind() { InitializeComponent(); flyEngine = new FlyWindEdit(); this.luaEditor = new LuaEdit(); this.Move += new EventHandler(MoveSubForm); this.Resize += new EventHandler(MoveSubForm); this.luaEditor.StartPosition = FormStartPosition.Manual; this.luaEditor.Left = this.Left + this.Width; this.luaEditor.Top = this.Top; this.luaEditor.Show(this); }