예제 #1
0
 private void RegisterMessage()
 {
     // 刷新整个界面
     Messenger.Default.Register <object>(this, EnumMessageKey.RefreshAnesEventWindow, msg =>
     {
         if (null == this.DelegateRefreshAnesEventWindow)
         {
             this.DelegateRefreshAnesEventWindow = this.LoadData;
         }
         this.DelegateRefreshAnesEventWindow.BeginInvoke(null, null);
     });
 }
예제 #2
0
        private void RegisterMessage()
        {
            // 刷新整个界面
            Messenger.Default.Register <object>(this, EnumMessageKey.RefreshSignVitalWindow, msg =>
            {
                if (null == this.DelegateRefreshSignVitalWindow)
                {
                    this.DelegateRefreshSignVitalWindow = this.LoadVitalSignControl;
                }

                this.DelegateRefreshSignVitalWindow.BeginInvoke(null, null);
            });
        }
예제 #3
0
        /// <summary>
        /// 注销响应消息
        /// </summary>
        private void RegisterMessage()
        {
            // 异步刷新整个界面
            Messenger.Default.Register <object>(this, EnumMessageKey.RefreshTodaySurgery, msg =>
            {
                if (null == this.DelegateRefreshTodaySurgery)
                {
                    this.DelegateRefreshTodaySurgery = this.RefreshData;
                }

                this.DelegateRefreshTodaySurgery.BeginInvoke(null, null);
            });
        }