Exemple #1
0
        bool UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(ref NativeMethods.MSG msg)
        {
            UnsafeNativeMethods.IMsoComponent c = Component;

            if (c != null)
            {
                return(c.FPreTranslateMessage(ref msg));
            }

            return(false);
        }
Exemple #2
0
 bool UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(ref System.Windows.Forms.NativeMethods.MSG msg)
 {
     UnsafeNativeMethods.IMsoComponent component = this.Component;
     return((component != null) && component.FPreTranslateMessage(ref msg));
 }