예제 #1
0
        protected virtual void OnLostFocus()
        {
            result = ModalWindowResult.LostFocus;

            if (owner != null)
            {
                owner.ModalClosed(this);
            }
        }
예제 #2
0
        protected virtual void Ok()
        {
            result = ModalWindowResult.Ok;

            if (owner != null)
            {
                owner.ModalClosed(this);
            }

            Close();
        }