예제 #1
0
 private void OpenPsdDocument()
 {
     if (System.IO.File.Exists(psdPath))
     {
         psd        = PsdDocument.Create(psdPath);
         m_TreeView = null;
     }
 }
예제 #2
0
        private void TryInitTreeView()
        {
            if (m_TreeView == null)
            {
                m_TreeView = new PsdPreviewer(m_TreeViewState, psd);
                m_TreeView.SetRule(ruleObj);
                m_TreeView.Reload();

                m_SearchField = new SearchField();
                m_SearchField.downOrUpArrowKeyPressed += m_TreeView.SetFocusAndEnsureSelectedItem;
            }
        }