Beispiel #1
0
 private void OnKeyDownHandler2(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Return)
     {
         MainWindowEventHandling.PathWriting(RightTextBox, RightList);
     }
 }
Beispiel #2
0
        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");
            }
        }
Beispiel #3
0
 private void SortButton1_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     MainWindowEventHandling.Sort(LeftList, SortButton1);
 }
Beispiel #4
0
 private async void ContextMenuCopyClicked2(object sender, RoutedEventArgs e)
 {
     await MainWindowEventHandling.Copy(RightList, LeftList, LeftTextBox, RightTextBox);
 }
Beispiel #5
0
 private void RightList_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     MainWindowEventHandling.OpenOrProceed(RightList, RightTextBox);
 }