代码如下: private void buttonCap_Click(object sender, EventArgs e) { double f0, L, C, H,result; const double conpi = 3....
预约系统中,新用户可以自己注册,然后管理员开通。注册界面如下:客户端新用户注册代码:button1_Click((txtUserID.Text.Trim()==||txtUserName.Text.Trim()========newTcpConnection.SendReceiveObject<ResMessage>(,,(resMessage.Message==+服务器端的相关处理代码:..
分类:
其他好文 时间:
2015-02-09 18:42:11
阅读次数:
176
客户端登陆界面如下:客户端代码:Program.cs中
NetworkComms.IgnoreUnknownPacketTypes==ConnectionInfo(,=
MainFormmainForm=
frmLoginloginForm=
(loginForm.ShowDialog()==(loginForm.Register===登陆窗口中的登陆按钮相关代码privatevoidbtnLogin_Click(objectsender,Ev..
分类:
其他好文 时间:
2015-02-09 18:41:27
阅读次数:
159
(1) jQuery的Id选择器: $("#btnShow")(2) 事件绑定函数 bind() $("#btnAdd").bind("click", function(event) { $("#divMsg").show(); });(3) 显示和隐藏函数. show()和hide()(4) 修....
分类:
Web程序 时间:
2015-02-09 18:01:30
阅读次数:
146
eg:$('.setIsEnableClosed').click(function(){var id=$(id).attr("name");var isChecked=$(this).prop("checked");$.ajax({url:"../../ashx/Widget.ashx",data:...
分类:
Web程序 时间:
2015-02-09 15:52:52
阅读次数:
177
Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas...
分类:
其他好文 时间:
2015-02-09 15:49:03
阅读次数:
94
需要js个jq都写$('.zc0207-cjzp-2-content').find(':checkbox:eq(0)').click(function(){ if($(this).is(':checked')) { $('.zc0207-cjzp-2-content').find...
分类:
Web程序 时间:
2015-02-09 15:47:35
阅读次数:
165
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2015-02-09 15:40:55
阅读次数:
176
标题:Set Matrix Zeroes通过率:31.3%难度:中等Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Fol...
分类:
其他好文 时间:
2015-02-09 12:43:33
阅读次数:
108
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
分类:
其他好文 时间:
2015-02-09 00:43:53
阅读次数:
211