Example #1
0
        private void Filters_Click(object sender, EventArgs e)
        {
            if (filterUI != null && !filterUI.IsDisposed)
            {
                filterUI.Dispose();
                filterUI = null;
            }

            filterUI = new FilterUI();

            Thread x = new Thread(new ParameterizedThreadStart((form) =>
            {
                ((FilterUI)form).ShowDialog();
            }));

            x.IsBackground = true;
            x.Start(filterUI);
        }
Example #2
0
        public FilterUI()
        {
            Instance = this;

            InitializeComponent();
        }