| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- namespace qdr.app.tools.claudecodebalancewidget
- {
- partial class EnhancedSettingsForm
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.SuspendLayout();
-
- // Form
- this.ClientSize = new Size(600, 500);
- this.Text = "Settings - Claude Balance Monitor";
- this.StartPosition = FormStartPosition.CenterParent;
- this.FormBorderStyle = FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
-
- // Authentication Method Selection
- var authMethodLabel = new Label();
- authMethodLabel.Text = "Authentication Method:";
- authMethodLabel.Location = new Point(10, 10);
- authMethodLabel.Size = new Size(150, 20);
- authMethodLabel.Font = new Font("Segoe UI", 9, FontStyle.Bold);
- this.Controls.Add(authMethodLabel);
-
- sessionRadioButton = new RadioButton();
- sessionRadioButton.Text = "Session Cookie (Legacy)";
- sessionRadioButton.Location = new Point(10, 35);
- sessionRadioButton.Size = new Size(200, 20);
- sessionRadioButton.Checked = true;
- sessionRadioButton.CheckedChanged += AuthMethod_CheckedChanged;
- this.Controls.Add(sessionRadioButton);
-
- apiRadioButton = new RadioButton();
- apiRadioButton.Text = "API Key (Recommended)";
- apiRadioButton.Location = new Point(220, 35);
- apiRadioButton.Size = new Size(200, 20);
- apiRadioButton.CheckedChanged += AuthMethod_CheckedChanged;
- this.Controls.Add(apiRadioButton);
-
- // Tab Control
- tabControl = new TabControl();
- tabControl.Location = new Point(10, 65);
- tabControl.Size = new Size(570, 350);
- this.Controls.Add(tabControl);
-
- // Session Cookie Tab
- sessionTabPage = new TabPage("Session Cookie");
- CreateSessionTab();
- tabControl.TabPages.Add(sessionTabPage);
-
- // API Key Tab
- apiTabPage = new TabPage("API Key");
- CreateApiTab();
- tabControl.TabPages.Add(apiTabPage);
-
- // Help Tab
- helpTabPage = new TabPage("Help");
- CreateHelpTab();
- tabControl.TabPages.Add(helpTabPage);
-
- // OK Button
- okButton = new Button();
- okButton.Text = "OK";
- okButton.Location = new Point(405, 430);
- 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(505, 430);
- cancelButton.Size = new Size(90, 30);
- cancelButton.Click += CancelButton_Click;
- this.Controls.Add(cancelButton);
-
- this.ResumeLayout(false);
- }
- #endregion
- }
- }
|