private void ButtonApplyFilterClick(object sender, EventArgs e) { var form = new CommonFilterForm(_filter, _initialDocumentArray); if (form.ShowDialog(this) == DialogResult.OK) { AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.RunWorkerAsync(); } }
private void ButtonApplyFilterZeroClick(object sender, EventArgs e) { var form = new CommonFilterForm(_filterZero, _initialZeroMaintenanceDirectives); if (form.ShowDialog(this) == DialogResult.OK) { AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.RunWorkerAsync(); } }
private void ButtonApplyFilterClick(object sender, EventArgs e) { CommonFilterForm form = new CommonFilterForm(_additionalfilter, _preResultDirectiveArray); if (form.ShowDialog(this) == DialogResult.OK) { AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.RunWorkerAsync(); } }
private void ButtonApplyFilterClick(object sender, EventArgs e) { var form = new CommonFilterForm(_filter, _initialFlightOpsRecordArray); if (form.ShowDialog(this) == DialogResult.OK) { _directivesViewer.ClearFields(); AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.RunWorkerAsync(); } }
private void ButtonApplyFilterClick(object sender, EventArgs e) { CommonFilterForm form = new CommonFilterForm(_filter, _initialDirectiveArray) { Text = "Accessory Required Filter Form" }; if (form.ShowDialog(this) == DialogResult.OK) { AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.RunWorkerAsync(); } }