Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

page parent wpf

private void Button_Click_Upload(object sender, RoutedEventArgs e)
{
    ((w)App.Current.MainWindow).textBox_1.Text = "Your Text";
    //or 
    ((w)Window.GetWindow(this)).textBox_1.Text = "Your Text";
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# insert backslash in string 
Csharp :: how to stop timer in c# windows application 
Csharp :: How to set default page asp.net MVC 
Csharp :: wpf databinding 
Csharp :: c# sbyte 
Csharp :: c# faker 
Csharp :: c# convert bool to string 
Csharp :: Get replace normal text from word document in C# 
Csharp :: how to create class in c# 
Csharp :: linq select 
Csharp :: why to make private fields readonly in c# 
Csharp :: c# switch example 
Csharp :: value is null to insert in c# 
Csharp :: excel rows count 
Csharp :: How to create a class and objects in C# 
Csharp :: or operator in c# 
Csharp :: how to create a string in c# 
Csharp :: wpf dispatcher timer is inaccurate 
Csharp :: c# int to short 
Csharp :: atan2 speed unity 
Csharp :: Read csv file into wpf C# 
Csharp :: c# Prefix Sum of Matrix (Or 2D Array) 
Csharp :: Null check operator used on a null value 
Csharp :: turnary operator c# 
Csharp :: C# decimal built-in methods 
Csharp :: c# datafield change cell background color 
Csharp :: mailkit send email c# 
Csharp :: tomatch jest 
Csharp :: principalcontext c# example 
Csharp :: c# print expression tree 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =