private void btnlog_Click(object sender, EventArgs e) { if ((Examinar.CurrentRow != null)) { var oform = new FrmSeguridad(); oform._Nombre = Name; oform._ClaveForm = VariablesPublicas.EmpresaID + Examinar.Rows[Examinar.CurrentRow.Index].Cells["cmotivo"].Value; oform.Owner = this; oform.ShowDialog(); } }
private void tsSeguridad_Click(object sender, EventArgs e) { var frm = new FrmSeguridad(); frm._Nombre = Name.Trim(); frm._ClaveForm = VariablesPublicas.EmpresaID + VariablesPublicas.perianio + cbPlanilla.SelectedValue.ToString().Trim() + txtNumAutorizacion.Text.Trim(); frm.ShowDialog(); }
private void tsSeguridad_Click(object sender, EventArgs e) { var oform = new FrmSeguridad(); oform._Nombre = Name; oform._ClaveForm = _Company.Trim() + cboTipoPlanilla.SelectedValue.ToString().Trim(); oform.Owner = this; oform.ShowDialog(); }
private void btnLog_Click(object sender, EventArgs e) { if (u_n_opsel == 0) { FrmSeguridad frmNew = new FrmSeguridad(); //string xclave = VariablesPublicas.EmpresaID + VariablesPublicas.perianio + cboSubdiario.SelectedValue.ToString() + txtMes.Text + txtSerie.Text + txtNumero.Text; string xclave = VariablesPublicas.EmpresaID + "/" + VariablesPublicas.perianio + "/" + cboSubdiario.SelectedValue.ToString() + "/" + txtMes.Text + "-" + txtAsiento.Text; frmNew._Nombre = Name; frmNew._ClaveForm = xclave; frmNew.Owner = this; frmNew.ShowDialog(); } }
private void btnlog_Click(object sender, EventArgs e) { if ((Examinar.CurrentRow != null)) { FrmSeguridad oform = new FrmSeguridad(); oform._Nombre = Name; oform._ClaveForm = Examinar.Rows[Examinar.CurrentRow.Index].Cells["perianio"].Value.ToString() + Examinar.Rows[Examinar.CurrentRow.Index].Cells["perimes"].Value + Examinar.Rows[Examinar.CurrentRow.Index].Cells["peridia"].Value; oform.Owner = this; oform.ShowDialog(); } }
private void btnLog_Click(object sender, EventArgs e) { //if (u_n_opsel == 0) //{ FrmSeguridad oform = new FrmSeguridad(); string xclave = VariablesPublicas.EmpresaID + "/" + VariablesPublicas.perianio + "/" + xdiario + "-" + cboMes.SelectedValue.ToString(); oform._Nombre = Name; oform._ClaveForm = xclave; oform.Owner = this; oform.ShowDialog(); //} }