private void textBox2_MouseDoubleClick(object sender, MouseEventArgs e) { dataGridView1.DataSource = null; this.toolStripButton2.Enabled = false; this.checkBox2.Checked = false; this.comboBox5.Text = null; this.comboBox6.Text = null; label6.Text = "TOTAL: " + string.Format("{0:C}", 0); label7.Text = "PROMEDIO DIARIO: " + string.Format("{0:C}", 0); this.textBox1.Text = null; this.textBox2.Text = null; if (this.comboBox4.Text == "CANTERA ENTRADAS" || this.comboBox4.Text == "CANTERA SALIDAS") { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(9); op_var.boton4 = true; fr.ShowDialog(); } else if (this.comboBox4.Text == "CENTRO DE COSTOS") { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(10); op_var.boton4 = true; fr.ShowDialog(); } else { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(8); op_var.boton4 = true; fr.ShowDialog(); } }
public void textBox14_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F5) { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(5); fr.ShowDialog(); } }
public void textBox2_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F5) { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(2); op_var.boton4 = true; fr.ShowDialog(); } }
private void textBox14_MouseDoubleClick(object sender, EventArgs e) { Administracion.frmlistatmp fr = new Administracion.frmlistatmp(5); fr.ShowDialog(); }