1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Windows.Forms;
- using PatchNumericUpDownPoC;
- namespace PatchNumericUpDown
- {
- public partial class PocForm : Form
- {
- public PocForm()
- {
- InitializeComponent();
- }
- private void SetButton_Click(object sender, EventArgs e)
- {
- MainNumericUpDown.Value = 0x7FFFFFFF;
- }
- private void PatchButton_Click(object sender, EventArgs e)
- {
- HexadecimalNumericUpDownPatcher.DoPatch();
- }
- private void UnPatchButton_Click(object sender, EventArgs e)
- {
- HexadecimalNumericUpDownPatcher.UnPatch();
- }
- }
- }
|