/// <summary> /// /// </summary> /// <param name="currentBackEventArgs"></param> private void OnReportBack(BackEventArgs currentBackEventArgs) { if (ReportBack != null) { ReportBack(this, currentBackEventArgs); } }
public void populateAndRender(List <ObjectData> list, DateTime upperbound, DateTime lowerbound, bool activate_temp, List <POICoordinatesObject> poilist, bool camera) { this.upperbound = upperbound; this.lowerbound = lowerbound; this.activate_temp = activate_temp; if (camera) { int r = list.Count - 9; list.RemoveRange(9, r); } parseToPictureData(list, poilist); Debug.Log("COunt" + list.Count); if (pictureDataList.Count != 0) { var eventArgs = new UpdatePicturesEventArgs(pictureDataList); // Dispatch the 'Result changed' event OnUpdatePictures(this, eventArgs); } else { Debug.Log("No Results found"); var eventArgs = new BackEventArgs(); OnEDialog(this, eventArgs); } }
//Functions to call once an Event occurs private void HandleBack(object sender, BackEventArgs e) { IMainMenuModel mainMenuModel = transform.GetComponent <MainMenuController>().GETMainMenuModel(); model.ChangeVisibility(false); mainMenuModel.ChangeVisibility(true); }
private void HandleError(object sender, BackEventArgs e) { view.setErrorDialogVisibility(false); IMainMenuController mainMenuController = GetComponent <MainMenuController>(); mainMenuController.GETMainMenuView().SetMainMenuVisibility(true); }
private void SearchDebug(object sender, BackEventArgs e) { IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); IMainMenuController menuController = GetComponent <MainMenuController>(); menuController.GETMainMenuModel().ChangeVisibility(false); view.setVisibility(false); resultPanelModel.renderDebugPicture(); resultPanelModel.ChangeResultVisibility(true); }
private void ShowDialog(object sender, BackEventArgs e) { view.setAllResultMenuVisibility(false); IQueryMenuController controller = gameObject.GetComponent <QueryMenuController>(); controller.getview().setVisibility(true); controller.getview().error(); controller.getview().setErrorDialogVisibility(true); Debug.Log("Error Window showing"); }
private void HandleSearchSelect(object sender, BackEventArgs e) { IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); model.ChangeVisibility(false); //resultPanelModel.renderPicture(); resultPanelModel.ChangeResultVisibility(true); IResultPanelView resultPanelView = transform.GetComponent <ResultPanelController>().GETResultPanelView(); Vector3 newpos = new Vector3(Camera.main.transform.position.x, Camera.main.transform.position.y, Camera.main.transform.position.z + 1.3f); resultPanelView.setResultPosition(newpos); }
private void BackEventHandler(object sender, BackEventArgs e) { if (UseSSRSParams()) { return; } ReportStore store = GetStore(); try { //Keep track of depth string script = @"document.getElementById('DrillThroughParams').value = 'parent';"; if (e.ParentReport.IsDrillthroughReport) { Report rep = new Report(Util.ResolveReference(e.ParentReport.DisplayName, ReportPath), store); DrillThrough dt = new DrillThrough(); dt.ReportPath = Util.ResolveReference(e.ParentReport.DisplayName, ReportPath); if (e.ParentReport.GetType() == typeof(ServerReport)) { dt.ParamValues = Util.GetRuntimeParameters(e.ParentReport.GetParameters()); } else { dt.ParamValues = ((LocalReport)e.ParentReport).OriginalParametersToDrillthrough; } //Store params for client script = @"document.getElementById('DrillThroughParams').value = '" + JsonConvert.SerializeObject(dt) + "';"; } ScriptManager.RegisterStartupScript(this, this.GetType(), "open", script, true); } catch (Exception ex) { string err = ex.Message; if (ex.InnerException != null) { err = ex.InnerException.Message; } SetErrorText(err); } }
private void SearchClicked(object sender, BackEventArgs e) { Debug.Log(myLocation); if (!alreadyfetched) { var query = CineastUnityInterface.Runtime.Vitrivr.UnityInterface.CineastApi.Utils.QueryBuilder .BuildSpatialSimilarityQuery(myLocation.getLat(), myLocation.getLon()); QueryCineastAndProcess(query, false); alreadyfetched = true; } else { setFetchedActiveList(); } IResultPanelModel resultPanelModel = transform.GetComponent <ResultPanelController>().GETResultPanelModel(); IMainMenuController menuController = GetComponent <MainMenuController>(); IResultPanelView resultPanelView = transform.GetComponent <ResultPanelController>().GETResultPanelView(); Vector3 newpos = new Vector3(Camera.main.transform.position.x, Camera.main.transform.position.y, Camera.main.transform.position.z); resultPanelView.setResultPosition(newpos); menuController.GETMainMenuModel().ChangeVisibility(false); view.setVisibility(false); resultPanelModel.ChangeResultVisibility(true); IMapController mapController = GetComponent <MapController>(); mapController.GETMapView().setGameObjectVisibility(false); IMapMenuController mapMenuController = GetComponent <MapMenuController>(); mapMenuController.GETMapMenuView().MenuVisibility(false); ITemporalController temporalController = GetComponent <TemporalController>(); temporalController.GETItTemporalView().MenuVisibility(false); }
public void populateFetchedList(DateTime upperbound, DateTime lowerbound, bool activate_temp, List <POICoordinatesObject> poilist) { this.upperbound = upperbound; this.lowerbound = lowerbound; this.activate_temp = activate_temp; List <int> finalkeys = parseActivePictureData(poilist); if (finalkeys.Count != 0) { Debug.Log("Parsed the keys "); var eventArgs = new UpdatePicturesEventArgs(finalkeys); // Dispatch the 'Result changed' event OnUpdatePictures(this, eventArgs); } else { Debug.Log("No Results found"); var eventArgs = new BackEventArgs(); OnEDialog(this, eventArgs); } }
protected void RptVwr_Back(object sender, BackEventArgs e) { Session["ATypeCd"] = "ALL"; }
public void backClick() { var EventArgs = new BackEventArgs(); OnErrorBack(this, EventArgs); }
/// <summary> /// Handles back button /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void reportViewer1_Back(object sender, BackEventArgs e) { _localReport = (LocalReport)e.ParentReport; OnReportBack(e); }
public void searchClick() { var EventArgs = new BackEventArgs(); OnSearch(this, EventArgs); }
private void OnSearchLogic() { var eventArgs = new BackEventArgs(); OnSearch(this, eventArgs); }
private void HandleSearch(object sender, BackEventArgs e) { IQueryMenuController iqQueryMenuController = GetComponent <QueryMenuController>(); iqQueryMenuController.setAndSearchTemporal(model.UpperBound, model.LowerBound, true); }
/// <summary> /// Event handler for when the back button is clicked inside the reportviewer control /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void wlbReportView1_ReportBack(object sender, BackEventArgs e) { //SynchTreeViewReportList(); }
protected void ReportViewer1_Back(object sender, BackEventArgs e) { }
private void ShowAgain() { var eventArgs = new BackEventArgs(); OnShow(this, eventArgs); }
protected void ReportViewer1_Back(object sender, BackEventArgs e) { this.div_1.Attributes.Add("style", "display:true"); }
protected void Rpt_PatientStatistics_Back(object sender, BackEventArgs e) { Session["ATypeCd"] = "ALL"; }
private void reportViewer_Back(object sender, BackEventArgs e) { toolStripReportParam.Visible = true; }