private void chkYoshiAimEgg_CheckedChanged(object sender, EventArgs e) { txtFlags.Tag = (uint)((uint)txtFlags.Tag & ~(1 << 0x1c) | (uint)(chkYoshiAimEgg.Checked ? 1 : 0) << 0x1c); txtFlags.Text = CommonTemplate.FlagsToString((uint)txtFlags.Tag); }
private void chkNoRender_CheckedChanged(object sender, EventArgs e) { txtFlags.Tag = (uint)((uint)txtFlags.Tag & ~(1 << 0x01) | (uint)(chkNoRender.Checked ? 1 : 0) << 0x01); txtFlags.Text = CommonTemplate.FlagsToString((uint)txtFlags.Tag); }