public SwagEditor(SB swag) { InitializeComponent(); this.swag = swag; buttons = new BoneButton[] { boneButton2, boneButton3, boneButton4, boneButton5, boneButton6, boneButton7, boneButton8, boneButton9 }; boneButton1.BoneChanged += new EventHandler(BoneChange); foreach (BoneButton b in buttons) { b.BoneChanged += new EventHandler(BoneChange); } }
public SwagEditor(SB swag) { InitializeComponent(); this.swag = swag; buttons = new BoneButton[] { boneButton2, boneButton3, boneButton4, boneButton5, boneButton6, boneButton7, boneButton8, boneButton9 }; boneButton1.BoneChanged += new EventHandler(BoneChange); foreach (BoneButton b in buttons) { b.BoneChanged += new EventHandler(BoneChange); } FilePath = ""; Text = "New Swag Bone"; Edited = false; }