private void CreateFileTextBox_LostFocus(object sender, RoutedEventArgs e) { if (CreateFileTextBox.Text.Equals("")) { CreateFileTextBox.AppendText("Create file path - example" + @"„D:\TEXT\TEXT.txt" + "\""); } }
private void CreateFileTextBox_GotFocus(object sender, RoutedEventArgs e) { CreateFileTextBox.Text = string.Empty; CreateFileTextBox.AppendText(new Explorer().OpenExplorer()); if (!CreateFileTextBox.Text.Equals("")) { CreateFileTextBox.AppendText(@"\Abbild.txt"); } else if (CreateFileTextBox.Text.Equals("")) { CreateFileTextBox.AppendText("Create file path - example" + @"„D:\TEXT\TEXT.txt" + "\""); } }
private void CreateFileTextBox_Initialized(object sender, EventArgs e) { CreateFileTextBox.AppendText("Create file path - example" + @"„D:\TEXT\TEXT.txt" + "\""); }