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); } } } }
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); } } }
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); } }
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); } }
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); }
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); } } }