http://localhost:8090/InfoPublish/program/publishPage.action

218.94.157.6

下载、解压、读取列表、关机命令、定时器

浏览器程序操作js:http://www.cnblogs.com/wukangbin/archive/2009/01/12/1374206.html   http://www.cnblogs.com/aosiyelong/archive/2010/02/22/1671095.html

using System.Security.Permissions;  
 [PermissionSet(SecurityAction.Demand,Name="FullTrust")]  
 [System.Runtime.InteropServices.ComVisible(true)]
webBrowser1.ObjectForScripting = this;//js访问对象为本窗口
 private void button7_Click(object sender, EventArgs e)        {            
webBrowser1.Document.InvokeScript("showJs", new string[]{"ssss"});      
 }
        public void showCMessage(string msg)        {            
MessageBox.Show(msg+"from js to c#");      
 }
<input type="button" value="jsc#" onclick="showC()" />
<script type="text/javascript" defer >  
 function showJs(msg) {      
 alert(msg+"from c# to js");  
 }
function showC(){
window.external.showCMessage("js...");
}</script>

视频mp4,直接浏览器上播放

操作winform其他页面

解压ZIP:http://www.cnblogs.com/xqt1010/archive/2009/06/02/1494564.html

socket传输:http://www.cnblogs.com/tabatabaye/articles/302014.html

winform关机:http://www.cnblogs.com/anjou/archive/2006/11/30/577279.html
       http://www.cnblogs.com/yangbeibei/archive/2007/02/05/640301.html

异常:http://www.cnblogs.com/anderslly/archive/2007/03/15/understandingexception2.html
  http://www.cnblogs.com/putishu/archive/2009/03/01/1400759.html 
  
http://www.cnblogs.com/cathsfz/archive/2006/11/12/558298.html 

XMl读取写入

日志处理

验证控件http://www.cnblogs.com/stevenzhang/articles/588726.html

捕获socket

遍历文件--------

记录页面信息XML

下载文件

panel显示隐藏

解压文件

关机等...
http://www.cnblogs.com/zjfree/archive/2011/01/24/1942929.html 

视频播放方式

modaldialog:http://www.cnblogs.com/cosiray/archive/2009/08/22/1551942.html

项目打包:http://www.cnblogs.com/zelmeli/archive/2011/05/23/2054412.html
     http://www.cnblogs.com/ITniao/archive/2010/12/06/1897473.html

url传值的最大长度:http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427  ie( 2048/2083)
        http://www.leosio.com/max-length-with-get-method       

    这个是可以设置的,注册表中
    默认好象2048是可以的
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters
    建立MaxClientRequestBuffer,就可以设置了 

 ajax  post:   contentType: "application/x-www-form-urlencoded; charset=utf-8"  EncodeURICompoment
原生ajax:

  //声明XMLHttpRequest对象var xmlHttp;
//检测用户名是否存在function CheckName(userName){    createXMLHTTP();//创建XMLHttpRequest对象    var url="DisposeEvent.aspx?Name="+userName+"&Event=Check";    xmlHttp.open("POST",url,true);                           //GET请求不改变服务器上的状态,而POST请求改变服务器上状态。    xmlHttp.onreadystatechange=checkUserName;    xmlHttp.send(null);}
function createXMLHTTP(){    if(window.XMLHttpRequest)    {        xmlHttp=new XMLHttpRequest();//mozilla浏览器    }    else if(window.ActiveXObject)    {        try        {            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");//IE老版本        }        catch(e)        {}        try        {            xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");//IE新版本        }        catch(e)        {}        if(!xmlHttp)        {            window.alert("不能创建XMLHttpRequest对象实例!");            return false;        }    }}
//执行检测用户名回调函数function checkUserName(){    if(xmlHttp.readyState==4)//判断对象状态    {        if(xmlHttp.status==200)//信息成功返回,开始处理信息        {            if(xmlHttp.responseText=="true")            {                document.getElementById("imgName").src="/AJAXReg43/images/true.gif";                //让注册按钮失效                document.getElementById("btnReg").disabled=false;            }            else            {                document.getElementById("imgName").src="/AJAXReg43/images/false.gif";                 document.getElementById("btnReg").disabled=true;                                     }        }    }}
//注册新用户function regUser(){    if(document.getElementById("userName").value=="")    {        alert("对不起,用户名不为空");        return false;    }    if(document.getElementById("userPwd").value=="")    {        alert("对不起,密码不为空");        return false;    }    var url="DisposeEvent.aspx?Name="+document.getElementById("userName").value+"&Pwd="+document.getElementById("userPwd").value+"&Event=Reg";    xmlHttp.open("GET",url,true);    xmlHttp.onreadystatechange=regUserInfo;    xmlHttp.send(null);}
//注册用户回调函数function regUserInfo(){    if(xmlHttp.readyState==4)//判断对象状态    {        if(xmlHttp.status==200)//信息成功返回,开始处理信息        {            if(xmlHttp.responseText=="true")//获取的Response.Write("true");里面的文本            {                alert("恭喜,新用户注册成功!");                document.getElementById("userName").value="";                document.getElementById("userPwd").value="";                            }            else            {                alert("对不起,注册失败!");                document.getElementById("userName").value="";                document.getElementById("userPwd").value="";                                     }        }    }} 

js--> xml:

//xml
        function getXml()
        {
            JsTable.getXml(onGetXml, onXmlError, "xml");
            function onGetXml(resultXml,userContext,methodName)
            {
                if (userContext == "xml")// && !typeof(userContext))
                {
                    var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0");
                    xmlDoc.async = false;
                    xmlDoc.loadXML(resultXml);
                    var nodes = xmlDoc.selectNodes("//myXmlTable");
                    var sb = new  Sys.StringBuilder();
                    for (var i = 0; i < nodes.length; i++)
                    {
                        for (var j = 0; j < nodes[i].childNodes.length; j++)
                        {
                            sb.append(nodes[i].childNodes[j].text + "\n");

                        }
                        //sb.append(nodes[i].childNodes[ID].text+"---------\n");   this sentence is wrong,can't use ID to get the text;but you can get value by attitude when you put value in attitude;
                    }
                    alert(sb.toString());
                }
                //alert("you get Xml!");
                alert(resultXml);
            }
            function onXmlError(error, userContext, methodName)
            {
                if (error != null)
                {
                    alert(error.get_message());
                }
            }
        }

 

C#  下拉框 key value:http://blog.csdn.net/fcsh820/archive/2009/02/07/3867053.aspx

head头元素,包括页面进入变化效果:http://www.cnblogs.com/zhuor/archive/2005/11/01/266212.html
                  http://www.cnblogs.com/youuuu/archive/2011/06/27/2091156.html

css滤镜大全:http://www.cnblogs.com/ymweb/archive/2011/05/21/2052611.html

css滤镜ie支持:http://www.cnblogs.com/aiyuchen/archive/2011/02/16/1956473.html

flex:================================
http://blog.csdn.net/terryzero/archive/2009/09/22/4581459.aspx
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#app=a712&e64f-selectedIndex=4&e51-selectedIndex=0&661d-selectedIndex=0
http://www.cnblogs.com/lockhome/archive/2010/10/28/1863221.html
http://topic.csdn.net/u/20101101/19/8c9894c6-beb9-451d-afd3-71adb1440794.html
http://www.cnblogs.com/jiahuafu/archive/2009/10/16/1584349.html
http://apps.hi.baidu.com/share/detail/22226242

http://bbs.airia.cn/source/list-2.html(源码、资源)
http://www.ebibi.com/i/experience/2010/0707/246.html 

#1{
 color:red;
 /*backgroundImage:Embed(source="cn/images/3.jpg");
 */
 /*skin:upSkin;*/
 fontSize:20px;
 backgroundColor:red;
 skin: Embed(source='../images/0.png');
 downSkin: Embed(source='../images/1.png');

}

http://www.sino-device.com.cn:3380/WebEdit/BackManage.aspx
https://dragon.archermind.com/svn-private/huashe-xxfb/trunk/src/InfoPublish

======================================

windows media player 网页wpl:http://www.cnblogs.com/roychen/archive/2007/11/02/946771.html

Embed,音量: http://www.cnblogs.com/roychen/articles/946771.html

背景音乐:http://www.cnblogs.com/linbaba/archive/2011/04/11/2012155.html
windows media player:  http://www.cnblogs.com/skyd/archive/2010/06/20/1761116.html

axWindowsMediaPlayer-->windows media C#播放控件: http://www.cnblogs.com/Garden-blog/archive/2011/04/15/2017362.html

timer定时:http://www.cnblogs.com/slave2/archive/2008/03/25/1122239.html
    Form.threading.timer
    

线程通过代理调用主线程ui控件:http://www.cnblogs.com/zhangpengshou/archive/2008/04/28/1175289.html

主线程,'控件'单独占线程可以防止操作主线程程序卡住。

程序在PC上只能打开唯一:http://dotnet.aspx.cc/article/e2a17727-765f-4346-8446-5d130622cb54/read.aspx

js中接受服务端传送的json格式字符与js中的对象字面量还是有区别的,json中var xx={"name":"xxx","country":['a','b']};js中name,country可不加引号. json=eval('('+xx+')'),  eval js 字面量会得到字面量自身结果。

webservice不存在时请求卡住,设置请求超时:
 WebServiceTest.Service1 src = new TestWinApp.WebServiceTest.Service1();
            src.Url = txtAddress.Text;
            src.Timeout = -1;//1120 * 1000;
单位为毫秒

 网页默认背景音乐音量:从-5000到0 渐渐变大。

播放列表:
  dictionary存放当天播放信息,播放日程按天存放xml整理,过期、未过期节目分开。 记住下次执行到当前的时间间隔,减少轮询次数

  外网IPsocket,访问某IP内的局域网PC:可以在路由器中配置端口号访问到对应IP机器,(转发规则--虚拟服务器) 虚拟服务器定义了广域网服务端口和局域网网络服务器之间的映射关系,所有对该广域网服务端口的访问将会被重定位给通过IP地址指定的局域网网络服务器。

 panel :置于顶层、底层;DOCK:fill; 

网络通信抓包工具wireshark介绍http://www.cnblogs.com/luqingfei/archive/2008/03/05/1091341.html

gridview:http://www.cnblogs.com/ju2ender/archive/2009/09/09/1563178.html

<?xml version="1.0" encoding="gb2312"?>
<PlaySchedulars>
  <PlaySchedular>
    <Date>2011-6-27</Date>
    <PlaySchedularItem>
      <StartTime>2011-6-27 0:00:00</StartTime>
      <EndTime>2011-6-27 10:37:00</EndTime>
      <ProjectName>iohdsgvsg</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 10:37:00</StartTime>
      <EndTime>2011-6-27 10:55:00</EndTime>
      <ProjectName>测试61</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 10:55:00</StartTime>
      <EndTime>2011-6-27 11:03:00</EndTime>
      <ProjectName>测试61</ProjectName>
      <ProjectName>测试62</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 11:03:00</StartTime>
      <EndTime>2011-6-27 11:22:00</EndTime>
      <ProjectName>测试64</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 11:22:00</StartTime>
      <EndTime>2011-6-27 11:30:00</EndTime>
      <ProjectName>测试63</ProjectName>
      <ProjectName>测试64</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 11:30:00</StartTime>
      <EndTime>2011-6-27 12:00:00</EndTime>
      <ProjectName>测试63</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 12:00:00</StartTime>
      <EndTime>2011-6-27 20:00:00</EndTime>
      <ProjectName>测试61</ProjectName>
    </PlaySchedularItem>
    <PlaySchedularItem>
      <StartTime>2011-6-27 20:00:00</StartTime>
      <EndTime>2011-6-27 23:59:00</EndTime>
      <ProjectName>iohdsgvsg</ProjectName>
    </PlaySchedularItem>
  </PlaySchedular>
</PlaySchedulars>

取出所有时间点,遍历每个时间点之间是否包含节目,产生各个时段的节目列表

null,undefined,false等是系统标示的一种难得的无结果状态,可以作为默认的状态自定义使用,减少非必要的人为变化。

系统操作都有一种默认的操作步骤,作为用户节省时间的方式使用跳过。 

每一步操作其中可能包含许多子节点的操作,分解开来,可能其中某些节点之间省略了内容跳过操作。

posted on 2011-05-08 20:18  LcKey  阅读(723)  评论(0编辑  收藏  举报