Example #1
0
        private void button_autoDel_Click(object sender, RoutedEventArgs e)
        {
            SetApp2DelWindow dlg = new SetApp2DelWindow();

            dlg.extList          = this.extList;
            dlg.delChkFolderList = this.delChkFolderList;
            dlg.Owner            = (Window)PresentationSource.FromVisual(this).RootVisual;
            dlg.ShowDialog();

            this.extList          = dlg.extList;
            this.delChkFolderList = dlg.delChkFolderList;
        }
Example #2
0
        private void button_autoDel_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new SetApp2DelWindow();

            dlg.Owner            = CommonUtil.GetTopWindow(this);
            dlg.extList          = this.extList.ToList();
            dlg.delChkFolderList = this.delChkFolderList.ToList();

            if (dlg.ShowDialog() == true)
            {
                this.extList          = dlg.extList.ToList();
                this.delChkFolderList = dlg.delChkFolderList.ToList();
            }
        }
Example #3
0
        private void button_autoDel_Click(object sender, RoutedEventArgs e)
        {
            SetApp2DelWindow dlg = new SetApp2DelWindow();
            dlg.extList = this.extList;
            dlg.delChkFolderList = this.delChkFolderList;
            dlg.Owner = (Window)PresentationSource.FromVisual(this).RootVisual;
            dlg.ShowDialog();

            this.extList = dlg.extList;
            this.delChkFolderList = dlg.delChkFolderList;
        }
Example #4
0
        private void button_autoDel_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new SetApp2DelWindow();
            dlg.Owner = CommonUtil.GetTopWindow(this);
            dlg.extList = this.extList.ToList();
            dlg.delChkFolderList = this.delChkFolderList.ToList();

            if (dlg.ShowDialog() == true)
            {
                this.extList = dlg.extList.ToList();
                this.delChkFolderList = dlg.delChkFolderList.ToList();
            }
        }