Example #1
0
 private void OpenButton_Click(object sender, EventArgs e)
 {
     using (var popup = new OpenForm(teaseLibrary))
     {
         if (DialogResult.OK == popup.ShowDialog())
         {
             SetCurrentTease(popup.SelectedTease);
         }
     }
 }
Example #2
0
 private void OpenButton_Click(object sender, EventArgs e)
 {
     using (var popup = new OpenForm(teaseLibrary))
     {
         if (isFullscreen)
         {
             TopMost = false;
         }
         if (DialogResult.OK == popup.ShowDialog())
         {
             SetCurrentTease(popup.SelectedTease);
         }
         if (isFullscreen)
         {
             TopMost = true;
         }
     }
 }