コード例 #1
0
        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);
        }
コード例 #2
0
 public EventFilerColumnChanged(DataTable table, string[] trigerCols, WorkerStart worker, IRowValidator pValidator)
     : base(table, trigerCols, pValidator)
 {
     wkrAll = worker;
     tableSource.ColumnChanged += new DataColumnChangeEventHandler(table_ColumnChangedAll);
 }