示例#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();
        }
示例#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();
     }
 }
示例#3
0
        public RangerForm()
        {
            s_instance = this;

            InitializeComponent();
        }