Пример #1
0
 public CellTextMultiUser(CellConstruct construct, DataHandlerUser userHandler, ChooseUsers chooseUsers)
     : base(construct)
 {
     _dataHandlerUser = userHandler;
     _chooseUsers = chooseUsers;
     _waitingDelegateInfos = new List<UserInfo>();
 }
Пример #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/bCheck.Admin;component/MainPage.xaml", System.UriKind.Relative));
     this.sbMenuShow = ((System.Windows.Media.Animation.Storyboard)(this.FindName("sbMenuShow")));
     this.sbMenuHide = ((System.Windows.Media.Animation.Storyboard)(this.FindName("sbMenuHide")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.grdStatus = ((System.Windows.Controls.Grid)(this.FindName("grdStatus")));
     this.bdrLoading = ((System.Windows.Controls.Border)(this.FindName("bdrLoading")));
     this.txtLoading = ((System.Windows.Controls.TextBlock)(this.FindName("txtLoading")));
     this.ldgIcon = ((Utilities.Silverlight.Controls.ExcelGrid.LoadingIcon)(this.FindName("ldgIcon")));
     this.log = ((bCheck.Admin.Log)(this.FindName("log")));
     this.excelGridControl = ((Utilities.Silverlight.Controls.ExcelGrid.ExcelGridControl)(this.FindName("excelGridControl")));
     this.border = ((System.Windows.Controls.Border)(this.FindName("border")));
     this.stkLists = ((System.Windows.Controls.StackPanel)(this.FindName("stkLists")));
     this.ldgLists = ((Utilities.Silverlight.Controls.ExcelGrid.LoadingIcon)(this.FindName("ldgLists")));
     this.txtTextLine = ((System.Windows.Controls.TextBox)(this.FindName("txtTextLine")));
     this.lblTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("lblTextBlock")));
     this.bdrHeader = ((System.Windows.Controls.Border)(this.FindName("bdrHeader")));
     this.grdListDropdown = ((System.Windows.Controls.Grid)(this.FindName("grdListDropdown")));
     this.txtGridName = ((System.Windows.Controls.TextBlock)(this.FindName("txtGridName")));
     this.txtStatus = ((System.Windows.Controls.TextBlock)(this.FindName("txtStatus")));
     this.txtRowCount = ((System.Windows.Controls.TextBlock)(this.FindName("txtRowCount")));
     this.btnPaste = ((System.Windows.Controls.Image)(this.FindName("btnPaste")));
     this.btnSave = ((System.Windows.Controls.Image)(this.FindName("btnSave")));
     this.grdGenerateAdhoc = ((System.Windows.Controls.Grid)(this.FindName("grdGenerateAdhoc")));
     this.btnCopy1 = ((System.Windows.Controls.Image)(this.FindName("btnCopy1")));
     this.grdVersionHistory = ((System.Windows.Controls.Grid)(this.FindName("grdVersionHistory")));
     this.btnCopy3 = ((System.Windows.Controls.Image)(this.FindName("btnCopy3")));
     this.listSettings = ((System.Windows.Controls.Grid)(this.FindName("listSettings")));
     this.grdAlertMe = ((System.Windows.Controls.Grid)(this.FindName("grdAlertMe")));
     this.btnCopy2 = ((System.Windows.Controls.Image)(this.FindName("btnCopy2")));
     this.grdUserGroup = ((System.Windows.Controls.Grid)(this.FindName("grdUserGroup")));
     this.userGroupimg = ((System.Windows.Controls.Image)(this.FindName("userGroupimg")));
     this.grdLocTaskView = ((System.Windows.Controls.Grid)(this.FindName("grdLocTaskView")));
     this.btnlocTaskView = ((System.Windows.Controls.Image)(this.FindName("btnlocTaskView")));
     this.grdOrgStructure = ((System.Windows.Controls.Grid)(this.FindName("grdOrgStructure")));
     this.grdHierUpload = ((System.Windows.Controls.Grid)(this.FindName("grdHierUpload")));
     this.grdCloseList = ((System.Windows.Controls.Grid)(this.FindName("grdCloseList")));
     this.btnHelp = ((System.Windows.Controls.Image)(this.FindName("btnHelp")));
     this.chooseUsers = ((bCheck.Admin.Controls.ChooseUsers)(this.FindName("chooseUsers")));
     this.activityPopup = ((bCheck.Admin.Controls.ActivityFinderPopup)(this.FindName("activityPopup")));
     this.logStatus = ((System.Windows.Shapes.Rectangle)(this.FindName("logStatus")));
     this.btnLog = ((System.Windows.Controls.Image)(this.FindName("btnLog")));
 }
Пример #3
0
        private static void ShowChooseUsers(ChooseUsers chooseUsers, List<Cell> cells)
        {
            if (cells.Count > 1)
                chooseUsers.SetMultiCell(cells);
            else
                chooseUsers.SetCell(cells[0]);
            chooseUsers.Visibility = Visibility.Visible;

        }