private void OnKeyDownHandler2(object sender, KeyEventArgs e) { if (e.Key == Key.Return) { MainWindowEventHandling.PathWriting(RightTextBox, RightList); } }
private void Button_Click(object sender, RoutedEventArgs e) { int tmp = LeftTextBox.Text.Split('\\').Last().Length; if (LeftTextBox.Text.Length > tmp) { LeftTextBox.Text = LeftTextBox.Text.Substring(0, LeftTextBox.Text.Length - tmp - 1); MainWindowEventHandling.PathWriting(LeftTextBox, LeftList); } else { MessageBox.Show("Exception"); } }
private void SortButton1_SelectionChanged(object sender, SelectionChangedEventArgs e) { MainWindowEventHandling.Sort(LeftList, SortButton1); }
private async void ContextMenuCopyClicked2(object sender, RoutedEventArgs e) { await MainWindowEventHandling.Copy(RightList, LeftList, LeftTextBox, RightTextBox); }
private void RightList_MouseDoubleClick(object sender, MouseButtonEventArgs e) { MainWindowEventHandling.OpenOrProceed(RightList, RightTextBox); }