Loading

摘要: //获取到textbox1 的top值 Response.Write(textbox1.Style["top"]); //设置textbox1的style textbox1.Style["Style"] = "left: 500px; position: absolute;top:400px"; 阅读全文
posted @ 2016-07-29 10:25 3WLineCode 阅读(1693) 评论(0) 推荐(0)
摘要: protected void ddlCode_SelectedIndexChanged(object sender, EventArgs e) { DropDownList ddlCode = (DropDownList)sender; //根据现有的控件的NamingContainer获取到该控件所在的父级GridView的所在行 GridViewRow gvr... 阅读全文
posted @ 2016-07-26 10:37 3WLineCode 阅读(962) 评论(0) 推荐(0)
摘要: ?:表达式1?表达式2:表达式3如果1为真则执行2,为假执行3 阅读全文
posted @ 2016-07-08 10:26 3WLineCode 阅读(332) 评论(0) 推荐(0)
摘要: //窗体最小化时候将窗体隐藏掉,同时让托盘控件显示 private void Form1_SizeChanged(object sender, EventArgs e) { if(this.WindowState == FormWindowState.Minimized) { this.Hide(); this.notifyIcon1.Visible = true; } } private v... 阅读全文
posted @ 2016-07-04 08:39 3WLineCode 阅读(342) 评论(0) 推荐(0)
摘要: C#程序集包括: (1):类型元数据:记录了程序集将引用了哪些类,用户自定义了哪些类,字段,数据类型等一系列信息(VS的编程助手靠的就是反射获取类型元数据)。 (2): 程序集元数据:包含程序集的版本信息,安全信息,签名等。 (3):IL代码:MSIL,微软中间语言,微软跨语言的根基所在,所有的C# 阅读全文
posted @ 2016-04-11 18:13 3WLineCode 阅读(264) 评论(0) 推荐(0)