OleViewDotNet.Program.GetMainForm C# (CSharp) Method

GetMainForm() public static method

public static GetMainForm ( ) : MainForm
return MainForm
        public static MainForm GetMainForm()
        {
            return _mainForm;
        }

Usage Example

Beispiel #1
0
 private void btnMarshalProps_Click(object sender, EventArgs e)
 {
     try
     {
         COMObjRef objref = COMObjRef.FromArray(hexEditor.Bytes);
         Program.GetMainForm(m_registry).HostControl(new MarshalEditorControl(m_registry, objref));
     }
     catch (Exception ex)
     {
         Program.ShowError(this, ex);
     }
 }
All Usage Examples Of OleViewDotNet.Program::GetMainForm