Exemple #1
0
 public static void link_Disposed(object sender, EventArgs e)
 {
     _linkDM = null;
 }
Exemple #2
0
 /// <summary>
 /// 创建数据管理窗体
 /// </summary>
 /// <param name="controlParams">控件参数</param>
 /// <returns>数据管理控件的窗体</returns>
 public static FormModel CreateForm(DataControlParams controlParams)
 {
     DataManage dm = new DataManage();
     dm.InitializeSettings(controlParams);
     dm.Name = "dm";
     dm.Dock = DockStyle.Fill;
     FormModel tf = new FormModel();
     tf.Size = new Size(dm.Width + 15, dm.Size.Height + 40);
     tf.Controls.Add(dm);//将控件添加到窗体中            
     tf.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
     return tf;
 }
Exemple #3
0
 public static void dm_Disposed(object sender, EventArgs e)
 {
     _pageDM = null;
 }