码迷,mamicode.com
首页 >  
搜索关键字:controls    ( 1635个结果
回车键当Tab键使用
#region 回车键当Tab键使用 private void enter_KeyPress(object sender, KeyPressEventArgs e) { foreach (Control c in this.Controls) { c.KeyPress += new System.W...
分类:其他好文   时间:2014-07-14 08:09:07    阅读次数:240
一个WPF控件 诡异的MouseEvent 。
背景: private System.Windows.Controls.Border _borderTouch; private bool _mouseDown = false; private System.Windows.Point _currentPoint = new System.Wi.....
分类:其他好文   时间:2014-07-10 00:29:50    阅读次数:287
c#如何将子窗体显示到父窗体的容器(panel)控件中
如何将一个窗体显示到一个容器控件中,刚开始想的比较简单,用窗体容器控件添加一般控件的方法,试了一试,代码如下: Form2 frm = new Form2(); this.panel1.Controls.Add(frm); frm.S...
分类:Windows程序   时间:2014-07-07 15:07:55    阅读次数:776
winform窗体中查找控件
private RichTextBox FindControl() { RichTextBox ret = null; try { Control[] controls = Application.OpenForms["MainForm"].Controls.Find("txtContent", ....
分类:Windows程序   时间:2014-07-05 20:56:38    阅读次数:433
silverlight visifire控件图表制作——silverlight 静态页面xaml
一、silverlight 静态页面1、时间控件:DatePicker ,添加引用: xmlns:sdk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls",触发事件:SelectedDateChanged...
分类:Web程序   时间:2014-07-02 19:28:42    阅读次数:196
url 中文编解码
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, ...
分类:其他好文   时间:2014-07-02 19:11:48    阅读次数:202
从零开始学ios开发(十五):Navigation Controllers and Table Views(中)
这篇内容我们继续上一篇的例子接着做下去,为其再添加3个table view的例子,有了之前的基础,学习下面的例子会变得很简单,很多东西都是举一反三,稍稍有些不同的内容,好了,闲话少说,开始这次的学习。如果没有上一篇的代码,可以从这里下载Nav_11)第三个subtableview:Controls ...
分类:移动开发   时间:2014-07-02 17:09:37    阅读次数:316
WPF 显示gif
1 using System; 2 using System.IO; 3 using System.Collections.Generic; 4 using System.Windows; 5 using System.Windows.Controls; 6 using System....
分类:其他好文   时间:2014-06-27 19:57:12    阅读次数:232
C#动态添加控件到窗体不显示
在FormLoad里面添加控件时,用this.Controls.Add()方法向窗体里面动态添加控件,调试,一直不显示,后来发现原来窗体上有一个groupbox覆盖了整个窗体,其实控件已经添加上去了,只是被遮盖了。后面改为this.groupBox1.Controls.Add(),把控件添加到gro...
分类:Windows程序   时间:2014-06-26 19:13:10    阅读次数:291
仿制用友U8界面
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V.....
分类:其他好文   时间:2014-06-24 23:36:30    阅读次数:486
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!