private void initCtrl() { this.btnPet = new ACtrlButton(); this.btnPet.Normal = new BitmapOrigin(Resource.Equip_character_BtPet_normal_0); this.btnPet.Pressed = new BitmapOrigin(Resource.Equip_character_BtPet_pressed_0); this.btnPet.MouseOver = new BitmapOrigin(Resource.Equip_character_BtPet_mouseOver_0); this.btnPet.Disabled = new BitmapOrigin(Resource.Equip_character_BtPet_disabled_0); this.btnPet.Location = new Point(139, 264); this.btnPet.Size = new Size(36, 17); this.btnPet.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnPet.MouseClick += new System.Windows.Forms.MouseEventHandler(btnPet_MouseClick); this.btnDragon = new ACtrlButton(); this.btnDragon.Normal = new BitmapOrigin(Resource.Equip_character_BtDragon_normal_0); this.btnDragon.Pressed = new BitmapOrigin(Resource.Equip_character_BtDragon_pressed_0); this.btnDragon.MouseOver = new BitmapOrigin(Resource.Equip_character_BtDragon_mouseOver_0); this.btnDragon.Disabled = new BitmapOrigin(Resource.Equip_character_BtDragon_disabled_0); this.btnDragon.Location = new Point(10, 264); this.btnDragon.Size = new Size(43, 17); this.btnDragon.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnDragon.MouseClick += new MouseEventHandler(btnDragon_MouseClick); this.btnMechanic = new ACtrlButton(); this.btnMechanic.Normal = new BitmapOrigin(Resource.Equip_character_BtMechanic_normal_0); this.btnMechanic.Pressed = new BitmapOrigin(Resource.Equip_character_BtMechanic_pressed_0); this.btnMechanic.MouseOver = new BitmapOrigin(Resource.Equip_character_BtMechanic_mouseOver_0); this.btnMechanic.Disabled = new BitmapOrigin(Resource.Equip_character_BtMechanic_disabled_0); this.btnMechanic.Location = new Point(10, 264); this.btnMechanic.Size = new Size(43, 17); this.btnMechanic.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnMechanic.MouseClick += new MouseEventHandler(btnMechanic_MouseClick); this.btnAndroid = new ACtrlButton(); this.btnAndroid.Normal = new BitmapOrigin(Resource.Equip_character_BtAndroid_normal_0); this.btnAndroid.Pressed = new BitmapOrigin(Resource.Equip_character_BtAndroid_pressed_0); this.btnAndroid.MouseOver = new BitmapOrigin(Resource.Equip_character_BtAndroid_mouseOver_0); this.btnAndroid.Disabled = new BitmapOrigin(Resource.Equip_character_BtAndroid_disabled_0); this.btnAndroid.Location = new Point(65, 266); this.btnAndroid.Size = new Size(25, 12); this.btnAndroid.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnAndroid.MouseClick += new MouseEventHandler(btnAndroid_MouseClick); this.btnClose = new ACtrlButton(); this.btnClose.Normal = new BitmapOrigin(Resource.BtClose3_normal_0); this.btnClose.Pressed = new BitmapOrigin(Resource.BtClose3_pressed_0); this.btnClose.MouseOver = new BitmapOrigin(Resource.BtClose3_mouseOver_0); this.btnClose.Disabled = new BitmapOrigin(Resource.BtClose3_disabled_0); this.btnClose.Location = new Point(162, 6); this.btnClose.Size = new Size(13, 13); this.btnClose.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnClose.MouseClick += new MouseEventHandler(btnClose_MouseClick); }
private void setButtonEnabled(ACtrlButton button, bool enabled) { if (button == null) { return; } if (enabled) { if (button.State == ButtonState.Disabled) { button.State = ButtonState.Normal; } } else { if (button.State != ButtonState.Disabled) { button.State = ButtonState.Disabled; } } }
private void initCtrl() { this.btnHPUp = new ACtrlButton(); this.btnHPUp.Location = new Point(167, 157); this.btnMPUp = new ACtrlButton(); this.btnMPUp.Location = new Point(167, 175); this.btnStrUp = new ACtrlButton(); this.btnStrUp.Location = new Point(167, 262); this.btnDexUp = new ACtrlButton(); this.btnDexUp.Location = new Point(167, 280); this.btnIntUp = new ACtrlButton(); this.btnIntUp.Location = new Point(167, 298); this.btnLukUp = new ACtrlButton(); this.btnLukUp.Location = new Point(167, 316); ACtrlButton[] addBtnList = new ACtrlButton[] { btnHPUp, btnMPUp, btnStrUp, btnDexUp, btnIntUp, btnLukUp }; for (int i = 0; i < addBtnList.Length; i++) { addBtnList[i].Normal = new BitmapOrigin(Resource.Stat_main_BtUp_normal_0); addBtnList[i].MouseOver = new BitmapOrigin(Resource.Stat_main_BtUp_mouseOver_0); addBtnList[i].Pressed = new BitmapOrigin(Resource.Stat_main_BtUp_pressed_0); addBtnList[i].Disabled = new BitmapOrigin(Resource.Stat_main_BtUp_disabled_0); addBtnList[i].Size = new Size(12, 12); addBtnList[i].ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); } this.btnClose = new ACtrlButton(); this.btnClose.Normal = new BitmapOrigin(Resource.BtClose3_normal_0); this.btnClose.Pressed = new BitmapOrigin(Resource.BtClose3_pressed_0); this.btnClose.MouseOver = new BitmapOrigin(Resource.BtClose3_mouseOver_0); this.btnClose.Disabled = new BitmapOrigin(Resource.BtClose3_disabled_0); this.btnClose.Location = new Point(170, 6); this.btnClose.Size = new Size(13, 13); this.btnClose.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnClose.MouseClick += new MouseEventHandler(btnClose_MouseClick); this.btnDetailOpen = new ACtrlButton(); this.btnDetailOpen.Normal = new BitmapOrigin(Resource.Stat_main_BtDetailOpen_normal_0); this.btnDetailOpen.Pressed = new BitmapOrigin(Resource.Stat_main_BtDetailOpen_pressed_0); this.btnDetailOpen.MouseOver = new BitmapOrigin(Resource.Stat_main_BtDetailOpen_mouseOver_0); this.btnDetailOpen.Disabled = new BitmapOrigin(Resource.Stat_main_BtDetailOpen_disabled_0); this.btnDetailOpen.Location = new Point(112, 344); this.btnDetailOpen.Size = new Size(68, 16); this.btnDetailOpen.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnDetailOpen.MouseClick += new MouseEventHandler(btnDetailOpen_MouseClick); this.btnDetailClose = new ACtrlButton(); this.btnDetailClose.Normal = new BitmapOrigin(Resource.Stat_main_BtDetailClose_normal_0); this.btnDetailClose.Pressed = new BitmapOrigin(Resource.Stat_main_BtDetailClose_pressed_0); this.btnDetailClose.MouseOver = new BitmapOrigin(Resource.Stat_main_BtDetailClose_mouseOver_0); this.btnDetailClose.Disabled = new BitmapOrigin(Resource.Stat_main_BtDetailClose_disabled_0); this.btnDetailClose.Location = new Point(112, 344); this.btnDetailClose.Size = new Size(68, 16); this.btnDetailClose.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnDetailClose.MouseClick += new MouseEventHandler(btnDetailClose_MouseClick); this.btnAuto = new ACtrlButton(); this.btnAuto.Normal = new BitmapOrigin(Resource.Stat_main_BtAuto_normal_3); this.btnAuto.Pressed = new BitmapOrigin(Resource.Stat_main_BtAuto_pressed_0); this.btnAuto.MouseOver = new BitmapOrigin(Resource.Stat_main_BtAuto_mouseOver_0); this.btnAuto.Disabled = new BitmapOrigin(Resource.Stat_main_BtAuto_disabled_0); this.btnAuto.Location = new Point(108, 217); this.btnAuto.Size = new Size(67, 34); this.btnAuto.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); }
private void initCtrl() { this.itemTabs = new ItemTab[5]; for (int i = 0; i < itemTabs.Length; i++) { this.itemTabs[i] = new ItemTab(this); this.itemTabs[i].TabEnabled = new BitmapOrigin((Bitmap)Resource.ResourceManager.GetObject("Item_Tab_enabled_" + i), -9 - 31 * i, -26); this.itemTabs[i].TabDisabled = new BitmapOrigin((Bitmap)Resource.ResourceManager.GetObject("Item_Tab_disabled_" + i), -9 - 31 * i, -26); } this.itemTabs[0].Selected = true; this.vScroll = new ACtrlVScroll(); this.vScroll.PicBase.Normal = new BitmapOrigin(Resource.VScr9_enabled_base); this.vScroll.PicBase.Disabled = new BitmapOrigin(Resource.VScr9_disabled_base); this.vScroll.BtnPrev.Normal = new BitmapOrigin(Resource.VScr9_enabled_prev0); this.vScroll.BtnPrev.Pressed = new BitmapOrigin(Resource.VScr9_enabled_prev1); this.vScroll.BtnPrev.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_prev2); this.vScroll.BtnPrev.Disabled = new BitmapOrigin(Resource.VScr9_disabled_prev); this.vScroll.BtnPrev.Size = this.vScroll.BtnPrev.Normal.Bitmap.Size; this.vScroll.BtnPrev.Location = new Point(0, 0); this.vScroll.BtnNext.Normal = new BitmapOrigin(Resource.VScr9_enabled_next0); this.vScroll.BtnNext.Pressed = new BitmapOrigin(Resource.VScr9_enabled_next1); this.vScroll.BtnNext.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_next2); this.vScroll.BtnNext.Disabled = new BitmapOrigin(Resource.VScr9_disabled_next); this.vScroll.BtnNext.Size = this.vScroll.BtnNext.Normal.Bitmap.Size; this.vScroll.BtnNext.Location = new Point(0, 195); this.vScroll.BtnThumb.Normal = new BitmapOrigin(Resource.VScr9_enabled_thumb0); this.vScroll.BtnThumb.Pressed = new BitmapOrigin(Resource.VScr9_enabled_thumb1); this.vScroll.BtnThumb.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_thumb2); this.vScroll.BtnThumb.Size = this.vScroll.BtnThumb.Normal.Bitmap.Size; this.vScroll.Location = new Point(152, 51); this.vScroll.Size = new Size(11, 207); this.vScroll.ValueChanged += new EventHandler(vScroll_ValueChanged); this.vScroll.ChildButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnFull = new ACtrlButton(); this.btnFull.Normal = new BitmapOrigin(Resource.Item_BtFull_normal_0); this.btnFull.Pressed = new BitmapOrigin(Resource.Item_BtFull_pressed_0); this.btnFull.MouseOver = new BitmapOrigin(Resource.Item_BtFull_mouseOver_0); this.btnFull.Disabled = new BitmapOrigin(Resource.Item_BtFull_disabled_0); this.btnFull.Location = new Point(147, 267); this.btnFull.Size = new Size(16, 16); this.btnFull.MouseClick += new MouseEventHandler(btnFull_MouseClick); this.btnFull.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnSmall = new ACtrlButton(); this.btnSmall.Normal = new BitmapOrigin(Resource.Item_BtSmall_normal_0); this.btnSmall.Pressed = new BitmapOrigin(Resource.Item_BtSmall_pressed_0); this.btnSmall.MouseOver = new BitmapOrigin(Resource.Item_BtSmall_mouseOver_0); this.btnSmall.Disabled = new BitmapOrigin(Resource.Item_BtSmall_disabled_0); this.btnSmall.Location = new Point(147, 267); this.btnSmall.Size = new Size(16, 16); this.btnSmall.MouseClick += new MouseEventHandler(btnSmall_MouseClick); this.btnSmall.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnCoin = new ACtrlButton(); // this.btnCoin.Normal = new BitmapOrigin(Resource.Item_BtCoin_normal_0); // this.btnCoin.Pressed = new BitmapOrigin(Resource.Item_BtCoin_pressed_0); // this.btnCoin.MouseOver = new BitmapOrigin(Resource.Item_BtCoin_mouseOver_0); // this.btnCoin.Disabled = new BitmapOrigin(Resource.Item_BtCoin_disabled_0); this.btnCoin.Location = new Point(9, 267); this.btnCoin.Size = new Size(40, 16); this.btnCoin.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnGather = new ACtrlButton(); this.btnGather.Normal = new BitmapOrigin(Resource.Item_BtGather_normal_0); this.btnGather.Pressed = new BitmapOrigin(Resource.Item_BtGather_pressed_0); this.btnGather.MouseOver = new BitmapOrigin(Resource.Item_BtGather_mouseOver_0); this.btnGather.Disabled = new BitmapOrigin(Resource.Item_BtGather_disabled_0); this.btnGather.Location = new Point(129, 267); this.btnGather.Size = new Size(16, 16); this.btnGather.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnGather.MouseClick += new MouseEventHandler(btnGather_MouseClick); this.btnSort = new ACtrlButton(); this.btnSort.Normal = new BitmapOrigin(Resource.Item_BtSort_normal_0); this.btnSort.Pressed = new BitmapOrigin(Resource.Item_BtSort_pressed_0); this.btnSort.MouseOver = new BitmapOrigin(Resource.Item_BtSort_mouseOver_0); this.btnSort.Disabled = new BitmapOrigin(Resource.Item_BtSort_disabled_0); this.btnSort.Location = new Point(129, 267); this.btnSort.Size = new Size(16, 16); this.btnSort.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnSort.MouseClick += new MouseEventHandler(btnSort_MouseClick); this.btnClose = new ACtrlButton(); this.btnClose.Normal = new BitmapOrigin(Resource.BtClose3_normal_0); this.btnClose.Pressed = new BitmapOrigin(Resource.BtClose3_pressed_0); this.btnClose.MouseOver = new BitmapOrigin(Resource.BtClose3_mouseOver_0); this.btnClose.Disabled = new BitmapOrigin(Resource.BtClose3_disabled_0); this.btnClose.Location = new Point(150, 6); this.btnClose.Size = new Size(13, 13); this.btnClose.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnClose.MouseClick += new MouseEventHandler(btnClose_MouseClick); }
private void initCtrl() { this.itemTabs = new ItemTab[5]; for (int i = 0; i < itemTabs.Length; i++) { this.itemTabs[i] = new ItemTab(this); this.itemTabs[i].TabEnabled = new BitmapOrigin((Bitmap)Resource.ResourceManager.GetObject("Item_Tab_enabled_" + i), -9 - 31 * i, -28); this.itemTabs[i].TabDisabled = new BitmapOrigin((Bitmap)Resource.ResourceManager.GetObject("Item_Tab_disabled_" + i), -9 - 31 * i, -28); } this.itemTabs[0].Selected = true; this.vScroll = new ACtrlVScroll(); this.vScroll.PicBase.Normal = new BitmapOrigin(Resource.VScr9_enabled_base); this.vScroll.PicBase.Disabled = new BitmapOrigin(Resource.VScr9_disabled_base); this.vScroll.BtnPrev.Normal = new BitmapOrigin(Resource.VScr9_enabled_prev0); this.vScroll.BtnPrev.Pressed = new BitmapOrigin(Resource.VScr9_enabled_prev1); this.vScroll.BtnPrev.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_prev2); this.vScroll.BtnPrev.Disabled = new BitmapOrigin(Resource.VScr9_disabled_prev); this.vScroll.BtnPrev.Size = this.vScroll.BtnPrev.Normal.Bitmap.Size; this.vScroll.BtnPrev.Location = new Point(0, 0); this.vScroll.BtnNext.Normal = new BitmapOrigin(Resource.VScr9_enabled_next0); this.vScroll.BtnNext.Pressed = new BitmapOrigin(Resource.VScr9_enabled_next1); this.vScroll.BtnNext.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_next2); this.vScroll.BtnNext.Disabled = new BitmapOrigin(Resource.VScr9_disabled_next); this.vScroll.BtnNext.Size = this.vScroll.BtnNext.Normal.Bitmap.Size; this.vScroll.BtnNext.Location = new Point(0, 195); this.vScroll.BtnThumb.Normal = new BitmapOrigin(Resource.VScr9_enabled_thumb0); this.vScroll.BtnThumb.Pressed = new BitmapOrigin(Resource.VScr9_enabled_thumb1); this.vScroll.BtnThumb.MouseOver = new BitmapOrigin(Resource.VScr9_enabled_thumb2); this.vScroll.BtnThumb.Size = this.vScroll.BtnThumb.Normal.Bitmap.Size; this.vScroll.Location = new Point(152, 51); this.vScroll.Size = new Size(11, 207); this.vScroll.ValueChanged += new EventHandler(vScroll_ValueChanged); this.vScroll.ChildButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnFull = new ACtrlButton(); this.btnFull.Normal = new BitmapOrigin(Resource.Item_BtFull_normal_0); this.btnFull.Pressed = new BitmapOrigin(Resource.Item_BtFull_pressed_0); this.btnFull.MouseOver = new BitmapOrigin(Resource.Item_BtFull_mouseOver_0); this.btnFull.Disabled = new BitmapOrigin(Resource.Item_BtFull_disabled_0); this.btnFull.Location = new Point(147, 267); this.btnFull.Size = new Size(16, 16); this.btnFull.MouseClick += new MouseEventHandler(btnFull_MouseClick); this.btnFull.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnSmall = new ACtrlButton(); this.btnSmall.Normal = new BitmapOrigin(Resource.Item_BtSmall_normal_0); this.btnSmall.Pressed = new BitmapOrigin(Resource.Item_BtSmall_pressed_0); this.btnSmall.MouseOver = new BitmapOrigin(Resource.Item_BtSmall_mouseOver_0); this.btnSmall.Disabled = new BitmapOrigin(Resource.Item_BtSmall_disabled_0); this.btnSmall.Location = new Point(147, 337); this.btnSmall.Size = new Size(16, 16); this.btnSmall.MouseClick += new MouseEventHandler(btnSmall_MouseClick); this.btnSmall.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnCoin = new ACtrlButton(); this.btnCoin.Normal = new BitmapOrigin(Resource.Item_BtCoin_normal_0); this.btnCoin.Pressed = new BitmapOrigin(Resource.Item_BtCoin_pressed_0); this.btnCoin.MouseOver = new BitmapOrigin(Resource.Item_BtCoin_mouseOver_0); this.btnCoin.Disabled = new BitmapOrigin(Resource.Item_BtCoin_disabled_0); this.btnCoin.Location = new Point(9, 267); this.btnCoin.Size = new Size(40, 16); this.btnCoin.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnPoint = new ACtrlButton(); this.btnPoint.Normal = new BitmapOrigin(Resource.Item_BtPoint_normal_0); this.btnPoint.Pressed = new BitmapOrigin(Resource.Item_BtPoint_pressed_0); this.btnPoint.MouseOver = new BitmapOrigin(Resource.Item_BtPoint_mouseOver_0); this.btnPoint.Disabled = new BitmapOrigin(Resource.Item_BtPoint_disabled_0); this.btnPoint.Location = new Point(9, 285); this.btnPoint.Size = new Size(82, 16); this.btnPoint.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnGather = new ACtrlButton(); this.btnGather.Normal = new BitmapOrigin(Resource.Item_BtGather_normal_0); this.btnGather.Pressed = new BitmapOrigin(Resource.Item_BtGather_pressed_0); this.btnGather.MouseOver = new BitmapOrigin(Resource.Item_BtGather_mouseOver_0); this.btnGather.Disabled = new BitmapOrigin(Resource.Item_BtGather_disabled_0); this.btnGather.Location = new Point(129, 267); this.btnGather.Size = new Size(16, 16); this.btnGather.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnGather.MouseClick += new MouseEventHandler(btnGather_MouseClick); this.btnSort = new ACtrlButton(); this.btnSort.Normal = new BitmapOrigin(Resource.Item_BtSort_normal_0); this.btnSort.Pressed = new BitmapOrigin(Resource.Item_BtSort_pressed_0); this.btnSort.MouseOver = new BitmapOrigin(Resource.Item_BtSort_mouseOver_0); this.btnSort.Disabled = new BitmapOrigin(Resource.Item_BtSort_disabled_0); this.btnSort.Location = new Point(129, 267); this.btnSort.Size = new Size(16, 16); this.btnSort.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnSort.MouseClick += new MouseEventHandler(btnSort_MouseClick); this.btnDisassemble3 = new ACtrlButton(); this.btnDisassemble3.Normal = new BitmapOrigin(Resource.Item_BtDisassemble3_normal_0); this.btnDisassemble3.Pressed = new BitmapOrigin(Resource.Item_BtDisassemble3_pressed_0); this.btnDisassemble3.MouseOver = new BitmapOrigin(Resource.Item_BtDisassemble3_mouseOver_0); this.btnDisassemble3.Disabled = new BitmapOrigin(Resource.Item_BtDisassemble3_disabled_0); this.btnDisassemble3.Location = new Point(9, 303); this.btnDisassemble3.Size = new Size(24, 24); this.btnDisassemble3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnDisassemble4 = new ACtrlButton(); this.btnDisassemble4.Normal = new BitmapOrigin(Resource.Item_BtDisassemble4_normal_0); this.btnDisassemble4.Pressed = new BitmapOrigin(Resource.Item_BtDisassemble4_pressed_0); this.btnDisassemble4.MouseOver = new BitmapOrigin(Resource.Item_BtDisassemble4_mouseOver_0); this.btnDisassemble4.Disabled = new BitmapOrigin(Resource.Item_BtDisassemble4_disabled_0); this.btnDisassemble4.Location = new Point(412, 337); this.btnDisassemble4.Size = new Size(16, 16); this.btnDisassemble4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnExtract3 = new ACtrlButton(); this.btnExtract3.Normal = new BitmapOrigin(Resource.Item_BtExtract3_normal_0); this.btnExtract3.Pressed = new BitmapOrigin(Resource.Item_BtExtract3_pressed_0); this.btnExtract3.MouseOver = new BitmapOrigin(Resource.Item_BtExtract3_mouseOver_0); this.btnExtract3.Disabled = new BitmapOrigin(Resource.Item_BtExtract3_disabled_0); this.btnExtract3.Location = new Point(35, 303); this.btnExtract3.Size = new Size(24, 24); this.btnExtract3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnExtract4 = new ACtrlButton(); this.btnExtract4.Normal = new BitmapOrigin(Resource.Item_BtExtract4_normal_0); this.btnExtract4.Pressed = new BitmapOrigin(Resource.Item_BtExtract4_pressed_0); this.btnExtract4.MouseOver = new BitmapOrigin(Resource.Item_BtExtract4_mouseOver_0); this.btnExtract4.Disabled = new BitmapOrigin(Resource.Item_BtExtract4_disabled_0); this.btnExtract4.Location = new Point(430, 337); this.btnExtract4.Size = new Size(16, 16); this.btnExtract4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnAppraise3 = new ACtrlButton(); this.btnAppraise3.Normal = new BitmapOrigin(Resource.Item_BtAppraise3_normal_0); this.btnAppraise3.Pressed = new BitmapOrigin(Resource.Item_BtAppraise3_pressed_0); this.btnAppraise3.MouseOver = new BitmapOrigin(Resource.Item_BtAppraise3_mouseOver_0); this.btnAppraise3.Disabled = new BitmapOrigin(Resource.Item_BtAppraise3_disabled_0); this.btnAppraise3.Location = new Point(61, 303); this.btnAppraise3.Size = new Size(24, 24); this.btnAppraise3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnAppraise4 = new ACtrlButton(); this.btnAppraise4.Normal = new BitmapOrigin(Resource.Item_BtAppraise4_normal_0); this.btnAppraise4.Pressed = new BitmapOrigin(Resource.Item_BtAppraise4_pressed_0); this.btnAppraise4.MouseOver = new BitmapOrigin(Resource.Item_BtAppraise4_mouseOver_0); this.btnAppraise4.Disabled = new BitmapOrigin(Resource.Item_BtAppraise4_disabled_0); this.btnAppraise4.Location = new Point(448, 337); this.btnAppraise4.Size = new Size(16, 16); this.btnAppraise4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnBits3 = new ACtrlButton(); this.btnBits3.Normal = new BitmapOrigin(Resource.Item_BtBits3_normal_0); this.btnBits3.Pressed = new BitmapOrigin(Resource.Item_BtBits3_pressed_0); this.btnBits3.MouseOver = new BitmapOrigin(Resource.Item_BtBits3_mouseOver_0); this.btnBits3.Disabled = new BitmapOrigin(Resource.Item_BtBits3_disabled_0); this.btnBits3.Location = new Point(113, 303); this.btnBits3.Size = new Size(24, 24); this.btnBits3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnBits4 = new ACtrlButton(); this.btnBits4.Normal = new BitmapOrigin(Resource.Item_BtBits4_normal_0); this.btnBits4.Pressed = new BitmapOrigin(Resource.Item_BtBits4_pressed_0); this.btnBits4.MouseOver = new BitmapOrigin(Resource.Item_BtBits4_mouseOver_0); this.btnBits4.Disabled = new BitmapOrigin(Resource.Item_BtBits4_disabled_0); this.btnBits4.Location = new Point(484, 337); this.btnBits4.Size = new Size(16, 16); this.btnBits4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnPot3 = new ACtrlButton(); this.btnPot3.Normal = new BitmapOrigin(Resource.Item_BtPot3_normal_0); this.btnPot3.Pressed = new BitmapOrigin(Resource.Item_BtPot3_pressed_0); this.btnPot3.MouseOver = new BitmapOrigin(Resource.Item_BtPot3_mouseOver_0); this.btnPot3.Disabled = new BitmapOrigin(Resource.Item_BtPot3_disabled_0); this.btnPot3.Location = new Point(87, 303); this.btnPot3.Size = new Size(24, 24); this.btnPot3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnPot4 = new ACtrlButton(); this.btnPot4.Normal = new BitmapOrigin(Resource.Item_BtPot4_normal_0); this.btnPot4.Pressed = new BitmapOrigin(Resource.Item_BtPot4_pressed_0); this.btnPot4.MouseOver = new BitmapOrigin(Resource.Item_BtPot4_mouseOver_0); this.btnPot4.Disabled = new BitmapOrigin(Resource.Item_BtPot4_disabled_0); this.btnPot4.Location = new Point(466, 337); this.btnPot4.Size = new Size(16, 16); this.btnPot4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnUpgrade3 = new ACtrlButton(); this.btnUpgrade3.Normal = new BitmapOrigin(Resource.Item_BtUpgrade3_normal_0); this.btnUpgrade3.Pressed = new BitmapOrigin(Resource.Item_BtUpgrade3_pressed_0); this.btnUpgrade3.MouseOver = new BitmapOrigin(Resource.Item_BtUpgrade3_mouseOver_0); this.btnUpgrade3.Disabled = new BitmapOrigin(Resource.Item_BtUpgrade3_disabled_0); this.btnUpgrade3.Location = new Point(139, 303); this.btnUpgrade3.Size = new Size(24, 24); this.btnUpgrade3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnUpgrade4 = new ACtrlButton(); this.btnUpgrade4.Normal = new BitmapOrigin(Resource.Item_BtUpgrade4_normal_0); this.btnUpgrade4.Pressed = new BitmapOrigin(Resource.Item_BtUpgrade4_pressed_0); this.btnUpgrade4.MouseOver = new BitmapOrigin(Resource.Item_BtUpgrade4_mouseOver_0); this.btnUpgrade4.Disabled = new BitmapOrigin(Resource.Item_BtUpgrade4_disabled_0); this.btnUpgrade4.Location = new Point(392, 337); this.btnUpgrade4.Size = new Size(16, 16); this.btnUpgrade4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnToad3 = new ACtrlButton(); this.btnToad3.Normal = new BitmapOrigin(Resource.Item_BtToad3_normal_0); this.btnToad3.Pressed = new BitmapOrigin(Resource.Item_BtToad3_pressed_0); this.btnToad3.MouseOver = new BitmapOrigin(Resource.Item_BtToad3_mouseOver_0); this.btnToad3.Disabled = new BitmapOrigin(Resource.Item_BtToad3_disabled_0); this.btnToad3.Location = new Point(113, 303); this.btnToad3.Size = new Size(24, 24); this.btnToad3.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnToad4 = new ACtrlButton(); this.btnToad4.Normal = new BitmapOrigin(Resource.Item_BtToad4_normal_0); this.btnToad4.Pressed = new BitmapOrigin(Resource.Item_BtToad4_pressed_0); this.btnToad4.MouseOver = new BitmapOrigin(Resource.Item_BtToad4_mouseOver_0); this.btnToad4.Disabled = new BitmapOrigin(Resource.Item_BtToad4_disabled_0); this.btnToad4.Location = new Point(484, 337); this.btnToad4.Size = new Size(16, 16); this.btnToad4.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnClose = new ACtrlButton(); this.btnClose.Normal = new BitmapOrigin(Resource.BtClose3_normal_0); this.btnClose.Pressed = new BitmapOrigin(Resource.BtClose3_pressed_0); this.btnClose.MouseOver = new BitmapOrigin(Resource.BtClose3_mouseOver_0); this.btnClose.Disabled = new BitmapOrigin(Resource.BtClose3_disabled_0); this.btnClose.Location = new Point(150, 6); this.btnClose.Size = new Size(13, 13); this.btnClose.ButtonStateChanged += new EventHandler(aCtrl_RefreshCall); this.btnClose.MouseClick += new MouseEventHandler(btnClose_MouseClick); }