private void listTagSearchResults_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { UpdateSelectedTag(); }
private void StreamListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { Properties.Settings.Default.CMLDefaultStream = StreamListBox.SelectedItem.ToString(); Properties.Settings.Default.Save(); }
void TabControlBotsName_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { PaintActivTab(TabControlBotsName.SelectedIndex); }
private void friendRequestsList_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { acceptFriendRequestsButton.IsEnabled = friendRequestsList.IsSelectionEnabled && friendRequestsList.SelectedItems.Count > 0; rejectFriendRequestsButton.IsEnabled = friendRequestsList.IsSelectionEnabled && friendRequestsList.SelectedItems.Count > 0; this.ApplicationBar.Mode = friendRequestsList.IsSelectionEnabled ? ApplicationBarMode.Default : ApplicationBarMode.Minimized; }
private void Search(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { Search(); }
private void MainListView_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { GingerSocketLog GSL = (GingerSocketLog)MainListView.SelectedItem; PacketInfoTextBlock.Text = GSL.Info; }
private void CB_DiscType_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { LBL_Status.Content = "Ready to dump"; }
/// <summary> /// switched source /// переключили источник /// </summary> void ComboBoxSource_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { SaveSettings(); CheckButtons(); }
/// <summary> /// set mode changed /// изменён режим работы сета /// </summary> void ComboBoxRegime_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { CheckButtons(); }
private void txt_IP_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { SelectedIndex = txt_IP.SelectedIndex; }
// Stops the user from changing the displayed "Notifications" text to the names of one of the combo boxes private void NotifBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { NotifBox.SelectedIndex = 0; }
private void CommandGroupComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { this.SetGroupTimerInterval(); }
private void SellTimePicker_SelectedDateChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { sale.SoldTime = SellTimePicker.DisplayDate; }
private void Seller_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { sale.Manager = (Manager)Seller.SelectedItem; }
/// <summary> /// Invoked when the selected offset is changed, and informs the viewmodel. /// </summary> /// <param name="sender">Sending object.</param> /// <param name="e">Selection event args.</param> private void DataGridSelectionChanged(Object sender, System.Windows.Controls.SelectionChangedEventArgs e) { this.OffsetEditorViewModel.SelectedOffsetIndex = this.offsetsDataGrid.SelectedIndex; }
/// <summary> /// ComboBox_SelectionChanged /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ComboBox_SelectionChangedFiles(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { }
private void TabControl_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { double containerWidth = SystemParameters.PrimaryScreenWidth; double containerHeight = SystemParameters.PrimaryScreenHeight - 30; string header = ((System.Windows.Controls.HeaderedContentControl)((object[])e.AddedItems)[0]).Header.ToString(); if (header == "Balthazar胰腺病变CT严重性指数评分") { winHostMain.Width = containerWidth; winHostMain.Height = containerHeight; winPanelContent.Width = (int)containerWidth; winPanelContent.Height = (int)containerHeight; winPanelContent.Controls.Add(this.balthazarViewModel.BalthazarForm); } else if (header == "Child-Pugh肝脏疾病患者手术危险性评分") { winHostMain1.Width = containerWidth; winHostMain1.Height = containerHeight; winPanelContent1.Width = (int)containerWidth; winPanelContent1.Height = (int)containerHeight; winPanelContent1.Controls.Add(this.balthazarViewModel.Child_PughForm); } else if (header == "GOLDMAN心脏高危因素评分") { winHostMain2.Width = containerWidth; winHostMain2.Height = containerHeight; winPanelContent2.Width = (int)containerWidth; winPanelContent2.Height = (int)containerHeight; winPanelContent2.Controls.Add(this.balthazarViewModel.GoldmanForm); } else if (header == "Lutz麻醉危险性评分") { winHostMain3.Width = containerWidth; winHostMain3.Height = containerHeight; winPanelContent3.Width = (int)containerWidth; winPanelContent3.Height = (int)containerHeight; winPanelContent3.Controls.Add(this.balthazarViewModel.Lutz); } else if (header == "PARS麻醉恢复评分") { winHostMain4.Width = containerWidth; winHostMain4.Height = containerHeight; winPanelContent4.Width = (int)containerWidth; winPanelContent4.Height = (int)containerHeight; winPanelContent4.Controls.Add(this.balthazarViewModel.Pars); } else if (header == "APACHE2评分") { winHostMain5.Width = containerWidth; winHostMain5.Height = containerHeight; winPanelContent5.Width = (int)containerWidth; winPanelContent5.Height = (int)containerHeight; winPanelContent5.Controls.Add(this.balthazarViewModel.ScoreAPACHEIIPanel); } else if (header == "TISS评分") { winHostMain6.Width = containerWidth; winHostMain6.Height = containerHeight; winPanelContent6.Width = (int)containerWidth; winPanelContent6.Height = (int)containerHeight; winPanelContent6.Controls.Add(this.balthazarViewModel.ScoreTISSPanel); } }
/// <summary> /// ComboBox_SelectionChangedFilter /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ComboBox_SelectionChangedFilter(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { Button_Click_Refresh(sender, null); }
//! Enable or disable the comment button whenever the ticket selection changes. private void LwTickets_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { BtnShowComment.IsEnabled = !string.IsNullOrEmpty(((Ticket)LwTickets.SelectedItem)?.Comment); }
private void ServerDataGrid_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { RefreshFloatingIpDataGridBinding(); }
/// <summary> /// changed tf/изменился ТФ /// </summary> void _comboBoxTimeFrame_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { Enum.TryParse(_comboBoxTimeFrame.SelectedItem.ToString(), out TimeFrame); Save(); }
private void LbxSearchType_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { InitSearchItems(); }
private void cmBConnection_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { LoadEntityNames(cmBEntityTypeNameOrCode, GetConnectionData()); }
private void Items_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { skia.InvalidateVisual(); }
private void procesy_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { }
private void servicenameList_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { }
private void _listCategory_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { PopulatePS(); }
private void DriveBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { GetDIVersions(); }
private void DataGrid_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { UpdateUI(); }
private void duration_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) { Running.log_interval = duration.SelectedIndex; }