Beispiel #1
0
 void MeetingClient_GetMeetingRoomAppSingleInfoByAppIdCompleted(object sender, GetMeetingRoomAppSingleInfoByAppIdCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 GetMeetingRoomAppInfo(e.Result,e.Result.T_OA_MEETINGROOM);
                 tmpRoomTimeT = e.Result;
                 StrDepartmentID = tmpRoomTimeT.OWNERDEPARTMENTID;
                                         
                 //this.audititem.Visibility = Visibility.Visible;
                 if (actions == FormTypes.Audit)
                 {
                     //audit.XmlObject = DataObjectToXml<T_OA_MEETINGROOMAPP>.ObjListToXml(tmpRoomTimeT, "OA"); 
                 }
                 RefreshUI(RefreshedTypes.AuditInfo);
                 RefreshUI(RefreshedTypes.All);
             }
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Message,Utility.GetResourceStr("ERROR"),e.Error.ToString());
             return;
         }
     }
     //throw new NotImplementedException();
 }
Beispiel #2
0
        void MeetingClient_GetMeetingRoomAppSingleInfoByAppIdCompleted(object sender, GetMeetingRoomAppSingleInfoByAppIdCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                if (e.Error == null)
                {
                    if (e.Result != null)
                    {
                        GetMeetingRoomAppInfo(e.Result, e.Result.T_OA_MEETINGROOM);
                        tmpRoomTimeT    = e.Result;
                        StrDepartmentID = tmpRoomTimeT.OWNERDEPARTMENTID;

                        //this.audititem.Visibility = Visibility.Visible;
                        if (actions == FormTypes.Audit)
                        {
                            //audit.XmlObject = DataObjectToXml<T_OA_MEETINGROOMAPP>.ObjListToXml(tmpRoomTimeT, "OA");
                        }
                        RefreshUI(RefreshedTypes.AuditInfo);
                        RefreshUI(RefreshedTypes.All);
                    }
                }
                else
                {
                    Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), e.Error.ToString());
                    return;
                }
            }
            //throw new NotImplementedException();
        }