public SelectJobForm() { InitializeComponent(); NeedBlackForm = true; this.bitmapButtonSelect.ImageNormal = PicLoader.Read("ButtonBitmap", "ButtonBack2.PNG"); bitmapButtonSelect.Font = new Font("宋体", 8 * 1.33f, FontStyle.Regular, GraphicsUnit.Pixel); bitmapButtonSelect.ForeColor = Color.White; bitmapButtonSelect.IconImage = TaleofMonsters.Core.HSIcons.GetIconsByEName("oth2"); bitmapButtonSelect.IconSize = new Size(16, 16); bitmapButtonSelect.IconXY = new Point(8, 5); bitmapButtonSelect.TextOffX = 8; selectPanel = new NLSelectPanel(8, 38, 154, 400, this); selectPanel.ItemHeight = 35; selectPanel.SelectIndexChanged += selectPanel_SelectedIndexChanged; selectPanel.DrawCell += selectPanel_DrawCell; this.nlPageSelector1 = new NLPageSelector(this, 10, 321, 150); nlPageSelector1.PageChange += nlPageSelector1_PageChange; jobDes = new ColorWordRegion(180, 70, 320, "宋体", 10, Color.White); virtualRegion = new VirtualRegion(this); PictureRegion region = new PictureRegion(1, 178, 266, 48, 48, 1, VirtualRegionCellType.HeroSkill, 0); region.AddDecorator(new RegionBorderDecorator(Color.DodgerBlue)); virtualRegion.AddRegion(region); virtualRegion.AddRegion(new PictureRegion(2, 238, 266, 48, 48, 2, VirtualRegionCellType.Card, 0)); virtualRegion.AddRegion(new PictureRegion(3, 298, 266, 48, 48, 3, VirtualRegionCellType.Card, 0)); virtualRegion.AddRegion(new PictureRegion(4, 358, 266, 48, 48, 4, VirtualRegionCellType.Card, 0)); virtualRegion.RegionEntered += virtualRegion_RegionEntered; virtualRegion.RegionLeft += virtualRegion_RegionLeft; }
public LevelInfoItem(UserControl prt, int x, int y, int width, int height) { parent = prt; this.x = x; this.y = y; this.width = width; this.height = height; colorWord = new ColorWordRegion(x+135, y+20, 260, "宋体", 10, Color.White); }
public NpcTaskBeginForm() { InitializeComponent(); colorWord = new ColorWordRegion(22, 97, 268, "宋体", 10, Color.White); virtualRegion = new VirtualRegion(this); virtualRegion.AddRegion(new SubVirtualRegion(1, 22, 230, 258, 20, 1)); virtualRegion.AddRegion(new SubVirtualRegion(2, 22, 250, 258, 20, 2)); virtualRegion.RegionClicked += new VirtualRegion.VRegionClickEventHandler(virtualRegion_RegionClicked); virtualRegion.RegionEntered += new VirtualRegion.VRegionEnteredEventHandler(virtualRegion_RegionEntered); virtualRegion.RegionLeft += new VirtualRegion.VRegionLeftEventHandler(virtualRegion_RegionLeft); }
public NpcDigForm() { InitializeComponent(); colorWord = new ColorWordRegion(22, 77, 268, "宋体", 10, Color.White); virtualRegion = new VirtualRegion(this); virtualRegion.RegionEntered += new VirtualRegion.VRegionEnteredEventHandler(virtualRegion_RegionEntered); virtualRegion.RegionLeft += new VirtualRegion.VRegionLeftEventHandler(virtualRegion_RegionLeft); bitmapButtonPick.ImageNormal = PicLoader.Read("ButtonBitmap", "PickButton.JPG"); this.bitmapButtonClose2.ImageNormal = PicLoader.Read("ButtonBitmap", "CloseButton1.JPG"); }
public ChangeCardForm() { InitializeComponent(); this.bitmapButtonClose.ImageNormal = PicLoader.Read("ButtonBitmap", "CloseButton1.JPG"); bitmapButtonClose.NoUseDrawNine = true; this.bitmapButtonRefresh.ImageNormal = PicLoader.Read("ButtonBitmap", "PlusButton.JPG"); bitmapButtonRefresh.NoUseDrawNine = true; this.bitmapButtonFresh.ImageNormal = PicLoader.Read("ButtonBitmap", "FreshButton.JPG"); bitmapButtonFresh.NoUseDrawNine = true; colorWord = new ColorWordRegion(12, 38, 384, "微软雅黑", 11, Color.White); colorWord.Bold = true; colorWord.Text = "|每|Red|24小时||随机更新5条交换公式,交换公式的|Lime|背景颜色||决定交换公式的最高品质。"; }
public QuestionForm() { InitializeComponent(); colorWord = new ColorWordRegion(21, 44, 274, "微软雅黑", 11, Color.White); colorWord.Bold = true; this.bitmapButtonClose.ImageNormal = PicLoader.Read("ButtonBitmap", "CloseButton1.JPG"); this.bitmapButtonC1.ImageNormal = PicLoader.Read("ButtonBitmap", "ButtonBack2.PNG"); bitmapButtonC1.Font = new Font("宋体", 8 * 1.33f, FontStyle.Regular, GraphicsUnit.Pixel); bitmapButtonC1.ForeColor = Color.White; bitmapButtonC1.IconImage = TaleofMonsters.Core.HSIcons.GetIconsByEName("right"); bitmapButtonC1.IconSize = new Size(16, 16); bitmapButtonC1.IconXY = new Point(4, 5); bitmapButtonC1.TextOffX = 8; }
public BuyPieceForm() { InitializeComponent(); this.bitmapButtonClose.ImageNormal = PicLoader.Read("ButtonBitmap", "CloseButton1.JPG"); bitmapButtonClose.NoUseDrawNine = true; this.bitmapButtonRefresh.ImageNormal = PicLoader.Read("ButtonBitmap", "PlusButton.JPG"); bitmapButtonRefresh.NoUseDrawNine = true; this.bitmapButtonFresh.ImageNormal = PicLoader.Read("ButtonBitmap", "FreshButton.JPG"); bitmapButtonFresh.NoUseDrawNine = true; this.bitmapButtonDouble.ImageNormal = PicLoader.Read("ButtonBitmap", "MoneyButton.JPG"); bitmapButtonDouble.NoUseDrawNine = true; colorWord = new ColorWordRegion(12, 38, 384, "微软雅黑", 11, Color.White); colorWord.Bold = true; colorWord.Text = "|每|Red|6小时||随机更新5条购买素材,素材的|Lime|背景颜色||决定素材的最高品质。"; }
public NpcTalkForm() { InitializeComponent(); colorWord = new ColorWordRegion(22, 77, 268, "宋体", 10, Color.White); }