Пример #1
0
 private void init()
 {
     BLL.Profile_BLL profile_BLL = new BLL.Profile_BLL();
     event_end();
     dataGridView1.DataSource = profile_BLL.getAll();
     resetText();
 }
Пример #2
0
 private void QL_PROFILE_Load(object sender, EventArgs e)
 {
     BLL.Profile_BLL profile_BLL = new BLL.Profile_BLL();
     event_end();
     dataGridView1.DataSource          = profile_BLL.getAll();
     dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
 }
Пример #3
0
 private void init()
 {
     BLL.User_BLL user_BLL = new BLL.User_BLL();
     dataGridView1.DataSource = user_BLL.getAll();
     BLL.Profile_BLL profile_BLL = new BLL.Profile_BLL();
     BLL.TBS_BLL     tBS_BLL     = new BLL.TBS_BLL();
     cbProfile.Items.Clear();
     foreach (DataRow row in profile_BLL.getAll().Rows)
     {
         cbProfile.Items.Add(row.ItemArray[1]);
     }
     cbProfile.SelectedIndex = 0;
     cbtablespace.Items.Clear();
     foreach (DataRow row in tBS_BLL.getAll().Rows)
     {
         cbtablespace.Items.Add(row.ItemArray[1]);
     }
     cbtablespace.SelectedIndex = 0;
     event_end();
     dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
 }