private void StartForm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Escape) { StartFormDialogResult = StartFormDialogResultEnum.None; Close(); } if (e.KeyCode == Keys.Enter) { buttonCreateProject_Click(this, null); } }
private void linkLabelAbout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { StartFormDialogResult = StartFormDialogResultEnum.ShowAbout; Close(); }
private void buttonOpenProject_Click(object sender, EventArgs e) { StartFormDialogResult = StartFormDialogResultEnum.OpenProject; Close(); }
private void buttonClose_Click(object sender, EventArgs e) { StartFormDialogResult = StartFormDialogResultEnum.None; Close(); }