public SelectRowHandler(IExcelParams excelParams) { ExcelParams = excelParams; ExcelParams.GridControl.grdRowCont.MouseLeftButtonUp += new MouseButtonEventHandler(grdRowGrid_MouseLeftButtonUp); ExcelParams.GridControl.grdRowCont.MouseLeftButtonDown += new MouseButtonEventHandler(grdRowGrid_MouseLeftButtonDown); ExcelParams.GridControl.grdRowCont.MouseMove += new MouseEventHandler(grdRowGrid_MouseMove); }
internal MoveOptimiseHandler(IExcelParams excelParams, bool moveOptimiseEnabled) { MoveOptimiseEnabled = moveOptimiseEnabled; ExcelParams = excelParams; visibleRows = new List<RowHandler>(); if (MoveOptimiseEnabled) { moveTimer = new DispatcherTimer(); moveTimer.Interval = new TimeSpan(0, 0, 1); moveTimer.Tick += new EventHandler(moveTimer_Tick); moveTimer.Start(); } }
internal CellNavigationHandler(IExcelParams excelParams) { ExcelParams = excelParams; ExcelParams.GridControl.MouseWheel += new MouseWheelEventHandler(GridControl_MouseWheel); /*ExcelParams.GridControl.KeyUp +=new KeyEventHandler(grdMain_KeyUp); ExcelParams.GridControl.KeyDown += new KeyEventHandler(grdMain_KeyDown); ExcelParams.GridControl.grdMain.KeyDown += new KeyEventHandler(grdMain_KeyDown); *//* ExcelParams.GridControl.grdScroller.KeyDown += new KeyEventHandler(grdMain_KeyDown); ExcelParams.GridControl.grdScroller.KeyUp += new KeyEventHandler(grdMain_KeyDown); ExcelParams.GridControl.grdMain.KeyUp += new KeyEventHandler(grdMain_KeyDown); ExcelParams.GridControl.KeyUp += new KeyEventHandler(grdMain_KeyDown); */ //ExcelParams.GridControl.LayoutRoot.KeyDown += new KeyEventHandler(grdMain_KeyDown); }
public DataHandlerUser(IExcelParams excelParams, MainPage page) { PeopleAsmx = Constants.InitParams.PeopleAsmx(page); _peopleService = new PeopleSoapClient("PeopleSoap", PeopleAsmx); _peopleService.ResolvePrincipalsCompleted += PeopleService_ResolvePrincipalsCompleted; _peopleService.SearchPrincipalsCompleted += PeopleService_SearchPrincipalsCompleted; _updateTimer = new DispatcherTimer { Interval = new TimeSpan(0, 0, Constants.UserTimerOffset) }; _updateTimer.Tick += updateTimer_Tick; _updateTimer.Start(); _resolvedUsers = new Dictionary<string, UserInfo>(); _resolveUsersQueue = new Dictionary<UserInfo, List<ResolveComplete>>(); _failedResolveUsers = new Dictionary<UserInfo, List<ResolveComplete>>(); }
public FillHandler(IExcelParams excelParams) { ExcelParams = excelParams; }
public StatusHandler(IExcelParams excelParams) { ExcelParams = excelParams; Statuss = new List<Status>(); ExcelParams.GridControl.sbInfoFade.Completed += new EventHandler(sbInfoFade_Completed); }
public DataHandler(IExcelParams excelParams, MainPage page) { _page = page; _excelParams = excelParams; UpdateHandlerQueue = new List<RowHandler>(); _listHelper = new ListHelper(page); ListAsmx = Constants.InitParams.ListAsmx(page); ListOrgAsmx = Constants.InitParams.ListOrgAsmx(page); FrequencyAsmx = Constants.InitParams.FrequencyAsmx(page); _listHelper.UpdateComplete += listHelper_UpdateComplete; _listHelper.DeleteComplete += listHelper_DeleteComplete; _listsService = new ListsSoapClient("ListsSoap", ServiceParamStatHelper.SetParams(ListAsmx, ServiceParamStatHelper.Actions.QUERY, "UNKNOWN")); _listsOrgService = new ListsSoapClient("ListsSoap", ServiceParamStatHelper.SetParams(ListOrgAsmx, ServiceParamStatHelper.Actions.QUERY, Constants.OrgStructure)); _frequencyService = new ListsSoapClient("ListsSoap", ServiceParamStatHelper.SetParams(FrequencyAsmx, ServiceParamStatHelper.Actions.QUERY, "FrequencyValidation")); _updateTimer = new DispatcherTimer(); _updateTimer.Interval = new TimeSpan(0, 0, Constants.UpdateTimerOffset); _updateTimer.Tick += updateTimer_Tick; _updateTimer.Start(); _listsOrgService.GetListItemsCompleted += ListsOrgService_GetListItemsCompleted; _listsService.GetListCollectionCompleted += Service_GetListCollectionCompleted; _listsService.GetListItemsCompleted += Service_GetListItemsCompleted; //_listsService.GetListAndViewCompleted += Service_GetListAndViewCompleted; _frequencyService.GetListItemsCompleted += FrequencyService_GetListItemsCompleted; ListSettingsAgent = new ListSettingsServiceAgent(ListOrgAsmx); BusinessUnitAgent = new BusinessUnitServiceAgent(Constants.InitParams.SiteRootURL(page), page._sLog); HelperAgent = new HelperServiceAgent(); _dispatcher = Deployment.Current.Dispatcher; InitiateStaticData(); if (_current == null) { _current = this; } }
public SelectHandler(IExcelParams excelParams) { ExcelParams = excelParams; ExcelParams.GridControl.grdMain.MouseLeftButtonDown += new MouseButtonEventHandler(grdMain_MouseLeftButtonDown); ExcelParams.GridControl.grdMain.MouseLeftButtonUp += new MouseButtonEventHandler(grdMain_MouseLeftButtonUp); ExcelParams.GridControl.grdMain.MouseMove += new MouseEventHandler(grdMain_MouseMove); SelectType = SelectTypes.None; selectRowHandler = new SelectRowHandler(ExcelParams); fillHandler = new FillHandler(ExcelParams); }
public ID1Converter(IExcelParams excelParams, ExcelColumn column) { Column = column; ExcelParams = excelParams; }
public void Setup(IExcelParams excelParams) { ExcelParams = excelParams; }
protected virtual RowHandler PopulateRow(IExcelParams excelParams, int index, int height, Dictionary<string, object> data) { return new RowHandler(excelParams, index, rowHeight, data); }
public CellTextControl(IExcelParams excelParams) { ExcelParams = excelParams; InitializeComponent(); }
public InteractionHandler(IExcelParams excelParams) { ExcelParams = excelParams; ExcelParams.GridControl.grdMain.MouseLeftButtonDown +=new MouseButtonEventHandler(grdMain_MouseLeftButtonDown); ExcelParams.GridControl.grdMain.MouseLeftButtonUp += new MouseButtonEventHandler(grdMain_MouseLeftButtonUp); }
public HitTestHelper(IExcelParams excelParams) { ExcelParams = excelParams; }
public virtual bool KeyUpHandler(IExcelParams excelParams, KeyEventArgs e) { bool handled = false; if (KeyUpHandlerDelegate != null) handled = KeyUpHandlerDelegate(excelParams); return handled; }
public static bool ChooseUsersVisible(IExcelParams excelParams) { return ((ChooseUsers)excelParams.SelectHandler.CurrentUniqueColumn.BuilderArgs[1]).Visibility == Visibility.Visible; }
public static bool KeyUpHandlerDelegate(IExcelParams excelParams) { // If the dialog's open the key is already being handled return ChooseUsersVisible(excelParams); }
public static void ProcessMultiCellConfig(IExcelParams excelParams) { ShowChooseUsers((ChooseUsers)excelParams.SelectHandler.CurrentUniqueColumn.BuilderArgs[1], excelParams.SelectHandler.CurrentColumnCellsSelected); }
public AutoDropdown(IExcelParams excelParams) { // Required to initialize variables InitializeComponent(); ExcelParams = excelParams; }
internal EditControlsHandler(IExcelParams excelParams) { ExcelParams = excelParams; }
public SelectControl(IExcelParams excelParams) { InitializeComponent(); ExcelParams = excelParams; }
public ClipboardHandler(IExcelParams excelParams) { ExcelParams = excelParams; //AttachHandler(ExcelParams.GridControl); }