public void PasteToApplication() { if (string.IsNullOrWhiteSpace(DestinationProcess)) { SelectDestinationProcess(); } if (!string.IsNullOrWhiteSpace(DestinationProcess)) { TxtContents.SelectAll(); TxtContents.Copy(); PasteToApplication(DestinationProcess); } }
private void MainWindow_Shown(object sender, EventArgs e) { TxtContents.Clear(); }