/// <summary> /// Resets edit operation /// </summary> public void Reset() { ModifiedMsg = Msg; WParam = new FormMain.MessageParam(mParams[0]); LParam = new FormMain.MessageParam(mParams[1]); Ignore = false; }
/// <summary> /// Initialize a new instance of this class /// </summary> /// <param name="msg"></param> /// <param name="wParam"></param> /// <param name="lParam"></param> public EditMessage(NativeMethods.Msgs msg, IntPtr wParam, IntPtr lParam) { _Msg = msg; _ModifiedMsg = msg; mParams = new int[] { wParam.ToInt32(), lParam.ToInt32() }; _WParam = new FormMain.MessageParam(mParams[0]); _LParam = new FormMain.MessageParam(mParams[1]); }