private void TS_Home_Click(object sender, EventArgs e) { Tr.Select(); iStart = Tr.Value; TS_Home.BackColor = Color.Red; TSTXT_Start.Text = iStart.ToString(); }
private void TSB_End_Click(object sender, EventArgs e) { Tr.Select(); iEnd = Tr.Value; TSB_End.BackColor = Color.Red; TSTXT_End.Text = iEnd.ToString(); }
private void LBxPolut_KeyDown(object sender, KeyEventArgs e) { ListBox nlb = (ListBox)sender; LBxPolut.SelectedIndex = nlb.Items.IndexOf(nlb.SelectedItem); e.Handled = true; Tr.Select(); }
private void LBxPolut_KeyUp(object sender, KeyEventArgs e) { Tr.Select(); }
private void LBxPolut_KeyPress(object sender, KeyPressEventArgs e) { Tr.Select(); }