예제 #1
0
 private void lvRecent_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (lvRecent.SelectedItems.Count > 0)
     {
         path         = lvRecent.SelectedItems[0].Text;
         DialogResult = DialogResult.OK;
         result       = StartDialogResult.RECENT;
         Close();
     }
 }
예제 #2
0
 private void btnRecent_Click(object sender, EventArgs e)
 {
     if (lvRecent.SelectedItems.Count != 0)
     {
         path = lvRecent.SelectedItems[0].Text;
     }
     else
     {
         MessageBox.Show("Please, choose a project!");
         return;
     }
     DialogResult = DialogResult.OK;
     result       = StartDialogResult.RECENT;
     Close();
 }
예제 #3
0
 private void btnImport_Click(object sender, EventArgs e)
 {
     DialogResult = DialogResult.OK;
     result       = StartDialogResult.IMPORT;
     Close();
 }
예제 #4
0
 private void btnOpen_Click(object sender, EventArgs e)
 {
     DialogResult = DialogResult.OK;
     result       = StartDialogResult.OPEN;
     Close();
 }
예제 #5
0
 private void btnNew_Click(object sender, EventArgs e)
 {
     DialogResult = DialogResult.OK;
     result       = StartDialogResult.NEW;
     Close();
 }