如题
语句如下:
((System.ComponentModel.ISupportInitialize)(this.dgrd_WareData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgrd_WareData)).EndInit();注:dgrd_WareData 为datagrid
语句如下:
((System.ComponentModel.ISupportInitialize)(this.dgrd_WareData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgrd_WareData)).EndInit();注:dgrd_WareData 为datagrid
使用 BeginInit 和 EndInit 方法,防止在完全初始化控件之前使用控件。
使用 BeginInit 和 EndInit 方法,防止在完全初始化控件之前使用控件。
Windows 窗体设计器生成的代码 里自动生成