1、web中,repuest中关于路径内容

/n Request.ApplicationPath:/
/n Request.CurrentExecutionFilePath:/Editshoes.aspx
/n Request.FilePath:/Editshoes.aspx
/n Request.Path:/Editshoes.aspx
/n Request.PathInfo:
/n Request.PhysicalApplicationPath:E:\Work\ShoesPackage\ShoesPackage\ShoesPackage\
/n Request.PhysicalPath:E:\Work\ShoesPackage\ShoesPackage\ShoesPackage\Editshoes.aspx
/n Request.QueryString:ShoesID=PER6339128520673437503001
/n Request.RawUrl:/Editshoes.aspx?ShoesID=PER6339128520673437503001
/n Request.Url:http://localhost:4623/Editshoes.aspx?ShoesID=PER6339128520673437503001
/n Request.UserHostAddress:127.0.0.1
/n Request.UserHostName:127.0.0.1
2、windowsForm中,事件顺序

单击事件顺序
1、 pbxShowImg_MouseDown 
2、 pbxShowImg_Click 
3、 pbxShowImg_MouseClick 
4、 pbxShowImg_MouseUp 
5、 pbxShowImg_MouseCaptureChanged

双击事件顺序:
1、 pbxShowImg_MouseDown 
2、 pbxShowImg_Click 
3、 pbxShowImg_MouseClick 
4、 pbxShowImg_MouseUp 
5、 pbxShowImg_MouseCaptureChanged 
6、 pbxShowImg_MouseDown 
7、 pbxShowImg_DoubleClick 
8、 pbxShowImg_MouseDoubleClick 
9、 pbxShowImg_MouseUp 
10、 pbxShowImg_MouseCaptureChanged 

3、几个循环的写法

//循环事件
foreach(Delegate d in CallBackEvent.GetInvocationList())  {}

//Dictionary循环
foreach (KeyValuePair<string,int> key in m_FootprintBuffers)  {}

循环枚举型
IList<string> list = Enum.GetNames(typeof(fileType));// fileType 是枚举类型
            foreach (string type in list)
            {
                    //do something...
            }

 

相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-01-23
  • 2021-09-30
  • 2021-12-14
  • 2021-07-16
相关资源
相似解决方案