private void PositionCompletionPopup(int index) { Rect r = SearchTextBox.GetRectFromCharacterIndex(index); Flyout.HorizontalOffset = r.Left - 7; Options.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity)); Flyout.Width = Options.DesiredSize.Width; }
private void OnLostFocus(object sender, RoutedEventArgs e) { if (SelectedItem != null && !Options.IsKeyboardFocusWithin) { Commit(SelectedItem); SearchTextBox.ScrollToEnd(); } }
/// <summary> /// Event handler for clicking "search" app bar button. /// </summary> private void Search_Click(object sender, EventArgs e) { HideDirections(); _isRouteSearch = false; SearchTextBox.SelectAll(); SearchTextBox.Visibility = Visibility.Visible; SearchTextBox.Focus(); }
public DownloadSearchWindow(DownloadSearchViewModel viewModel) { InitializeComponent(); _viewModel = viewModel; DataContext = viewModel; SearchTextBox.Focus(); }
private void load() { InternalChild = ContentContainer = new Container { Width = WIDTH, RelativeSizeAxes = Axes.Y, Children = new Drawable[] { Background = new Box { Anchor = Anchor.TopRight, Origin = Anchor.TopRight, Scale = new Vector2(2, 1), // over-extend to the left for transitions RelativeSizeAxes = Axes.Both, Colour = Color4.Black, Alpha = 0.6f, }, SectionsContainer = new SettingsSectionsContainer { Masking = true, RelativeSizeAxes = Axes.Both, ExpandableHeader = CreateHeader(), FixedHeader = searchTextBox = new SearchTextBox { RelativeSizeAxes = Axes.X, Origin = Anchor.TopCentre, Anchor = Anchor.TopCentre, Width = 0.95f, Margin = new MarginPadding { Top = 20, Bottom = 20 }, Exit = Hide, }, Footer = CreateFooter() }, } }; if (showSidebar) { AddInternal(Sidebar = new Sidebar { Width = sidebar_width }); SectionsContainer.SelectedSection.ValueChanged += section => { selectedSidebarButton.Selected = false; selectedSidebarButton = Sidebar.Children.Single(b => b.Section == section.NewValue); selectedSidebarButton.Selected = true; }; } searchTextBox.Current.ValueChanged += term => SectionsContainer.SearchContainer.SearchTerm = term.NewValue; CreateSections()?.ForEach(AddSection); }
public MainSales(EditAndDelete editAndDelete) { _editAndDelete = editAndDelete; _salesObservableCollection = new ObservableCollection <DatabaseFirst.Sales>(); InitializeComponent(); GetItemsFromDatabase(); SearchTextBox.SetView(SalesListView, CustomFilter); }
private void SearchButton_Click(object sender, System.EventArgs e) { //Storing the value of SearchTextBox var searchText = SearchTextBox.Text; //Validating SearchTextBox value if (string.IsNullOrEmpty(searchText)) { //Displaying MessageBox, as the input in SearchTextBox is not valid ShowMessageBox("You must enter a customer name", MessageBoxType.Error); //Setting focus back to SearchTextBox SearchTextBox.Focus(); } else { //Clearing SearchTextBox SearchTextBox.Text = string.Empty; //Calling ClearDisplay method to clear all items from ListBox ClearDisplay(); //Finding the users based on the SearchTextBox input //Using LINQ's WHERE method to find the customers //While comparing Names, setting the values to Uppercase for ignoring cases var searchedCustomers = CustomerDB .Where(x => x.FName.ToUpper().Contains(searchText.ToUpper()) || x.LName.ToUpper().Contains(searchText.ToUpper())); //Checking if there is any customers or not based on the SearchTextBox Input if (searchedCustomers == null || searchedCustomers.Count() <= 0) { //Showing MessageBox as no customer was found ShowMessageBox("Customer not found, please try again", MessageBoxType.Error); //Setting focus back to SearchTextBox SearchTextBox.Focus(); //Breaking the execution by using return, so that code doesn't execute any further return; } //If the execution reaches here, that means some customers was found //Declaring & Initializing an object of type List<string> type var customerDetails = new List <string>(); //Using foreach loop to cycle the elements of searchedCustomers List foreach (var customer in searchedCustomers) { //Fetching customer details by calling the GetCustomer method //Then, adding it to the customerDetails list customerDetails.Add(customer.GetCustomer()); } //Setting the DataSource of ListBox CustomerDetailsListBox.DataSource = customerDetails; //Setting the SelectedIndex of ListBox to -1, so that when it displays the //value, a default value is not selected in the ListBox CustomerDetailsListBox.SelectedIndex = -1; } }
private void ClearListButton_Click(object sender, System.EventArgs e) { //Calling ClearBoxes method to clear textboxes ClearDisplay(); //Setting focus back to SearchTextBox SearchTextBox.Focus(); //Enabling the ADD Button AddButton.Enabled = true; }
public AddExistingFileWindow() { InitializeComponent(); Left = MainGlueWindow.MousePosition.X - this.Width / 2; Top = MainGlueWindow.MousePosition.Y - Height / 2; SearchTextBox.Focus(); }
public SearchWindow() { InitializeComponent(); SearchTypeComboBox.ItemsSource = new string[] { "Champion Name", "Skin Name", "Username" }; SearchTypeComboBox.SelectedIndex = 0; SearchTextBox.Focus(); }
private void HideWindow(bool b) { //((Storyboard)FindResource("FadeOut")).Begin(this); //Wait(300); Hide(); SearchTextBox.SelectAll(); Hide_PopupToolTip(null, null); WindowState = WindowState.Minimized; }
void ReferenceDialogKeyDown(object sender, KeyEventArgs e) { if (e.KeyData == (Keys.Control | Keys.F)) { SearchTextBox.Visible = true; SearchTextBox.Focus(); e.Handled = true; } }
private void MoveDownPassButton_Click(object sender, RoutedEventArgs e) { SearchTextBox.Clear(); var model = (sender as Button)?.DataContext as VisitorPass; MyViewModel.MoveDown(model); VisitorPassDataGrid.SelectedItem = model; VisitorPassDataGrid.Focus(); }
private void RootLayout_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) { if (sender == SearchTextBox) { return; } SearchTextBox.Focus(); }
private void LogoutUser() { IsUserLogged = false; SelectedMessage = null; SelectedMessageSent = null; lastSelectedMessage = null; lastSelectedMessageSent = null; SearchTextBox.Clear(); }
private void VisitorPassDataGrid_KeyDown(object sender, KeyEventArgs e) { switch (e.Key) { case Key.Delete: { e.Handled = true; var listofSelectedPasses = VisitorPassDataGrid.SelectedItems.Cast <VisitorPass>().OrderBy(x => x.OrderOfPerference).ToArray(); for (var count = 0; count < listofSelectedPasses.Length; count++) { MyViewModel.RemoveVisitorPass(listofSelectedPasses[count]); } break; } case Key.Add: case Key.OemPlus: { SearchTextBox.Clear(); e.Handled = true; var listofSelectedPasses = VisitorPassDataGrid.SelectedItems.Cast <VisitorPass>().OrderBy(x => x.OrderOfPerference).ToArray(); if (listofSelectedPasses == null || listofSelectedPasses[0].OrderOfPerference <= 1) { break; } VisitorPassDataGrid.SelectedItems.Clear(); for (var count = 0; count < listofSelectedPasses.Length; count++) { MyViewModel.MoveUp(listofSelectedPasses[count]); VisitorPassDataGrid.SelectedItems.Add(listofSelectedPasses[count]); } VisitorPassDataGrid.ScrollIntoView(listofSelectedPasses[0]); VisitorPassDataGrid.Focus(); break; } case Key.Subtract: case Key.OemMinus: { SearchTextBox.Clear(); e.Handled = true; var listofSelectedPasses = VisitorPassDataGrid.SelectedItems.Cast <VisitorPass>().OrderBy(x => x.OrderOfPerference).ToArray(); if (listofSelectedPasses == null || listofSelectedPasses[listofSelectedPasses.Length - 1].OrderOfPerference >= MyViewModel.ListofVisitorPasses.Count) { break; } VisitorPassDataGrid.SelectedItems.Clear(); for (var count = listofSelectedPasses.Length - 1; count >= 0; count--) { MyViewModel.MoveDown(listofSelectedPasses[count]); VisitorPassDataGrid.SelectedItems.Add(listofSelectedPasses[count]); } VisitorPassDataGrid.ScrollIntoView(listofSelectedPasses[listofSelectedPasses.Length - 1]); VisitorPassDataGrid.Focus(); break; } } }
public void ShowView() { _presentationService.MakeForeground(this); if (!_viewModel.ShowInitializingScreen) { //User could have removed the focus previously by clicking on one of the matches. SearchTextBox.Focus(); } }
private void Search() { if (!SearchPanel.IsVisible) { SearchPanel.Visibility = Visibility.Visible; } SearchTextBox.Focus(); SearchTextBox.SelectAll(); }
public MainGroups(BackButton backButton, EditAndDelete editAndDelete) { InitializeComponent(); _groupsObservableList = new ObservableCollection <PigGroups>(); GetGroupsFromDataBase(); _backButton = backButton; _editAndDelete = editAndDelete; SearchTextBox.SetView(GroupList, CustomFilter); }
private void FileContentsBox_KeyDown(System.Object sender, System.Windows.Forms.KeyEventArgs e) { if (e.KeyCode.Equals(Keys.F3)) { SearchString(SearchTextBox.Text); } else if (e.KeyCode.Equals(Keys.F) && (Control.ModifierKeys == Keys.Control)) { SearchTextBox.Focus(); } }
private void ClearAllToolBoxs() { IDTextBox.Clear(); ExpDateTimePicker.CustomFormat = " "; CatagoryComboBox.SelectedIndex = -1; SearchTextBox.Clear(); AmountTextBox.Clear(); ExpDescTextBox.Clear(); IDTextBox.Focus(); GetAllExpances(); }
// Mit dieser Methode wird der Focus in die Textbox gesetzt void LoginControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) { if ((bool)e.NewValue) { Dispatcher.BeginInvoke( DispatcherPriority.ContextIdle, new Action(delegate { SearchTextBox.Focus(); })); } }
public void Show(Point location) { // Set this.Left = location.X; this.Top = location.Y; // Show this.Visibility = Visibility.Visible; // FOcus SearchTextBox.Focus(); SearchTextBox.SelectAll(); }
// 검색창을 껐다 켰다 하기 private void ToggleSearchPanel() { if (SearchPanel.Visibility == Visibility.Visible) { SearchPanel.Visibility = Visibility.Collapsed; return; } SearchPanel.Visibility = Visibility.Visible; SearchTextBox.Focus(); }
public Form1() { InitializeComponent(); SearchTextBox searchBox = new SearchTextBox(); searchBox.Size = new System.Drawing.Size(200, 20); searchBox.Location = new Point(10, 200); searchBox.Search += searchBox_Search; this.Controls.Add(searchBox); }
private void SelectEscortPersonnel_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) { if ((e.NewValue is Visibility visibility ? visibility : Visibility.Hidden) == Visibility.Visible) { this.UpdateLayout(); SearchTextBox.SelectAll(); SearchTextBox.Focus(); ListofPossibleEscortDataGrid.SelectedIndex = 0; } }
public void Search() { this.Selection = null; Filter.criteria = SearchTextBox.Text; Filter.orderAsc = descButton.IsChecked.HasValue && descButton.IsChecked.Value ? false : true; Filter.pageSize = ShowAllChechBox.IsChecked.Value ? int.MaxValue : BrowserDataFilter.DEFAULT_PAGE_SIZE; BrowserDataPage <Domain.Measure> page = Service.getAllDescendents(Filter); this.listBox.ItemsSource = page != null ? page.rows : null; this.okButton.IsEnabled = Selection != null; SearchTextBox.Focus(); }
// When the window is opened for the first time. private void MainWindow_Load(object sender, EventArgs e) { // Set water mark on text fields DirectoryTextBox.SetWatermark("Directory"); SearchTextBox.SetWatermark("Search"); // Initialize form controls EmoteBox.Image = new Bitmap(1, 1); EmoteSizeLabel.Text = string.Empty; ResultReporterLabel.Text = string.Empty; _uiService.LoadConfig(DirectoryTextBox); }
private void Window_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) { if (!(bool)e.NewValue) { // Switch back to the search tab and clear the filter inputs SearchTextBox.Text = string.Empty; TagsTextBox.Text = string.Empty; FavoritesTextBox.Text = string.Empty; tabControl.SelectedIndex = 0; } else if (startup == true) { /* We have to briefly load the window on startup in order to * obtain an HwndSource, so put it somewhere where the user * won't be bothered by it. */ Left = -9999; Top = -9999; } else { /* Window is becoming visible - spawn it according to the * user's preferences */ if (!((App)Application.Current).Preferences.spawnNearTextCaret || !putNearTextCaret()) { var spawnPlacement = ((App)Application.Current).Preferences.spawnPlacement; switch (spawnPlacement) { case SpawnPlacement.SPAWN_NEAR_CURSOR: spawnNearCursor(); break; case SpawnPlacement.SPAWN_NEAR_WINDOW: spawnNearWindow(); break; case SpawnPlacement.SPAWN_IN_MONITOR: spawnInMonitor(); break; } } // Focus window & textbox once it's re-marked as visible DependencyPropertyChangedEventHandler handler = null; handler = delegate { Win32.SetFocus(new HandleRef(this, GetHwnd())); SearchTextBox.Focus(); SearchTextBox.IsVisibleChanged -= handler; }; SearchTextBox.IsVisibleChanged += handler; } }
/// <summary> /// Focus the SearchBox or clear all the text from it /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Search_Click(object sender, RoutedEventArgs e) { // If the SearchBox is not empty then the Clear Search option was pressed // Make the SearchBox empty if (false == string.IsNullOrWhiteSpace(SearchTextBox.Text)) { SearchTextBox.Text = string.Empty; } // Put the mouse cursor inside the SearchBox by focus it SearchTextBox.Focus(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mLoadSaveButton = new System.Windows.Forms.Button(); this.mListContentsButton = new System.Windows.Forms.Button(); this.mClearButton = new System.Windows.Forms.Button(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.statusBar1 = new System.Windows.Forms.Label(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadSaveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.loadTextFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.applyDataWithoutSavingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.debugDialogMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listTeamsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listApperanceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listAttributesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listSpecialTeamsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listScheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listFreeAgentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listDraftClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.coachOptionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.listCoachesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.scheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoCorrectScheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.teamPlayersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.validateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sortPlayersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editSortFormulasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoUpdateSpecialTeamsDepthToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoUpdateDepthChartToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoUpdatePhotoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.autoUpdatePBPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.formatScheduleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.playerEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.uIToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.increaseFontSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.decreaseFontSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.nameColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mListPlayersButton2 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.mSaveButton = new System.Windows.Forms.Button(); this.mLoadTextFileButton = new System.Windows.Forms.Button(); this.mTextBox = new NFL2K5Tool.SearchTextBox(); this.fullCoachAttributesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.menuStrip1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // mLoadSaveButton // this.mLoadSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mLoadSaveButton.Location = new System.Drawing.Point(13, 360); this.mLoadSaveButton.Name = "mLoadSaveButton"; this.mLoadSaveButton.Size = new System.Drawing.Size(75, 23); this.mLoadSaveButton.TabIndex = 5; this.mLoadSaveButton.Text = "&Load Save"; this.mLoadSaveButton.UseVisualStyleBackColor = true; this.mLoadSaveButton.Click += new System.EventHandler(this.mLoadSaveButton_Click); // // mListContentsButton // this.mListContentsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mListContentsButton.Enabled = false; this.mListContentsButton.Location = new System.Drawing.Point(191, 360); this.mListContentsButton.Name = "mListContentsButton"; this.mListContentsButton.Size = new System.Drawing.Size(119, 23); this.mListContentsButton.TabIndex = 15; this.mListContentsButton.Text = "List &Contents"; this.mListContentsButton.UseVisualStyleBackColor = true; this.mListContentsButton.Click += new System.EventHandler(this.mListContentsButton_Click); // // mClearButton // this.mClearButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mClearButton.Location = new System.Drawing.Point(316, 360); this.mClearButton.Name = "mClearButton"; this.mClearButton.Size = new System.Drawing.Size(75, 23); this.mClearButton.TabIndex = 20; this.mClearButton.Text = "Clear"; this.mClearButton.UseVisualStyleBackColor = true; this.mClearButton.Click += new System.EventHandler(this.mClearButton_Click); // // numericUpDown1 // this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.numericUpDown1.Location = new System.Drawing.Point(12, 18); this.numericUpDown1.Maximum = new decimal(new int[] { 1000000, 0, 0, 0}); this.numericUpDown1.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(55, 20); this.numericUpDown1.TabIndex = 4; this.numericUpDown1.Value = new decimal(new int[] { 1936, 0, 0, 0}); // // statusBar1 // this.statusBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.statusBar1.AutoSize = true; this.statusBar1.Location = new System.Drawing.Point(13, 390); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(59, 13); this.statusBar1.TabIndex = 6; this.statusBar1.Text = "Load a File"; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.editToolStripMenuItem, this.uIToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(678, 24); this.menuStrip1.TabIndex = 7; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.loadSaveToolStripMenuItem, this.loadTextFileToolStripMenuItem, this.applyDataWithoutSavingToolStripMenuItem, this.saveToolStripMenuItem, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // loadSaveToolStripMenuItem // this.loadSaveToolStripMenuItem.Name = "loadSaveToolStripMenuItem"; this.loadSaveToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.loadSaveToolStripMenuItem.Text = "&Load Save"; this.loadSaveToolStripMenuItem.Click += new System.EventHandler(this.loadSaveToolStripMenuItem_Click); // // loadTextFileToolStripMenuItem // this.loadTextFileToolStripMenuItem.Name = "loadTextFileToolStripMenuItem"; this.loadTextFileToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.loadTextFileToolStripMenuItem.Text = "LoadTextFile"; this.loadTextFileToolStripMenuItem.Click += new System.EventHandler(this.loadTextFileAction); // // applyDataWithoutSavingToolStripMenuItem // this.applyDataWithoutSavingToolStripMenuItem.Name = "applyDataWithoutSavingToolStripMenuItem"; this.applyDataWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.applyDataWithoutSavingToolStripMenuItem.Text = "Apply data without saving"; this.applyDataWithoutSavingToolStripMenuItem.Click += new System.EventHandler(this.applyDataWithoutSavingToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.mSaveButton_Click); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(212, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.findToolStripMenuItem, this.debugDialogMenuItem, this.listTeamsToolStripMenuItem, this.listApperanceToolStripMenuItem, this.listAttributesToolStripMenuItem, this.listSpecialTeamsToolStripMenuItem, this.listScheduleToolStripMenuItem, this.listFreeAgentsToolStripMenuItem, this.listDraftClassToolStripMenuItem, this.coachOptionsToolStripMenuItem}); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.viewToolStripMenuItem.Text = "&View"; // // findToolStripMenuItem // this.findToolStripMenuItem.Name = "findToolStripMenuItem"; this.findToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.findToolStripMenuItem.Text = "F&ind"; this.findToolStripMenuItem.Click += new System.EventHandler(this.findToolStripMenuItem_Click); // // debugDialogMenuItem // this.debugDialogMenuItem.Enabled = false; this.debugDialogMenuItem.Name = "debugDialogMenuItem"; this.debugDialogMenuItem.Size = new System.Drawing.Size(167, 22); this.debugDialogMenuItem.Text = "&Debug Dialog"; this.debugDialogMenuItem.Click += new System.EventHandler(this.stringToHexToolStripMenuItem_Click); // // listTeamsToolStripMenuItem // this.listTeamsToolStripMenuItem.Checked = true; this.listTeamsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.listTeamsToolStripMenuItem.Name = "listTeamsToolStripMenuItem"; this.listTeamsToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listTeamsToolStripMenuItem.Text = "List Teams"; this.listTeamsToolStripMenuItem.Click += new System.EventHandler(this.listTeamsToolStripMenuItem_Click); // // listApperanceToolStripMenuItem // this.listApperanceToolStripMenuItem.Checked = true; this.listApperanceToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.listApperanceToolStripMenuItem.Name = "listApperanceToolStripMenuItem"; this.listApperanceToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listApperanceToolStripMenuItem.Text = "List Apperance"; this.listApperanceToolStripMenuItem.Click += new System.EventHandler(this.listApperanceToolStripMenuItem_Click); // // listAttributesToolStripMenuItem // this.listAttributesToolStripMenuItem.Checked = true; this.listAttributesToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.listAttributesToolStripMenuItem.Name = "listAttributesToolStripMenuItem"; this.listAttributesToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listAttributesToolStripMenuItem.Text = "List Attributes"; this.listAttributesToolStripMenuItem.Click += new System.EventHandler(this.listAttributesToolStripMenuItem_Click); // // listSpecialTeamsToolStripMenuItem // this.listSpecialTeamsToolStripMenuItem.Name = "listSpecialTeamsToolStripMenuItem"; this.listSpecialTeamsToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listSpecialTeamsToolStripMenuItem.Text = "List Special teams"; this.listSpecialTeamsToolStripMenuItem.Click += new System.EventHandler(this.listSpecialTeamsToolStripMenuItem_Click); // // listScheduleToolStripMenuItem // this.listScheduleToolStripMenuItem.Name = "listScheduleToolStripMenuItem"; this.listScheduleToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listScheduleToolStripMenuItem.Text = "List Schedule"; this.listScheduleToolStripMenuItem.Click += new System.EventHandler(this.listScheduleToolStripMenuItem_Click); // // listFreeAgentsToolStripMenuItem // this.listFreeAgentsToolStripMenuItem.Name = "listFreeAgentsToolStripMenuItem"; this.listFreeAgentsToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listFreeAgentsToolStripMenuItem.Text = "List Free Agents"; this.listFreeAgentsToolStripMenuItem.Click += new System.EventHandler(this.listFreeAgentsToolStripMenuItem_Click); // // listDraftClassToolStripMenuItem // this.listDraftClassToolStripMenuItem.Name = "listDraftClassToolStripMenuItem"; this.listDraftClassToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.listDraftClassToolStripMenuItem.Text = "List Draft Class"; this.listDraftClassToolStripMenuItem.Click += new System.EventHandler(this.listDraftClassToolStripMenuItem_Click); // // coachOptionsToolStripMenuItem // this.coachOptionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.listCoachesToolStripMenuItem1, this.fullCoachAttributesToolStripMenuItem}); this.coachOptionsToolStripMenuItem.Name = "coachOptionsToolStripMenuItem"; this.coachOptionsToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.coachOptionsToolStripMenuItem.Text = "Coach Options"; // // listCoachesToolStripMenuItem1 // this.listCoachesToolStripMenuItem1.Name = "listCoachesToolStripMenuItem1"; this.listCoachesToolStripMenuItem1.Size = new System.Drawing.Size(185, 22); this.listCoachesToolStripMenuItem1.Text = "List Coaches"; this.listCoachesToolStripMenuItem1.Click += new System.EventHandler(this.listCoachesToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.scheduleToolStripMenuItem, this.autoCorrectScheduleToolStripMenuItem, this.teamPlayersToolStripMenuItem, this.validateToolStripMenuItem, this.sortPlayersToolStripMenuItem, this.editSortFormulasToolStripMenuItem, this.autoUpdateSpecialTeamsDepthToolStripMenuItem, this.autoUpdateDepthChartToolStripMenuItem, this.autoUpdatePhotoToolStripMenuItem, this.autoUpdatePBPToolStripMenuItem, this.formatScheduleToolStripMenuItem, this.playerEditorToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "&Edit"; // // scheduleToolStripMenuItem // this.scheduleToolStripMenuItem.Name = "scheduleToolStripMenuItem"; this.scheduleToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.scheduleToolStripMenuItem.Text = "Show &Schedule Now"; this.scheduleToolStripMenuItem.Click += new System.EventHandler(this.scheduleToolStripMenuItem_Click); // // autoCorrectScheduleToolStripMenuItem // this.autoCorrectScheduleToolStripMenuItem.Name = "autoCorrectScheduleToolStripMenuItem"; this.autoCorrectScheduleToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.autoCorrectScheduleToolStripMenuItem.Text = "Auto Correct Schedule"; this.autoCorrectScheduleToolStripMenuItem.Click += new System.EventHandler(this.autoCorrectScheduleToolStripMenuItem_Click); // // teamPlayersToolStripMenuItem // this.teamPlayersToolStripMenuItem.Name = "teamPlayersToolStripMenuItem"; this.teamPlayersToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.teamPlayersToolStripMenuItem.Text = "Show &Team Players Now"; this.teamPlayersToolStripMenuItem.Click += new System.EventHandler(this.teamPlayersToolStripMenuItem_Click); // // validateToolStripMenuItem // this.validateToolStripMenuItem.Name = "validateToolStripMenuItem"; this.validateToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.validateToolStripMenuItem.Text = "&Validate Players"; this.validateToolStripMenuItem.Click += new System.EventHandler(this.validateToolStripMenuItem_Click); // // sortPlayersToolStripMenuItem // this.sortPlayersToolStripMenuItem.Name = "sortPlayersToolStripMenuItem"; this.sortPlayersToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.sortPlayersToolStripMenuItem.Text = "&Sort Players"; this.sortPlayersToolStripMenuItem.Click += new System.EventHandler(this.sortPlayersToolStripMenuItem_Click); // // editSortFormulasToolStripMenuItem // this.editSortFormulasToolStripMenuItem.Name = "editSortFormulasToolStripMenuItem"; this.editSortFormulasToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.editSortFormulasToolStripMenuItem.Text = "&Edit sort formulas"; this.editSortFormulasToolStripMenuItem.Click += new System.EventHandler(this.editSortFormulasToolStripMenuItem_Click); // // autoUpdateSpecialTeamsDepthToolStripMenuItem // this.autoUpdateSpecialTeamsDepthToolStripMenuItem.Name = "autoUpdateSpecialTeamsDepthToolStripMenuItem"; this.autoUpdateSpecialTeamsDepthToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.autoUpdateSpecialTeamsDepthToolStripMenuItem.Text = "Auto Update Special Teams Depth"; this.autoUpdateSpecialTeamsDepthToolStripMenuItem.Click += new System.EventHandler(this.autoUpdateSpecialTeamsDepthToolStripMenuItem_Click); // // autoUpdateDepthChartToolStripMenuItem // this.autoUpdateDepthChartToolStripMenuItem.Name = "autoUpdateDepthChartToolStripMenuItem"; this.autoUpdateDepthChartToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.autoUpdateDepthChartToolStripMenuItem.Text = "Auto Update &Depth Chart"; this.autoUpdateDepthChartToolStripMenuItem.Click += new System.EventHandler(this.autoUpdateDepthChartToolStripMenuItem_Click); // // autoUpdatePhotoToolStripMenuItem // this.autoUpdatePhotoToolStripMenuItem.Name = "autoUpdatePhotoToolStripMenuItem"; this.autoUpdatePhotoToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.autoUpdatePhotoToolStripMenuItem.Text = "Auto update Photo"; this.autoUpdatePhotoToolStripMenuItem.Click += new System.EventHandler(this.autoUpdatePhotoToolStripMenuItem_Click); // // autoUpdatePBPToolStripMenuItem // this.autoUpdatePBPToolStripMenuItem.Name = "autoUpdatePBPToolStripMenuItem"; this.autoUpdatePBPToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.autoUpdatePBPToolStripMenuItem.Text = "Auto update PBP"; this.autoUpdatePBPToolStripMenuItem.Click += new System.EventHandler(this.autoUpdatePBPToolStripMenuItem_Click); // // formatScheduleToolStripMenuItem // this.formatScheduleToolStripMenuItem.Name = "formatScheduleToolStripMenuItem"; this.formatScheduleToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.formatScheduleToolStripMenuItem.Text = "format Schedule"; this.formatScheduleToolStripMenuItem.Visible = false; this.formatScheduleToolStripMenuItem.Click += new System.EventHandler(this.formatScheduleToolStripMenuItem_Click); // // playerEditorToolStripMenuItem // this.playerEditorToolStripMenuItem.Name = "playerEditorToolStripMenuItem"; this.playerEditorToolStripMenuItem.Size = new System.Drawing.Size(254, 22); this.playerEditorToolStripMenuItem.Text = "Player Editor"; this.playerEditorToolStripMenuItem.Click += new System.EventHandler(this.playerEditorToolStripMenuItem_Click); // // uIToolStripMenuItem // this.uIToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.increaseFontSizeToolStripMenuItem, this.decreaseFontSizeToolStripMenuItem, this.nameColorToolStripMenuItem}); this.uIToolStripMenuItem.Name = "uIToolStripMenuItem"; this.uIToolStripMenuItem.Size = new System.Drawing.Size(30, 20); this.uIToolStripMenuItem.Text = "UI"; // // increaseFontSizeToolStripMenuItem // this.increaseFontSizeToolStripMenuItem.Name = "increaseFontSizeToolStripMenuItem"; this.increaseFontSizeToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.increaseFontSizeToolStripMenuItem.Text = "&Increase Font size"; this.increaseFontSizeToolStripMenuItem.Click += new System.EventHandler(this.increaseFontSizeToolStripMenuItem_Click); // // decreaseFontSizeToolStripMenuItem // this.decreaseFontSizeToolStripMenuItem.Name = "decreaseFontSizeToolStripMenuItem"; this.decreaseFontSizeToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.decreaseFontSizeToolStripMenuItem.Text = "&Decrease Font Size"; this.decreaseFontSizeToolStripMenuItem.Click += new System.EventHandler(this.decreaseFontSizeToolStripMenuItem_Click); // // nameColorToolStripMenuItem // this.nameColorToolStripMenuItem.Name = "nameColorToolStripMenuItem"; this.nameColorToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.nameColorToolStripMenuItem.Text = "&Name Color"; this.nameColorToolStripMenuItem.Click += new System.EventHandler(this.nameColorToolStripMenuItem_Click); // // mListPlayersButton2 // this.mListPlayersButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mListPlayersButton2.Enabled = false; this.mListPlayersButton2.Location = new System.Drawing.Point(73, 15); this.mListPlayersButton2.Name = "mListPlayersButton2"; this.mListPlayersButton2.Size = new System.Drawing.Size(88, 23); this.mListPlayersButton2.TabIndex = 8; this.mListPlayersButton2.Text = "Players"; this.mListPlayersButton2.UseVisualStyleBackColor = true; this.mListPlayersButton2.Click += new System.EventHandler(this.mListPlayersButton2_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.numericUpDown1); this.groupBox1.Controls.Add(this.mListPlayersButton2); this.groupBox1.Location = new System.Drawing.Point(501, 359); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(169, 44); this.groupBox1.TabIndex = 9; this.groupBox1.TabStop = false; this.groupBox1.Text = "List This many"; this.groupBox1.Visible = false; // // mSaveButton // this.mSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mSaveButton.Location = new System.Drawing.Point(397, 360); this.mSaveButton.Name = "mSaveButton"; this.mSaveButton.Size = new System.Drawing.Size(75, 23); this.mSaveButton.TabIndex = 25; this.mSaveButton.Text = "&Save"; this.mSaveButton.UseVisualStyleBackColor = true; this.mSaveButton.Click += new System.EventHandler(this.mSaveButton_Click); // // mLoadTextFileButton // this.mLoadTextFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.mLoadTextFileButton.Location = new System.Drawing.Point(94, 360); this.mLoadTextFileButton.Name = "mLoadTextFileButton"; this.mLoadTextFileButton.Size = new System.Drawing.Size(91, 23); this.mLoadTextFileButton.TabIndex = 10; this.mLoadTextFileButton.Text = "Load Text File"; this.mLoadTextFileButton.UseVisualStyleBackColor = true; this.mLoadTextFileButton.Click += new System.EventHandler(this.mLoadTextFileButton_Click); // // mTextBox // this.mTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.mTextBox.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mTextBox.Location = new System.Drawing.Point(2, 27); this.mTextBox.Name = "mTextBox"; this.mTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedBoth; this.mTextBox.SearchString = null; this.mTextBox.Size = new System.Drawing.Size(674, 327); this.mTextBox.StatusControl = null; this.mTextBox.TabIndex = 0; this.mTextBox.Text = ""; this.mTextBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TextBox_MouseDown); // // fullCoachAttributesToolStripMenuItem // this.fullCoachAttributesToolStripMenuItem.Name = "fullCoachAttributesToolStripMenuItem"; this.fullCoachAttributesToolStripMenuItem.Size = new System.Drawing.Size(185, 22); this.fullCoachAttributesToolStripMenuItem.Text = "Full Coach Attributes"; this.fullCoachAttributesToolStripMenuItem.Click += new System.EventHandler(this.fullCoachAttributesToolStripMenuItem_Click); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(678, 411); this.Controls.Add(this.mLoadTextFileButton); this.Controls.Add(this.mSaveButton); this.Controls.Add(this.groupBox1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.mClearButton); this.Controls.Add(this.mTextBox); this.Controls.Add(this.mListContentsButton); this.Controls.Add(this.mLoadSaveButton); this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(694, 200); this.Name = "MainForm"; this.Text = "NFL2K5 Tool"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }