コード例 #1
0
        protected virtual void OnFinishCommand(object obj)
        {
            ReferenceWindow referenceWindow = (ReferenceWindow)obj;

            referenceWindow.DialogResult = true;
            referenceWindow.Close();
        }
コード例 #2
0
        protected virtual void OnCancelCommand(object obj)
        {
            ReferenceWindow referenceWindow = (ReferenceWindow)obj;

            referenceWindow.DialogResult = false;
            referenceWindow.Close();
        }