private void ButtonRecord_Click(object sender, RoutedEventArgs e) { RecordWindow window = new RecordWindow(); window.ComboBoxUser.Text = LoginWindow._userAccount.UserName; window.ShowInTaskbar = false; window.Owner = this; window.Show(); }
private void Btn_ShowDatas_Click(object sender, RoutedEventArgs e) { RecordWindow window = new RecordWindow() { ShowInTaskbar = false, Owner = this, _CheckItemName = _item.Name }; window.Show(); }
private void ButtonRecord_Click(object sender, RoutedEventArgs e) { RecordWindow window = new RecordWindow(); window.ComboBoxCategory.Text = "重金属"; window.ComboBoxUser.Text = LoginWindow._userAccount.UserName; if (_SelIndex >= 0) { window.ComboBoxItem.Text = Global.hmItems[_SelIndex].Name; } List <string> sList = new List <string> { "全部" }; window.ComboBoxMethod.ItemsSource = sList; window.ShowInTaskbar = false; window.Owner = this; window.ShowDialog(); }