namespace qdr.app.tools.claudecodebalancewidget { partial class SettingsForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.SuspendLayout(); // Form this.ClientSize = new Size(500, 250); this.Text = "Settings - Claude Balance Monitor"; this.StartPosition = FormStartPosition.CenterParent; this.FormBorderStyle = FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; // Instructions Label instructionsLabel = new Label(); instructionsLabel.Text = "To get your session token:\n" + "1. Go to https://console.anthropic.com/settings/billing\n" + "2. Open Developer Tools (F12)\n" + "3. Go to Application → Cookies\n" + "4. Find and copy the 'sessionKey' cookie value"; instructionsLabel.Location = new Point(10, 10); instructionsLabel.Size = new Size(470, 80); instructionsLabel.Font = new Font("Segoe UI", 9); this.Controls.Add(instructionsLabel); // Session Token Label var tokenLabel = new Label(); tokenLabel.Text = "Session Token:"; tokenLabel.Location = new Point(10, 100); tokenLabel.Size = new Size(100, 20); tokenLabel.Font = new Font("Segoe UI", 9, FontStyle.Bold); this.Controls.Add(tokenLabel); // Session Token TextBox sessionTokenTextBox = new TextBox(); sessionTokenTextBox.Location = new Point(10, 125); sessionTokenTextBox.Size = new Size(370, 23); sessionTokenTextBox.UseSystemPasswordChar = true; sessionTokenTextBox.Font = new Font("Consolas", 9); this.Controls.Add(sessionTokenTextBox); // Show/Hide Button showHideButton = new Button(); showHideButton.Text = "Show"; showHideButton.Location = new Point(390, 125); showHideButton.Size = new Size(60, 23); showHideButton.Click += ShowHideButton_Click; this.Controls.Add(showHideButton); // Test Connection Button var testButton = new Button(); testButton.Text = "Test Connection"; testButton.Location = new Point(10, 160); testButton.Size = new Size(120, 30); testButton.Click += TestButton_Click; this.Controls.Add(testButton); // Status Label var statusLabel = new Label(); statusLabel.Name = "statusLabel"; statusLabel.Text = "Enter your session token and click 'Test Connection'"; statusLabel.Location = new Point(140, 165); statusLabel.Size = new Size(350, 20); statusLabel.ForeColor = Color.Gray; this.Controls.Add(statusLabel); // OK Button okButton = new Button(); okButton.Text = "OK"; okButton.Location = new Point(295, 200); okButton.Size = new Size(90, 30); okButton.Click += OkButton_Click; this.Controls.Add(okButton); // Cancel Button cancelButton = new Button(); cancelButton.Text = "Cancel"; cancelButton.Location = new Point(395, 200); cancelButton.Size = new Size(90, 30); cancelButton.Click += CancelButton_Click; this.Controls.Add(cancelButton); this.ResumeLayout(false); } #endregion } }