protected virtual void ChildWindowEvent(ChildWindowCommandType type) { if (ChildWindowHandelEvnet != null) { ChildWindowHandelEvnet(this, type); } }
void _childWindow_ChildWindowHandleEvent(object sender, ChildWindowCommandType type) { ChildWindowEvent(type); }
protected virtual void MessageWindowEvent(ChildWindowCommandType type) { }
void _messageWindow_ChildWindowHandleEvent(object sender, ChildWindowCommandType type) { _messageWindow.ShowChildWindow = false; MessageWindowEvent(type); }