Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 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();
     }
 }
Exemplo n.º 3
0
        public RangerForm()
        {
            s_instance = this;

            InitializeComponent();
        }