public HiddenHollowSearcher(HiddenHollowSearchParams searchParams, object threadLock, Form caller) { this.searchParams = searchParams; this.threadLock = threadLock; this.caller = caller; numThreads = 1; waitHandle = new EventWaitHandle(true, EventResetMode.ManualReset); hollowFrames = new List<Hollow>(); frameBinding = new BindingSource {DataSource = hollowFrames}; searchParams.dataGridView.DataSource = frameBinding; btnGenerate = searchParams.generateButton; }
public HiddenHollowSearcher(HiddenHollowSearchParams searchParams, object threadLock, Form caller) { this.searchParams = searchParams; this.threadLock = threadLock; this.caller = caller; numThreads = 1; waitHandle = new EventWaitHandle(true, EventResetMode.ManualReset); hollowFrames = new List <Hollow>(); frameBinding = new BindingSource { DataSource = hollowFrames }; searchParams.dataGridView.DataSource = frameBinding; btnGenerate = searchParams.generateButton; }