using trakker.Forms;
namespace trakker
{
public partial class MainForm : Form
{
///
/// Initializes a new instance of the class.
/// Sets up the form's controls and event handlers by calling
/// which is generated by the designer.
///
public MainForm()
{
InitializeComponent();
}
///
/// Handles the Click event of the Exit menu item. When invoked, this
/// method terminates the application.
///
/// The source of the event.
/// Event data associated with the click event.
private void MainForm_Exit_MenuItem_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void button1_Click(object sender, EventArgs e)
{
var dialog = new ClientForm();
dialog.ShowDialog();
}
}
}