Пример #1
0
    protected void ServerGroupIndexChanged(object sender, EventArgs e)
    {
        ServerGroup group = ServerGroupDropDownList.SelectedServerGroup;

        if (group != null)
        {
            ServerDropDownList1.CreateServerList(group);
        }
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!WebUtil.CheckPrivilege(WebConfig.FunctionGameServerConsole, OpType.READ, Session))
     {
         Response.Redirect(WebConfig.PageNotEnoughPrivilege, true);
     }
     if (!IsPostBack)
     {
         ServerDropDownList1.CreateServerList(ServerGroupDropDownList.SelectedServerGroup);
     }
 }