コード例 #1
0
ファイル: FrmMain.cs プロジェクト: torsina/GW2MH-R
        private async void FrmMain_Load(object sender, EventArgs e)
        {
            ttDefault.SetToolTip(numBaseSpeedMultiplier, "If Speedhack is enabled, this defines the speed in percent how fast your character is moving.");
            ttDefault.SetToolTip(numExtSpeedMultiplier, "If Speedhack is enabled and Left Shift is pressed, then it multiplies your speed using this value.");
            ttDefault.SetToolTip(cbAntiKick, "Every 5 seconds, W and S is being sent to the game to keep you ingame.");

#if DEBUG
            DevTools.Visible = true;
#endif

            if (await PaymentApi.PaymentDetails(LoginResponse.name))
            {
                numBaseSpeedMultiplier.Maximum = 999999;
                numExtSpeedMultiplier.Maximum  = 999999;
                btnRemoteTP.Enabled            = true;
                ttDefault.SetToolTip(btnRemoteTP, "Get your items and money remotely from trading post.");
            }
            else
            {
                btnBuyUnlimited.Visible = true;
                btnRemoteTP.Enabled     = false;
                ttDefault.SetToolTip(btnRemoteTP, "Buy GW2MH-R Feature Limit Unlock to unlock this feature.");
            }
        }