/// <summary> /// 显示开标人列表 /// /// </summary> /// <param name="IsNew"></param> private void LoadBiddingOpener(bool IsNew) { List <string> listOpener = BiddingBFL.ListAvaiableBiddingOpener(); List <string[]> listSelectedOpener = BiddingBFL.ListBiddingOpener(this.BiddingEmitCode); chkOpener.Items.Clear(); foreach (string item in listOpener) { ListItem opener = new ListItem(); opener.Text = SystemRule.GetUserName(item); opener.Value = item; if (IsNew) { opener.Selected = true; } else { foreach (string[] selectitem in listSelectedOpener) { if (selectitem[0] == item) { opener.Selected = true; if (selectitem[1] != "") { opener.Text += "(" + selectitem[1] + ")"; } else { opener.Text += "( - - - )"; } } } } chkOpener.Items.Add(opener); } chkOpener.Enabled = false; }
public string GetUserNameByUserID(string userID) { return(SystemRule.GetUserName(userID)); }
public string GetUserNameByUserCode(string userCode) { return(SystemRule.GetUserName(userCode)); }