Exemplo n.º 1
0
        public CurrentApplications()
        {
            InitializeComponent();

            ApplicationsDataGridView.DataSource = Applications.GetCurrent();

            CustomerComboBox.SelectedIndex = 0;
            CustomerComboBox.DataSource    = Customer.GetAllDivisions();

            if (ApplicationsDataGridView.RowCount == 0)
            {
                ApplicationsDataGridView.Visible = false;
                NotificationLabel.Visible        = true;
                CustomerComboBox.Enabled         = false;
            }
        }