Exemple #1
0
        public static ResultMB MessageBox(uint hWnd, string text, string caption, MB_Type uType)
        {
            if (!cache_done_niecmod_native_message_box)
            {
                return((ResultMB)0);
            }

            if (text == null)
            {
                throw new ArgumentNullException("text");
            }
            if (caption == null)
            {
                throw new ArgumentNullException("caption");
            }

            return(niecmod_native_message_box(hWnd, text, caption, uType));
        }
Exemple #2
0
 public static extern ResultMB niecmod_native_message_box(uint hWnd, string text, string caption, MB_Type uType);