public virtual IViewContent CreateContentForFile(string fileName)
        {
            TextViewDisplayBindingWrapper b2 = new TextViewDisplayBindingWrapper();

            b2.Load(fileName);
            return(b2);
        }
Esempio n. 2
0
        public override void Run()
        {
            TextViewDisplayBindingWrapper txtwrapper = WorkbenchSingleton.Workbench.ActiveContent as TextViewDisplayBindingWrapper;

            if (txtwrapper == null)
            {
                MessageBox.Show("Null");
            }
            else
            {
                MessageBox.Show(txtwrapper.TitleName);
            }
        }