Пример #1
0
        private void BtnScanSel_click(object sender, RoutedEventArgs e)
        {
            if (ListFile.SelectedItem != null)
            {
                if (((ClassFsItem)ListFile.SelectedItem).Type == "Dir.")
                {
                    if (_showDup)
                    {
                        _showDup           = false;
                        BtnScanDup.Content = "Search duplicate";
                    }

                    TextPath.Text = ((ClassFsItem)ListFile.SelectedItem).Name;

                    _oScan = new ClassScan();

                    _oScan.Scan(TextPath.Text, this);

                    if (_oScan.ErrorList != "")
                    {
                        MessageBox.Show(_oScan.ErrorList);
                    }
                }
            }
        }
Пример #2
0
        private void TextPath_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Return)
            {
                _oScan = new ClassScan();

                _oScan.Scan(TextPath.Text, this);

                if (_oScan.ErrorList != "")
                {
                    MessageBox.Show(_oScan.ErrorList);
                }
            }
        }
Пример #3
0
        private void BtnScan_click(object sender, RoutedEventArgs e)
        {
            if (_showDup)
            {
                _showDup           = false;
                BtnScanDup.Content = "Search duplicate";
            }

            _oScan = new ClassScan();

            _oScan.Scan(TextPath.Text, this);

            if (_oScan.ErrorList != "")
            {
                MessageBox.Show(_oScan.ErrorList);
            }
        }
Пример #4
0
        private void TextPath_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Return)
            {
                _oScan = new ClassScan();

                _oScan.Scan(TextPath.Text, this);

                if (_oScan.ErrorList != "")
                    MessageBox.Show(_oScan.ErrorList);
            }
        }
Пример #5
0
        private void BtnScan_click(object sender, RoutedEventArgs e)
        {
            if (_showDup)
            {
                _showDup = false;
                BtnScanDup.Content = "Search duplicate";
            }

            _oScan = new ClassScan();

            _oScan.Scan(TextPath.Text, this);

            if (_oScan.ErrorList != "")
                MessageBox.Show(_oScan.ErrorList);
        }
Пример #6
0
        private void BtnScanSel_click(object sender, RoutedEventArgs e)
        {
            if (ListFile.SelectedItem != null)
            {
                if (((ClassFsItem)ListFile.SelectedItem).Type == "Dir.")
                {
                    if (_showDup)
                    {
                        _showDup = false;
                        BtnScanDup.Content = "Search duplicate";
                    }

                    TextPath.Text = ((ClassFsItem)ListFile.SelectedItem).Name;

                    _oScan = new ClassScan();

                    _oScan.Scan(TextPath.Text, this);

                    if (_oScan.ErrorList != "")
                        MessageBox.Show(_oScan.ErrorList);
                }
            }
        }