private void OpenButton_Click(object sender, EventArgs e) { using (var popup = new OpenForm(teaseLibrary)) { if (DialogResult.OK == popup.ShowDialog()) { SetCurrentTease(popup.SelectedTease); } } }
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; } } }