private void modifyPAT0_Click(object sender, EventArgs e) { if (textures == null) { return; } var result = new ModifyPAT0Dialog(textures).ShowDialog(); if (result == DialogResult.OK) { // The dialog will mark the pat0 as dirty if changed UpdateImage(); } }
private void modifyPAT0_Click(object sender, EventArgs e) { if (textures == null) return; var result = new ModifyPAT0Dialog(textures).ShowDialog(); if (result == DialogResult.OK) { // The dialog will mark the pat0 as dirty if changed UpdateImage(); } }