//LLama al form de eleccion de incentivo private void btnIncentivar_Click(object sender, EventArgs e) { Form7 formMotivar = new Form7(); formMotivar.IdPartida = lblPartida.Text; this.Hide(); formMotivar.Show(); this.Close(); }
//Get Settings private void button_settings_Click(object sender, EventArgs e) { if (this.dataGridView1.SelectedRows.Count <= 0) { MessageBox.Show("Please select a wocket"); return; } label_status.Text = "Loading Wocket..."; button_settings.Enabled = false; Application.DoEvents(); DataGridViewRow selected_row = this.dataGridView1.SelectedRows[0]; int selected_device_index = selected_row.Index; WocketForm = new Form7((BluetoothDeviceInfo)bluetoothlist[selected_device_index]); WocketForm.Show(); label_status.Text = "Wocket Loaded..."; button_settings.Enabled = true; }
private void button7_Click(object sender, EventArgs e) { Form7 f1 = new Form7(); f1.Show(); }
// xem thống kê private void Thongkef2_Click(object sender, EventArgs e) { Form7 Frm7 = new Form7(IDtext.Text); Frm7.Show(); }