private void configurarEmpresaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (frmCompany f = new frmCompany())
     {
         f.ShowDialog();
     }
 }
Exemple #2
0
        private void ShowCompanyForm(int id)
        {
            frmCompany frm = new frmCompany();

            frm.OnDisplayRecord(id);

            frm.ControlBox      = true;
            frm.FormBorderStyle = FormBorderStyle.Fixed3D;
            frm.MaximizeBox     = false;
            frm.ShowDialog();
        }
Exemple #3
0
 private void btnReviewCompanyDetails_Click(object sender, EventArgs e)
 {
     if (companyBindingSource.Count > 0)
     {
         using (frmCompany frm = new frmCompany())
         {
             frm.txtCompaniesFilterCriteria.Text = ((Data.Models.Company)companyBindingSource.Current).CompanyName.ToString();
             frm.ShowDialog();
             this.refreshCompanyInfo();
         }
     }
 }