protected virtual void on_delete_event(object o, DeleteEventArgs args) { EditEventWindowBox.edit_event.Hide(); EditEventWindowBox = null; }