Answers for "load a form from button c#"

C#
0

load a form from button c#

private void ButtonClick(object sender, System.EventArgs e)
{
    MyForm form = new MyForm();
    form.Show(); // or form.ShowDialog(this);
}
Posted by: Guest on February-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language