コード例 #1
0
 void SendDocClient_GetMeetingInfoSingleInfoByIdCompleted(object sender, GetMeetingInfoSingleInfoByIdCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 T_OA_MEETINGINFO senddoc = new T_OA_MEETINGINFO();
                 senddoc = e.Result;
                 this.tblMeetingContent.RichTextBoxContext = senddoc.CONTENT;
                 tblMeetingContent.HideControls();
             }
         }
         else
         {
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"),
             Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
             return;
         }
     }
 }
コード例 #2
0
 void SendDocClient_GetMeetingInfoSingleInfoByIdCompleted(object sender, GetMeetingInfoSingleInfoByIdCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 T_OA_MEETINGINFO senddoc = new T_OA_MEETINGINFO();
                 senddoc = e.Result;
                 this.tblMeetingContent.RichTextBoxContext = senddoc.CONTENT;
                 tblMeetingContent.HideControls();
             }
         }
         else
         {
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"),
                                            Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
             return;
         }
     }
 }
コード例 #3
0
ファイル: MeetingForm.xaml.cs プロジェクト: JuRogn/OA
 void MeetingClient_GetMeetingInfoSingleInfoByIdCompleted(object sender, GetMeetingInfoSingleInfoByIdCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Error == null)
         {
             if (e.Result != null)
             {
                 //GetMeetingInfoByInfo(e.Result);
                 tmpMeetingInfo = e.Result;
                 GetMeetingInfoByInfoAudit(e.Result);
                 RefreshUI(RefreshedTypes.AuditInfo);
                 RefreshUI(RefreshedTypes.All);
                 //InitAudit(e.Result);
                 GetMeetingStaffInfo(e.Result);
                 GetMeetingMessageInfo(e.Result);
                 //audit.XmlObject = DataObjectToXml<T_OA_MEETINGINFO>.ObjListToXml(tmpMeetingInfo, "OA"); 
             }
         }
     }
     //throw new NotImplementedException();
 }