CS
cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Windows.Forms;
namespace SnippitsFormUI
{
public partial class CustomerSelectionForm : Form
{
public CustomerSelectionForm()
{
InitializeComponent();
}
private void addNewCustomerButton_Click(object sender, EventArgs e)
{
CustomerForm customerForm = new CustomerForm();
customerForm.ShowDialog();
}
}
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run