private void editButton_Click(object sender, EventArgs e) { if (material != null && !material.IsLocked) wizardControl.SelectTab(1); }