are you sure the container is form? look at the source code,public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.ImageList imageList1;
private System.ComponentModel.IContainer components;
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
{
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.ImageList imageList1;
private System.ComponentModel.IContainer components;
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
解决方案 »
- |ZYCWPF| 为Interaction.Behaviors写多的BindChildren在MVVM模式中无效!这是为什么呢?
- 有没有方法 反射 出 方法名的 实参
- 有关事件传递参数的问题!!!! 解决后马上给分,在线等!
- ToolStrip封装的问题
- DropDownList初始化后什么都不不显示,必须选择之后才显示选择后的值
- 用Socket进行同步通讯
- 请问如何处理lrc歌词文件?
- WPF,麻烦看下这个Grid的布局
- 正则结果不太对,请高手看看
- 关于DropDownList的问题!
- c#结构跟类又什么区别??
- 嵌到页面的javascript(正常使用)转用<... src="xx.js">方式后脚本出错?
能说的明白点吗
一个组件
Timer1,
放到了应用程序Form1中
问如何获得Form1?