public FrmProgressWindow(Form parentForm, string titleRoot, WorkerStart function) { _parentForm = parentForm; _titleRoot = titleRoot; InitializeComponent(); //Type dgvType = ErrorGrid.GetType(); //PropertyInfo pi = dgvType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic); //pi.SetValue(ErrorGrid, true, null); ClientSize = new Size(511, 131); _titleRoot = titleRoot; _thWrk = new ThreadWorker(function); }
public EventFilerColumnChanged(DataTable table, string[] trigerCols, WorkerStart worker, IRowValidator pValidator) : base(table, trigerCols, pValidator) { wkrAll = worker; tableSource.ColumnChanged += new DataColumnChangeEventHandler(table_ColumnChangedAll); }