Beispiel #1
0
 private void FormDepRegister_Load(object sender, EventArgs e)
 {
     cbds.BuildTree(tvAgentRecord, imageList1, "代理商", "Customer", "Where CustomerType = '1'", "CustomerId", "CustomerName");
 }
 private void FormPurviewAssign_Load(object sender, EventArgs e)
 {
     cbds.BuildTree(tvOperator, imgListOperator, "操作人员", "Operator", "Where IsFlag <> '1'", "OperatorCode", "OperatorName");
     cbds.CheckedListBoxBindDataSource(chlbModule, "MenuItemTag", "ModuleName", "Select * From SysModule", "SysModule");
 }