private void btnEditarMotorista_Click(object sender, EventArgs e) { frmPesquisarMotoristacs frmPesquisarMotoristacs = new frmPesquisarMotoristacs(); frmPesquisarMotoristacs.Funcao = "inicio"; new frmPesquisarMotoristacs().Show(); this.Hide(); }
private void BtnMotorista_Click(object sender, EventArgs e) { frmPesquisarMotoristacs frmPesquisarMotoristacs = new frmPesquisarMotoristacs(); frmPesquisarMotoristacs.Funcao = "editar"; new frmPesquisarMotoristacs().Show(); this.Close(); }