Esempio n. 1
0
        private void bindingSourceDept_CurrentItemChanged(object sender, EventArgs e)
        {
            if (bindingSourceDept.Current != null)
            {
                _RecordedDept = (BO_Departement)bindingSourceDept.Current;

                this.FillingDataGridView(_RecordedDept.Deptno);
            }
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            label4.Text      = string.Empty;
            _RecordedDept    = new BO_Departement();
            _RecordedEmploye = new BO_Employe();

            this.FillingComboBox();
            if (bindingSourceDept.Current != null)
            {
                _RecordedDept = (BO_Departement)bindingSourceDept.Current;
            }
            this.FillingDataGridView(_RecordedDept.Deptno);
        }
Esempio n. 3
0
 private void buttonGetAllDept_Click(object sender, EventArgs e)
 {
     _RecordedDept = new BO_Departement();
     FillingDataGridView(_RecordedDept.Deptno);
 }