示例#1
0
        public static void LoadTunnelName(ListControl lb, int workingFaceId,
                                          String selectedText = "")
        {
            var tunnels = Tunnel.FindAllByWorkingFaceId(workingFaceId);

            if (tunnels != null)
            {
                DataBindListControl(lb, tunnels, "TunnelName", "TunnelId",
                                    selectedText);
            }
        }