Пример #1
0
 /// <summary>
 /// 窗体加载事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ManagerInfo_Load(object sender, EventArgs e)
 {
     com_manager_id.DisplayMember = "Manager_name";
     com_manager_id.ValueMember   = "Id";
     com_manager_id.DataSource    = mb.FindAll();
     com_manager_id.SelectedItem  = null;
 }