一:使用forms类实现表单1:我们一般把Form类都放到一个文件中:forms.py。具体可存放`在APP的目录,如我的APP为BOOKS目录中。在forms.py里添加:fromdjangoimportforms
classContactForm(forms.Form):
subject=forms.CharField()
email=forms.EmailField(required=False)
mes..
分类:
其他好文 时间:
2014-12-06 11:30:28
阅读次数:
180
.NET框架 1.0、.NET框架 1.1、.NET框架 2.0、.NET框架 3.0、.NET框架 3.5、.NET框架 4.00 .netframework3.0Windows Presentation Foundation(WPF):提供更佳的用户体验,用来开发Windows Forms程序以...
分类:
Web程序 时间:
2014-12-05 21:07:48
阅读次数:
186
1.安装对应dll
Update-Package Xamarin.Forms
选中Android项目及PCL项目:Install-Package Xamarin.Forms.Labs
2.设置系统相关信息,右键android项目-属性
3.设置应用的名称
4.在MainActivity设置IOC
添加变量:private...
分类:
移动开发 时间:
2014-12-05 14:19:34
阅读次数:
214
由于HTML5规范于2014年10月终于定稿,公司.net开发人员较少,国内外已有了较为成熟的UI框架、手机软件硬件的快速发展等等原因,所以我就不打算再使用Xamarin了,而是采用HTML5+CSS3+Javascript的方式来进行跨平台的开发。之前在探索Xamarin中积累了一些小经验也同时分享给大家,希望能给大家带来帮助。
1.TabbedPage中嵌入NavigationPage,...
分类:
其他好文 时间:
2014-12-05 14:18:02
阅读次数:
154
http://blog.sina.com.cn/s/blog_43eb83b90100mhrs.html1.定义把它拽进来,系统会自动在Designer.cs里添加一个 this.listView1 = new System.Windows.Forms.ListView();2.初始化,确定模式,确...
分类:
其他好文 时间:
2014-12-05 14:03:27
阅读次数:
127
1.System.Threading.Timer计时器提供了一种重复调用异步线程的方法。.Net BCL中有多个Timer类,如用于Windows应用程序的System.Windows.Forms.Timer类,如可以运行在用户接口线程或工作线程上的System.Timers.Timer类。它们是很不一样的,这里要讲的System.Threading.Timer类是一种定时调用某个异步线程的类。每...
分类:
编程语言 时间:
2014-12-05 12:52:13
阅读次数:
180
1 unit DateTimePicker; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, Co...
分类:
其他好文 时间:
2014-12-05 12:40:04
阅读次数:
292
服务端代码如下:using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;using System.Windows.Forms;namespace Client{ ....
分类:
其他好文 时间:
2014-12-05 12:31:48
阅读次数:
310
1 unit TrafficLight3; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, Std...
分类:
其他好文 时间:
2014-12-05 12:09:51
阅读次数:
202
好的, 直入主题,不说承上启下的话了, 我们在项目中有时候会用到图片集合的显示,但是当进行某些操作的时候,需要实时显示最新的图片,这个时候,问题就来了(当然不是BlueShit),用了很多方法,譬如 控件名.Refresh(); 控件名.Select();都不行。 可是明明清理了刷新了,图片就...