private void btn_log_Click(object sender, EventArgs e) { var oform = new Seguridadlog.FrmSeguridad(); var xclave = VariablesPublicas.EmpresaID + "/" + VariablesPublicas.perianio; oform._Nombre = Name; oform._ClaveForm = xclave; oform.Owner = this; oform.ShowDialog(); }
private void btn_log_Click(object sender, EventArgs e) { Seguridadlog.FrmSeguridad oform = new Seguridadlog.FrmSeguridad(); String xclave = VariablesPublicas.EmpresaID + "/" + ((D60ALMACEN.MainAlmacen)MdiParent).perianio + "/" + productid.Text.Trim(); oform._Nombre = Name; oform._ClaveForm = xclave; oform.Owner = this; oform.ShowDialog(); }
private void btn_log_Click(object sender, EventArgs e) { var oform = new Seguridadlog.FrmSeguridad(); var xclave = VariablesPublicas.EmpresaID + "-" + modulo + "-" + tipodoc.Text.Trim() + "-" + serdoc.Text.Trim() + "-" + numdoc.Text.Trim(); oform._Nombre = Name; oform._ClaveForm = xclave; oform.Owner = this; oform.ShowDialog(); }
private void btnLog_Click(object sender, EventArgs e) { if (u_n_opsel == 0) { Seguridadlog.FrmSeguridad oform = new Seguridadlog.FrmSeguridad(); //string xclave = VariablesPublicas.perianio + txtMes.Text + txtNumero.Text; //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; oform._Nombre = Name; oform._ClaveForm = xclave; oform.Owner = this; oform.ShowDialog(); } }