Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

C# open a new form

form2 F2 = new form2();
F2.Show();
Comment

start new form c#

    moreForm = new MoreForm();
    moreForm.Show();
    childForm.Close();
Comment

C# new form

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void btnReset_Click(object sender, EventArgs e)
    {
        Form1 NewForm = new Form1();           
        NewForm.Show();
        this.Dispose(false);
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# image to byte array 
Csharp :: get the current directory in unity 
Csharp :: asp textarea 
Csharp :: c# convert enum to list 
Csharp :: struct constructor c# 
Csharp :: loan calculator using windows forms in c# code 
Csharp :: c# get path without filename 
Csharp :: regex replace all special characters 
Csharp :: fair division 
Csharp :: unity get selected gameobject 
Csharp :: unity get list of children 
Csharp :: unity agent bake not derecting mesh 
Csharp :: unity move object to mouse position 
Csharp :: Tower of Hanoi c# 
Csharp :: destroy gameobject unity 
Csharp :: how to reference function in unity 
Csharp :: readonly vs const c# 
Csharp :: what is data encapsulation c# 
Csharp :: how to move mouse in c# 
Csharp :: c# delay 
Csharp :: c# how to use inovke 
Csharp :: reverse for loop unity 
Csharp :: fluentassertions force exceptions 
Csharp :: c# update value in a json file 
Csharp :: generate random name c# 
Csharp :: hello world c# 
Csharp :: shuffle arraylist c# 
Csharp :: maximize window c# console 
Csharp :: c# get enum value from string 
Csharp :: csharp 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =