OleViewDotNet.TypedObjectViewer.TypedObjectViewer C# (CSharp) Метод

TypedObjectViewer() публичный Метод

Constructor
public TypedObjectViewer ( COMRegistry registry, string strObjName, ObjectEntry pEntry, Type dispType ) : System
registry COMRegistry
strObjName string Descriptive name of the object
pEntry ObjectEntry Instance of the object
dispType System.Type Reflected type
Результат System
        public TypedObjectViewer(COMRegistry registry, string strObjName, ObjectEntry pEntry, Type dispType)
        {
            m_pEntry = pEntry;
            m_pObject = pEntry.Instance;
            m_objName = strObjName;
            m_dispType = dispType;
            m_registry = registry;
            InitializeComponent();

            HighlightingManager.Manager.AddSyntaxModeFileProvider(new SimpleSyntaxModeProvider("Python.xshd", "Python", ".py", Properties.Resources.PythonHighlightingRules));

            textEditorControl.SetHighlighting("Python");

            LoadDispatch();
            Text = String.Format("{0} {1}", m_objName, m_dispType.Name);
        }

Same methods

TypedObjectViewer::TypedObjectViewer ( COMRegistry registry, string strObjName, object pObject, Type dispType ) : System