//編輯->複製 功能 private void copy_Click(object sender, RoutedEventArgs e) { if (Text_in.SelectionLength > 0) { Text_in.Copy(); } }
//編輯->剪下 功能 private void cut_Click(object sender, RoutedEventArgs e) { if (Text_in.SelectedText != "") { Text_in.Cut(); } }
private void redo_Click(object sender, RoutedEventArgs e) { Text_in.Redo(); }
//編輯->全選 功能 private void Select_all_Click(object sender, RoutedEventArgs e) { Text_in.Select(0, Text_in.Text.Length); }
//編輯->貼上 功能 private void Paste_Click(object sender, RoutedEventArgs e) { Text_in.Paste(); }