public FloatingDialog() { ctrl = new FloatingWindowControl(); ctrl.Close += new EventHandler(ctrl_Close); }