コード例 #1
0
ファイル: ChooseUsers.g.cs プロジェクト: nilavghosh/VChk
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/bCheck.Admin;component/Controls/ChooseUsers.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtChooseTitle = ((System.Windows.Controls.TextBlock)(this.FindName("txtChooseTitle")));
     this.UsersBorder = ((System.Windows.Controls.Border)(this.FindName("UsersBorder")));
     this.UserContainer = ((System.Windows.Controls.StackPanel)(this.FindName("UserContainer")));
     this.txtSearch = ((System.Windows.Controls.TextBox)(this.FindName("txtSearch")));
     this.btnUserSearch = ((System.Windows.Controls.Border)(this.FindName("btnUserSearch")));
     this.btnAdd = ((System.Windows.Controls.Border)(this.FindName("btnAdd")));
     this.ResultsGrid = ((Utilities.Silverlight.Controls.ExcelGrid.ExcelGridControl)(this.FindName("ResultsGrid")));
     this.loadingIcon = ((Utilities.Silverlight.Controls.ExcelGrid.LoadingIcon)(this.FindName("loadingIcon")));
     this.btnSave = ((System.Windows.Controls.Border)(this.FindName("btnSave")));
     this.btnCancel = ((System.Windows.Controls.Border)(this.FindName("btnCancel")));
 }
コード例 #2
0
ファイル: MainPage.g.i.cs プロジェクト: nilavghosh/VChk
 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
ファイル: ExcelGrid.cs プロジェクト: nilavghosh/VChk
        public ExcelGrid(ExcelGridControl gridControl, int RowHeight, StringBuilder log, bool moveOptimiseEnabled,
            TextBox largeTextBox, TextBlock largeTextArea)
        {
            GridControl = gridControl;
            GridControl.Setup(this);

            EnableAdd = true;
            Editable = true;
            MoveOptimiseEnabled = moveOptimiseEnabled;
            moveOptimise = new MoveOptimiseHandler(this, moveOptimiseEnabled);
            SelectHandler = new SelectHandler(this);
            EditControlsHandler = new EditControlsHandler(this);
            StatusHandler = new StatusHandler(this);
            InteractionHandler = new InteractionHandler(this);
            cellNavigationHandler = new CellNavigationHandler(this);
            ClipboardHandler = new ClipboardHandler(this);
            FilterHandler = new FilterHandler(this);
            LargeTextHandler = new LargeTextHandler(largeTextBox, largeTextArea);
            UndoHandler = new UndoHandler(this);
            ScrollProximityHandler = new ScrollProximityHandler(this);
            DisplayColumnSpacer = true;
            AllowInserts = true;
            rowHeight = RowHeight;
            Rows = new List<RowHandler>();
            Log = log;
            if (DesignerProperties.IsInDesignTool == false)
            {
                HtmlPage.RegisterScriptableObject("ExcelGrid", this);
            } 
            InvalidRows = new List<RowHandler>();
            UpdatingRows = new List<RowHandler>();
        }
コード例 #4
0
ファイル: ExcelGrid.cs プロジェクト: nilavghosh/VChk
 public ExcelGrid(ExcelGridControl gridControl, int RowHeight, StringBuilder log, TextBox largeTextBox, TextBlock largeTextArea)
     :this(gridControl, RowHeight, log, true, largeTextBox, largeTextArea)
 {
 }