private void LocationMax_TextChanged(object sender, TextChangedEventArgs e) { if (LocationMax.GetLineLength(LocationMax.GetLastVisibleLineIndex()) == 2) { Keyboard.Focus(AddLabel); } }
private void UpdateForm() { AisleNumber.Clear(); SectionName.Clear(); PositionNumber.Clear(); ShelfNumber.Clear(); LocationMax.Clear(); Keyboard.Focus(AisleNumber); OutputViewer.Items.Refresh(); }