Example #1
0
 internal static void 绑定正在处理(QuickForm mf, DataTable dt)
 {
     Dispatch.Instance.Add<QuickForm, Guid>(
     mf, Guid.NewGuid(), (c, d) =>
     {
         mf.dataGridView2.DataSource = dt;
     });
 }
Example #2
0
 internal static void Message(QuickForm mf, string msg)
 {
     Dispatch.Instance.Add<QuickForm, Guid>(
     mf, Guid.NewGuid(), (c, d) =>
     {
         MessageBox.Show(msg);
     });
 }
Example #3
0
 internal static void 刷新昨天提成(QuickForm mf, string msg)
 {
     Dispatch.Instance.Add<QuickForm, Guid>(
     mf, Guid.NewGuid(), (c, d) =>
     {
         mf.labelX3.Text = msg;
     });
 }
Example #4
0
 internal ActionFactory(QuickForm mf, NetClient nc)
 {
     this.mf = mf;
     this.nc = nc;
 }