private void Form2_Load(object sender, EventArgs e) { servidor = Servidor; bd = BD; usuario = Usuario; pass = Pass; p = new Processor(); radDateTimePicker1.Format =DateTimePickerFormat.Short; radGridView1.CellClick += radGridView1_CellClick; worker.DoWork += worker_DoWork; worker.RunWorkerCompleted += worker_RunWorkerCompleted; }
private void radMenuItem6_Click(object sender, EventArgs e) { DataTable r= new Processor().ReporteBon(radGridView1, bonificaciones); Form3 f = new Form3(); f.Nominas = r; f.Text = @"Total de Bonificaciones"; f.ShowDialog(); }