예제 #1
0
        internal NewCompanyDialog(CompanyDataClient dataClient)
        {
            _dataRepo = dataClient;

            InitializeComponent();
            cbCompanyTypes.DataSource = _dataRepo.GetCompanyTypes();
        }
예제 #2
0
 private void OnLoad(object sender, EventArgs eventArgs)
 {
     btnFind.Select();
     setPlaceholder(txtCompanyName);
     setPlaceholder(txtCompanyId);
     setPlaceholder(txtCountryCode);
     cbCompanyTypes.DataSource    = _dataRepo.GetCompanyTypes();
     cbCompanyTypes.SelectedIndex = -1;
 }