public MainForm() { Config = Program.Config; InitializeComponent(); #region 翻译 viewToolStripMenuItem.Text = R.View; serverManagerToolStripMenuItem.Text = R.ServerManager; helpToolStripMenuItem.Text = R.Help; aboutToolStripMenuItem.Text = R.About; allSalonToolStripMenuItem.Text = R.AllSalon; salonPirceToolStripMenuItem.Text = R.SalonPirce; toolToolStripMenuItem.Text = R.Tool; zhTW2zhCNToolStripMenuItem.Text = R.zhTw2zhCn; // chSendingTitle.Text = R.MailTitle; chReceiverTitle.Text = R.MailTitle; chUserClass.Text = R.UserClass; chUserName.Text = R.UserName; chUserLevel.Text = R.UserLevel; TabUserList.Text = R.UserList; TabItemDetail.Text = R.ItemDetail; TabMailRecv.Text = R.MailReceiver; TabMailSend.Text = R.MailSending; // refreshMailToolStripMenuItem.Text = R.RefeshMail; deleteAllMailsToolStripMenuItem.Text = R.DeleteAllMails; deleteMailsToolStripMenuItem.Text = R.DeleteMails; // resetGroupSkillToolStripMenuItem.Text = R.ResetGroupSkill; maxGroupDarkToolStripMenuItem.Text = R.MaxGroupDark; maxGroupLightToolStripMenuItem.Text = R.MaxGroupLight; modUserToolStripMenuItem.Text = R.ModUser; resetQuestTimesToolStripMenuItem.Text = R.ResetQuestTimes; maxSubClassToolStripMenuItem.Text = R.MaxSubClass; refreshUserToolStripMenuItem.Text = R.RefreshUser; addTitlesToolStripMenuItem.Text = R.AddTitles; addTitle0ToolStripMenuItem.Text = R.AddTitle; // modAPToolStripMenuItem.Text = R.ModAP; modAttriToolStripMenuItem.Text = R.ModAttri; modClassToolStripMenuItem.Text = R.ModClass; modLevelToolStripMenuItem.Text = R.ModLevel; modNameToolStripMenuItem.Text = R.ModName; // SearchTitle.Text = R.SearchList; chSearchName.Text = R.ItemName; lbSearchName.Text = R.ItemName; lbSearchItemClass.Text = R.ItemClass; lbSearchCategory.Text = R.Category; SearchByName.Text = R.SearchByName; SearchByClass.Text = R.SearchByItemClass; SearchReset.Text = R.SearchReset; // send1ToolStripMenuItem.Text = string.Format(R.SendItemCount, 1); send5ToolStripMenuItem.Text = string.Format(R.SendItemCount, 5); send10ToolStripMenuItem.Text = string.Format(R.SendItemCount, 10); sendNToolStripMenuItem.Text = string.Format(R.SendItemCount, "N"); copyItemClassToolStripMenuItem.Text = R.CopyItemClass; //; // itemCountToolStripMenuItem.Text = R.ModItemCount; clearEnhanceToolStripMenuItem.Text = R.Clear; clearGemToolStripMenuItem.Text = R.Clear; clearInnerEnchantToolStripMenuItem.Text = R.Clear; clearItemStarToolStripMenuItem.Text = R.Clear; clearPrefixToolStripMenuItem.Text = R.Clear; clearSocreToolStripMenuItem.Text = R.Clear; clearSuffixToolStripMenuItem.Text = R.Clear; clearLookToolStripMenuItem.Text = R.Clear; deleteItemToolStripMenuItem.Text = R.DeleteSelectItem; refreshItemToolStripMenuItem.Text = R.RefreshPackage; unlimitTimeToolStripMenuItem.Text = R.UnLimitTime; color1ToolStripMenuItem.Text = R.ModColor1; color2ToolStripMenuItem.Text = R.ModColor2; color3ToolStripMenuItem.Text = R.ModColor3; allColorToolStripMenuItem.Text = R.AllModColor; lbColor1.Text = R.Color1; lbColor2.Text = R.Color2; lbColor3.Text = R.Color3; LockColorChk.Text = R.LockColor; enhanceToolStripMenuItem.Text = R.Enhance; itemStarToolStripMenuItem.Text = R.Star; prefixEnchantToolStripMenuItem.Text = R.PrefixEnchant; suffixEnchantToolStripMenuItem.Text = R.SuffixEnchant; innerEnchantToolStripMenuItem.Text = R.InnerEnchant; clothesSocreToolStripMenuItem.Text = R.ClothesScore; gemToolStripMenuItem.Text = R.Gem; lookToolStripMenuItem.Text = R.Look; setItemClassToolStripMenuItem.Text = R.SetItemClass; MyNotifyIcon.Text = this.Text; #endregion }