Example #1
0
 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);
     }
 }
Example #2
0
 private void linkLabelAbout_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     StartFormDialogResult = StartFormDialogResultEnum.ShowAbout;
     Close();
 }
Example #3
0
 private void buttonOpenProject_Click(object sender, EventArgs e)
 {
     StartFormDialogResult = StartFormDialogResultEnum.OpenProject;
     Close();
 }
Example #4
0
 private void buttonClose_Click(object sender, EventArgs e)
 {
     StartFormDialogResult = StartFormDialogResultEnum.None;
     Close();
 }