Example #1
0
 /// <summary>
 /// Will set selection box and focus to cell content text box
 /// when form is first shown
 /// </summary>
 private void HandleFirstShown()
 {
     // Set selection box on start up to A1 or 0,0
     FormSpreadsheetPanel.SetSelection(0, 0);
     // Set focus
     CellContentTextBox.Focus();
 }
Example #2
0
 /// <summary>
 /// Updates the text of given SpreadsheetPanel and focuses on enter content text box
 /// </summary>
 /// <param name="ss">A SpreadsheetPanel</param>
 private void UpdateTextBoxesAndFocus(SpreadsheetPanel ss)
 {
     UpdateTextBoxes(ss);
     CellContentTextBox.Focus(); // Focus on cell content text box
 }
Example #3
0
File: Form1.cs Project: 3505VFD/VFD
 void SetFocusToContentInput(SpreadsheetPanel s)
 {
     CellContentTextBox.Focus();
 }