protected virtual void OnFinishCommand(object obj) { ReferenceWindow referenceWindow = (ReferenceWindow)obj; referenceWindow.DialogResult = true; referenceWindow.Close(); }
protected virtual void OnCancelCommand(object obj) { ReferenceWindow referenceWindow = (ReferenceWindow)obj; referenceWindow.DialogResult = false; referenceWindow.Close(); }