public RangerForm(string path, Config config, string[] supportedImageExtensions, ThumbnailCache thumbnailCache, IWindowManager windowManager) { s_instance = this; m_windowManager = windowManager; m_supportedImageExtensions = supportedImageExtensions; m_thumbnailCache = thumbnailCache; InitializeComponent(); }
public void OpenRangerWindow(string path) { if (m_openGalleryWindow != null) { m_openGalleryWindow.Activate(); } else { var rangerForm = new RangerForm(path, m_config, m_supportedExtensions, m_thumbnailCache, this); m_openGalleryWindow = rangerForm; rangerForm.Show(); } }
public RangerForm() { s_instance = this; InitializeComponent(); }