Exemple #1
0
        public QuickView()
        {
            InitializeComponent();

            tempRecList = SelectTempRecs();

            FillDataGridView(dgvTempRecs, tempRecList);

            cbCompany.SelectedIndex = 0;
            cbCompany.Items.AddRange(Company.GetCompaniesComboboxItemsList(companyList).ToArray <ComboboxItem>());

            cbLawyerFullname.SelectedIndex = 0;
            cbLawyerFullname.Items.AddRange(Responsible.GetResponsibleComboboxItemsList(responsibleList).ToArray <ComboboxItem>());

            cbNatPower.SelectedIndex = 0;
            cbNatPower.Items.AddRange(NationalPower.GetNationalPowerComboboxItemsList(nationalPowerList).ToArray <ComboboxItem>());
        }