Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to pass value to anothe form c# winform

// Form 1
// inside the button click event
using(Form2 form2 = new Form2()) 
{
    if(form2.ShowDialog() == DialogResult.OK) 
    {
        someControlOnForm1.Text = form2.TheValue;
    }
}
Comment

how to pass value to anothe form c# winform

form1 frm= new form1();
form1.getdata="some string to be sent to form1";
Comment

PREVIOUS NEXT
Code Example
Csharp :: detect location from ip address .net core 
Csharp :: autoclicker for yes/no in c# indicator 
Csharp :: C# calling method name 
Csharp :: how to add onclick event dynamically in unity 
Csharp :: json.net jobject replace value 
Csharp :: c# loop datatable column names convert to list 
Csharp :: c# linq query map to entity 
Csharp :: how to create an initialized jtoken c# 
Csharp :: clickable table row asp.net core cursor 
Csharp :: C# if (if-then) Statement 
Csharp :: salary, overtime, deductions, gross pay and netpay in console C# 
Csharp :: how to make a console feedback 
Csharp :: Unity mousetoterrainposition 
Csharp :: Debug output to console and a log 
Csharp :: how to detect when a gameobject has exited a trigger c# 
Csharp :: call a .NET assembly from C or c++ 
Csharp :: Unity Hollow Blender Model 
Csharp :: how to move an object with addforce 
Csharp :: wpf change the content of the button wait 5 secound and then change it again 
Csharp :: CefSharp.Core in clickones application 
Csharp :: convert physical path to virtual path in c# 
Csharp :: string in char list f# 
Csharp :: reflection static method c# 
Csharp :: c# console.writeline next line 
Csharp :: ASP.Net MVC 5 datalist event trap to perform action 
Csharp :: parsing object from text file c# 
Csharp :: ascii art american flag 
Csharp :: what is vector3.one c# 
Csharp :: unity manager.instance 
Csharp :: How to put a (new line) inside a list box 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =