public AgendaRow(string MeetingID, string UserID, bool IsHasFile, bool IsHasChildren, bool IsParent, MeetingDataAgenda meetingDataAgenda, MeetingDataCT_ShowAgendaFile_Function callback1, MeetingDataCT_GetAgendaInwWorkCount_Function callback2)
 {
     InitializeComponent();
     this.MeetingID                             = MeetingID;
     this.UserID                                = UserID;
     this.IsHasFile                             = IsHasFile;
     this.IsHasChildren                         = IsHasChildren;
     this.IsParent                              = IsParent;
     this.meetingDataAgenda                     = meetingDataAgenda;
     MeetingDataCT_ShowAgendaFile_Event        += callback1;
     MeetingDataCT_GetAgendaInwWorkCount_Event += callback2;
     base.Loaded                               += AgendaRow_Loaded;
 }
Exemple #2
0
        public AgendaRow(string MeetingID, string UserID, bool IsHasFile, bool IsHasChildren, bool IsParent, MeetingDataAgenda meetingDataAgenda, MeetingDataCT_ShowAgendaFile_Function callback1, MeetingDataCT_GetAgendaInwWorkCount_Function callback2)
        {
            Dictionary <string, string> dictionary = new Dictionary <string, string>();

            dictionary.Add("未開始", "N");
            dictionary.Add("進行中", "U");
            dictionary.Add("已結束", "D");
            cbData = dictionary;
            base._002Ector();
            InitializeComponent();
            this.MeetingID                             = MeetingID;
            this.UserID                                = UserID;
            this.IsHasFile                             = IsHasFile;
            this.IsHasChildren                         = IsHasChildren;
            this.IsParent                              = IsParent;
            this.meetingDataAgenda                     = meetingDataAgenda;
            MeetingDataCT_ShowAgendaFile_Event        += callback1;
            MeetingDataCT_GetAgendaInwWorkCount_Event += callback2;
            base.Loaded                               += new RoutedEventHandler(AgendaRow_Loaded);
        }
 public AgendaRow(string MeetingID, string UserID, bool IsHasFile, bool IsHasChildren, bool IsParent, MeetingDataAgenda meetingDataAgenda, MeetingDataCT_ShowAgendaFile_Function callback1, MeetingDataCT_GetAgendaInwWorkCount_Function callback2)
 {
     //MouseTool.ShowLoading();
     InitializeComponent();
     this.MeetingID         = MeetingID;
     this.UserID            = UserID;
     this.IsHasFile         = IsHasFile;
     this.IsHasChildren     = IsHasChildren;
     this.IsParent          = IsParent;
     this.meetingDataAgenda = meetingDataAgenda;
     this.MeetingDataCT_ShowAgendaFile_Event        += callback1;
     this.MeetingDataCT_GetAgendaInwWorkCount_Event += callback2;
     //this.DataContext = meetingDataAgenda;
     this.Loaded += AgendaRow_Loaded;
     //MouseTool.ShowArrow();
 }