public void load_history() { ltData = new LtData(this); gridList = new BindingList <LottoryItem>(); if (ltData.load_history() < 0) { MessageBox.Show("Load history data failed\n"); } ltData.clone_history(gridList); }
public void refresh_all_data_update() { gridHis.DataSource = null; ltData.clone_history(gridList); init_number_all(); init_ctrl(); refresh_all_data(); comb_id_select_range_r.SelectedIndex = -1; comb_id_select_range_r.SelectedIndex = 1; gridHis.Focus(); SendKeys.SendWait("^{END}"); }