namespace qdr.app.tools.claudecodebalancewidget
{
partial class EnhancedSettingsForm
{
///
/// 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(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
}
}