private void find_FindButtonClick(object sender, FindEventArgs e) { if (FindCriteria != null) { FindCriteria(this, e); } }
private void _sugg_ShowMessageInMainWindow(object sender, FindEventArgs args) { bool flag = false; //tagTable.EnsureVisible(tagTable.GetItemCount() - 1); _main.EnsureMessageIsVisible(args.id); }
private void fastObjectListView1_ItemActivate(object sender, EventArgs e) { var item = suggesterView.GetModelObject(suggesterView.SelectedIndex) as DynamicMessage; var arg = new FindEventArgs(); arg.id = item.Id; ShowMessageInMainWindow?.Invoke(this, arg); }
void _findDetails_Initiated(object sender, FindEventArgs e) { if (this.SearchText != e.FindDetails.FindCriteria) { this.LastSearchIndex = 0; } this.SearchText = e.FindDetails.FindCriteria; this.UpdateFindHighlighting(e.FindDetails.FindCriteria); }
private void OnPreacacheResults(object sender, FindEventArgs args) { /*findResults.Clear(); * if (currentForge != null) * { * Parallel.ForEach(treeView.Nodes.Find(args.Query, true), (n) => * { * findResults.Add(new KeyValuePair<Forge.FileEntry, EntryTreeNode>(currentForge.GetFileEntry(n.Text), (EntryTreeNode)n)); * }); * }*/ }
// private async Task<List<CouponSchedule>> getGoogleInfo(Location loc) // { // List<CouponSchedule> cpns = new List<CouponSchedule>(); // int j = 0; // // string oneRestUrl = setLocation(loc); // using (var client = new HttpClient()) // { // // var response = await client.GetStringAsync(string.Format(oneRestUrl)); // var result = JsonConvert.DeserializeObject<GooglePlaces>(response); // foreach (var info in result.results) // { // CouponSchedule cpn = new CouponSchedule(); // cpn.thisCoupon = new Coupon(); // Console.WriteLine("pat look here =="+info.name); // cpn.thisCoupon.GoogleData = info; // cpns.Add(cpn); // j++; // } // } // return cpns; //} async void FindThisPlace(object sender, FindEventArgs e) { Console.WriteLine("in Group Details - AddNewMEssages"); //BindingContext = _currentChatGroup; //_currentChatGroup.ToDoList = schdmsg.provideDates(); CouponSchedule lookingFor = e.Data; lookingFor = await _google.GooglePlaceDetails(lookingFor); FindPlacePage findPlace = new FindPlacePage(lookingFor, position); await Navigation.PushAsync(findPlace); // toDo.AddToList(addmsg.returnMessages()); //toDo.RefreshItems(true); }
private void DoFind() { if (BtnFindClick != null) { var findArgs = new FindEventArgs { Database = cmbDatabase.SelectedItem.ToString(), FindWhat = cmbFindText.Text, MatchCase = chkMatchCase.Checked, LookInTables = chkTables.Checked, LookInViews = chkViews.Checked, LookInStoredProcedures = chkStoredProcedures.Checked, LookInFunctions = chkFunctions.Checked, LookInIndexes = chkIndexes.Checked }; BtnFindClick(null, findArgs); tvResults.Focus(); } }
void find_FindCriteria(object sender, FindEventArgs e) { if (tabControlMain.Items.Count > 0) { if (e.FindDetails.Options == FindOptions.AllOpenDocuments) { StopFileSwitchOnSearch = false; FileToSearch.FindDetails = e.FindDetails; e.FindDetails.InitiateSearch(); //FileToSearch.Find(e.FindDetails.FindCriteria); } else if (e.FindDetails.Options == FindOptions.CurrentDocument) { StopFileSwitchOnSearch = true; ((FileWatcherTabItem)tabControlMain.Items[tabControlMain.SelectedIndex]).FindDetails = e.FindDetails; e.FindDetails.InitiateSearch(); } } }
private void DoBtnFindClick(object sender, FindEventArgs args) { _view.ClearResults(); var startTime = DateTime.Now; int rowCount = 0; if (args.LookInTables) { var tables = _searches.FindTables(args.Database, args.FindWhat); _view.InsertTableIntoTreeview(tables); rowCount += tables.Count; } if (args.LookInViews) { var views = _searches.FindViews(args.Database, args.FindWhat); _view.InsertViewIntoTreeview(views); rowCount += views.Count; } if (args.LookInIndexes) { var indexes = _searches.FindIndexes(args.Database, args.FindWhat); _view.InsertIndexIntoTreeview(indexes); rowCount += indexes.Count; } if (args.LookInStoredProcedures) { var procedures = _searches.FindProcedures(args.Database, args.FindWhat); _view.InsertProcedureIntoTreeview(procedures); rowCount += procedures.Count; } if (args.LookInFunctions) { var functions = _searches.FindFunctions(args.Database, args.FindWhat); _view.InsertFunctionIntoTreeview(functions); rowCount += functions.Count; } _view.InsertSearchQueryIntoCombobox(args.FindWhat); var executionTime = DateTime.Now - startTime; _view.SetExecutionTime(executionTime); _view.SetLblRowCount(rowCount); }
protected virtual void OnTapped(TapEventArgs e) { Console.WriteLine("TAPPING LOCATION"); Console.WriteLine(e.Sender); Console.WriteLine(Loc.lat); Console.WriteLine(Loc.lng); // Console.WriteLine(Coordinates.lat); // Console.WriteLine(Coordinates.lng); Console.WriteLine(_placeId); if (OnFindCoupon == null) { return; } FindEventArgs args = new FindEventArgs(this); OnFindCoupon(this, args); ///OnFindCoupon(new FindEventArgs(_location)); //AddText(TapInfo("Tapped", e)); }
protected void Map1_FindLoaded(object sender, FindEventArgs e) { rptrFindResults.DataSource = e.Places; rptrFindResults.DataBind(); }
private void OnFindNext(object sender, FindEventArgs args) { //treeView.SelectedNode = findResults[0].Value; }
private void OnFindNext(object sender, FindEventArgs args) { MessageBox.Show("Find feature will be ready in Version 1.4", "Sorry"); }