Пример #1
0
 public FileRow(string UserID, string UserName, string UserPWD, string MeetingID, string UserEmail
                , int index, bool IsLastRow, MeetingDataDownloadFileFile meetingDataDownloadFileFile
                , MeetingDataCT_RaiseAllDownload_Function callback1
                , MeetingDataCT_HangTheDownloadEvent_Function callback2
                , MeetingDataCT_IsAllFileRowFinished_AddInitUIFinished_Function callback3
                , MeetingDataCT_GetBookVMs_ByMeetingFileCate_Function callback4
                , MeetingDataCT_GetWatermark_Function callback5
                , MeetingRoomButtonType meetingRoomButtonType
                , MeetingDataCT_Counting_Finished_FileCount_Function callback6)
 {
     //MouseTool.ShowLoading();
     InitializeComponent();
     this.UserID    = UserID;
     this.UserName  = UserName;
     this.UserPWD   = UserPWD;
     this.MeetingID = MeetingID;
     this.UserEmail = UserEmail;
     this.index     = index;
     this.IsLastRow = IsLastRow;
     this.meetingDataDownloadFileFile              = meetingDataDownloadFileFile;
     this.MeetingDataCT_RaiseAllDownload_Event     = callback1;
     this.MeetingDataCT_HangTheDownloadEvent_Event = callback2;
     this.MeetingDataCT_IsAllFileRowFinished_AddInitUIFinished_Event = callback3;
     this.MeetingDataCT_GetBookVMs_ByMeetingFileCate_Event           = callback4;
     this.MeetingDataCT_GetWatermark_Event = callback5;
     this.MeetingDataCT_Counting_Finished_FileCount_Event = callback6;
     this.meetingRoomButtonType = meetingRoomButtonType;
     this.fileItem  = null;
     this.Loaded   += FileRow_Loaded;
     this.Unloaded += FileRow_Unloaded;
     //MouseTool.ShowArrow();
 }
Пример #2
0
 private void FileRow_Unloaded(object sender, RoutedEventArgs e)
 {
     MeetingDataCT_RaiseAllDownload_Event     = null;
     MeetingDataCT_HangTheDownloadEvent_Event = null;
 }