Пример #1
0
 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);
     }
 }
Пример #2
0
        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;
        }