Exemplo n.º 1
0
        private void Timeslot_Changed(object sender, EventArgs e)
        {
            MetroFramework.Controls.MetroRadioButton actionBtn = ((MetroFramework.Controls.MetroRadioButton)sender);
            if (actionBtn.Checked)
            {
                string   tag      = actionBtn.Tag.ToString();
                TimeSlot timeslot = (TimeSlot)int.Parse(tag);

                this.changed(this, new ViewEventArgs(VIEW_ACTIONS.CHANGE_TIMESLOT, timeslot));
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TableLayoutPanel    login_container;
     MetroFramework.Controls.MetroLabel       title_label;
     System.Windows.Forms.TableLayoutPanel    register_container;
     MetroFramework.Controls.MetroRadioButton option_0;
     MetroFramework.Controls.MetroRadioButton option_1;
     MetroFramework.Controls.MetroRadioButton option_2;
     MetroFramework.Controls.MetroRadioButton option_3;
     MetroFramework.Controls.MetroRadioButton option_4;
     MetroFramework.Controls.MetroRadioButton option_5;
     this.submit_button    = new MetroFramework.Controls.MetroButton();
     this.cancel_button    = new MetroFramework.Controls.MetroButton();
     this.info_label       = new MetroFramework.Controls.MetroLabel();
     this.button_container = new System.Windows.Forms.GroupBox();
     login_container       = new System.Windows.Forms.TableLayoutPanel();
     title_label           = new MetroFramework.Controls.MetroLabel();
     register_container    = new System.Windows.Forms.TableLayoutPanel();
     option_0 = new MetroFramework.Controls.MetroRadioButton();
     option_1 = new MetroFramework.Controls.MetroRadioButton();
     option_2 = new MetroFramework.Controls.MetroRadioButton();
     option_3 = new MetroFramework.Controls.MetroRadioButton();
     option_4 = new MetroFramework.Controls.MetroRadioButton();
     option_5 = new MetroFramework.Controls.MetroRadioButton();
     login_container.SuspendLayout();
     register_container.SuspendLayout();
     this.button_container.SuspendLayout();
     this.SuspendLayout();
     //
     // login_container
     //
     login_container.ColumnCount = 1;
     login_container.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     login_container.Controls.Add(title_label, 0, 0);
     login_container.Controls.Add(this.info_label, 0, 2);
     login_container.Controls.Add(register_container, 0, 3);
     login_container.Controls.Add(this.button_container, 0, 1);
     login_container.Location = new System.Drawing.Point(0, 31);
     login_container.Name     = "login_container";
     login_container.RowCount = 4;
     login_container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     login_container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
     login_container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
     login_container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
     login_container.Size     = new System.Drawing.Size(240, 309);
     login_container.TabIndex = 5;
     //
     // title_label
     //
     title_label.Anchor             = System.Windows.Forms.AnchorStyles.None;
     title_label.AutoSize           = true;
     title_label.Location           = new System.Drawing.Point(69, 21);
     title_label.Name               = "title_label";
     title_label.Size               = new System.Drawing.Size(102, 19);
     title_label.TabIndex           = 5;
     title_label.Text               = "Rating Dialogue";
     title_label.UseCustomBackColor = true;
     title_label.UseCustomForeColor = true;
     //
     // register_container
     //
     register_container.ColumnCount = 2;
     register_container.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     register_container.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     register_container.Controls.Add(this.submit_button, 1, 0);
     register_container.Controls.Add(this.cancel_button, 0, 0);
     register_container.Location = new System.Drawing.Point(3, 248);
     register_container.Name     = "register_container";
     register_container.RowCount = 1;
     register_container.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     register_container.Size     = new System.Drawing.Size(234, 58);
     register_container.TabIndex = 6;
     //
     // submit_button
     //
     this.submit_button.Anchor             = System.Windows.Forms.AnchorStyles.None;
     this.submit_button.Location           = new System.Drawing.Point(138, 17);
     this.submit_button.Name               = "submit_button";
     this.submit_button.Size               = new System.Drawing.Size(75, 23);
     this.submit_button.TabIndex           = 2;
     this.submit_button.Text               = "Submit";
     this.submit_button.UseCustomBackColor = true;
     this.submit_button.UseCustomForeColor = true;
     this.submit_button.UseSelectable      = true;
     this.submit_button.Click             += new System.EventHandler(this.submit_button_Click);
     //
     // cancel_button
     //
     this.cancel_button.Anchor             = System.Windows.Forms.AnchorStyles.None;
     this.cancel_button.Location           = new System.Drawing.Point(26, 17);
     this.cancel_button.Name               = "cancel_button";
     this.cancel_button.Size               = new System.Drawing.Size(65, 23);
     this.cancel_button.TabIndex           = 3;
     this.cancel_button.Text               = "Cancel";
     this.cancel_button.UseCustomBackColor = true;
     this.cancel_button.UseCustomForeColor = true;
     this.cancel_button.UseSelectable      = true;
     this.cancel_button.Click             += new System.EventHandler(this.cancel_button_Click);
     //
     // info_label
     //
     this.info_label.Anchor             = System.Windows.Forms.AnchorStyles.None;
     this.info_label.AutoSize           = true;
     this.info_label.FontSize           = MetroFramework.MetroLabelSize.Small;
     this.info_label.Location           = new System.Drawing.Point(69, 191);
     this.info_label.Name               = "info_label";
     this.info_label.Size               = new System.Drawing.Size(101, 15);
     this.info_label.TabIndex           = 6;
     this.info_label.Text               = "INFO_LABEL_TEXT";
     this.info_label.UseCustomBackColor = true;
     this.info_label.UseCustomForeColor = true;
     //
     // button_container
     //
     this.button_container.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.button_container.Controls.Add(option_5);
     this.button_container.Controls.Add(option_4);
     this.button_container.Controls.Add(option_3);
     this.button_container.Controls.Add(option_2);
     this.button_container.Controls.Add(option_1);
     this.button_container.Controls.Add(option_0);
     this.button_container.Location = new System.Drawing.Point(3, 64);
     this.button_container.Name     = "button_container";
     this.button_container.Size     = new System.Drawing.Size(234, 86);
     this.button_container.TabIndex = 7;
     this.button_container.TabStop  = false;
     //
     // option_0
     //
     option_0.AutoSize           = true;
     option_0.Location           = new System.Drawing.Point(13, 36);
     option_0.Name               = "option_0";
     option_0.Size               = new System.Drawing.Size(29, 15);
     option_0.TabIndex           = 0;
     option_0.Text               = "0";
     option_0.UseCustomBackColor = true;
     option_0.UseCustomForeColor = true;
     option_0.UseSelectable      = true;
     //
     // option_1
     //
     option_1.AutoSize           = true;
     option_1.Location           = new System.Drawing.Point(52, 36);
     option_1.Name               = "option_1";
     option_1.Size               = new System.Drawing.Size(29, 15);
     option_1.TabIndex           = 1;
     option_1.Text               = "1";
     option_1.UseCustomBackColor = true;
     option_1.UseCustomForeColor = true;
     option_1.UseSelectable      = true;
     //
     // option_2
     //
     option_2.AutoSize           = true;
     option_2.Location           = new System.Drawing.Point(87, 36);
     option_2.Name               = "option_2";
     option_2.Size               = new System.Drawing.Size(29, 15);
     option_2.TabIndex           = 2;
     option_2.Text               = "2";
     option_2.UseCustomBackColor = true;
     option_2.UseCustomForeColor = true;
     option_2.UseSelectable      = true;
     //
     // option_3
     //
     option_3.AutoSize           = true;
     option_3.Location           = new System.Drawing.Point(122, 36);
     option_3.Name               = "option_3";
     option_3.Size               = new System.Drawing.Size(29, 15);
     option_3.TabIndex           = 3;
     option_3.Text               = "3";
     option_3.UseCustomBackColor = true;
     option_3.UseCustomForeColor = true;
     option_3.UseSelectable      = true;
     //
     // option_4
     //
     option_4.AutoSize           = true;
     option_4.Location           = new System.Drawing.Point(157, 36);
     option_4.Name               = "option_4";
     option_4.Size               = new System.Drawing.Size(29, 15);
     option_4.TabIndex           = 4;
     option_4.Text               = "4";
     option_4.UseCustomBackColor = true;
     option_4.UseCustomForeColor = true;
     option_4.UseSelectable      = true;
     //
     // option_5
     //
     option_5.AutoSize           = true;
     option_5.Location           = new System.Drawing.Point(192, 36);
     option_5.Name               = "option_5";
     option_5.Size               = new System.Drawing.Size(29, 15);
     option_5.TabIndex           = 5;
     option_5.Text               = "5";
     option_5.UseCustomBackColor = true;
     option_5.UseCustomForeColor = true;
     option_5.UseSelectable      = true;
     //
     // RatingDialogue
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(240, 340);
     this.Controls.Add(login_container);
     this.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(181)))), ((int)(((byte)(254)))));
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(240, 340);
     this.MinimumSize = new System.Drawing.Size(240, 340);
     this.Name        = "RatingDialogue";
     this.Opacity     = 0.8D;
     this.Resizable   = false;
     this.ShowIcon    = false;
     this.Theme       = MetroFramework.MetroThemeStyle.Dark;
     login_container.ResumeLayout(false);
     login_container.PerformLayout();
     register_container.ResumeLayout(false);
     this.button_container.ResumeLayout(false);
     this.button_container.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.secretCodeField = new MetroFramework.Controls.MetroTextBox();
     this.step1Label = new MetroFramework.Controls.MetroLabel();
     this.okButton = new MetroFramework.Controls.MetroButton();
     this.cancelButton = new MetroFramework.Controls.MetroButton();
     this.nameLabel = new MetroFramework.Controls.MetroLabel();
     this.nameField = new MetroFramework.Controls.MetroTextBox();
     this.step2Label = new MetroFramework.Controls.MetroLabel();
     this.verifyButton = new MetroFramework.Controls.MetroButton();
     this.codeProgress = new System.Windows.Forms.ProgressBar();
     this.codeField = new WinAuth.SecretTextBox();
     this.step4Label = new MetroFramework.Controls.MetroLabel();
     this.timer = new System.Windows.Forms.Timer(this.components);
     this.step3Label = new MetroFramework.Controls.MetroLabel();
     this.timeBasedRadio = new MetroFramework.Controls.MetroRadioButton();
     this.counterBasedRadio = new MetroFramework.Controls.MetroRadioButton();
     this.timeBasedPanel = new System.Windows.Forms.Panel();
     this.counterBasedPanel = new System.Windows.Forms.Panel();
     this.verifyCounterButton = new MetroFramework.Controls.MetroButton();
     this.counterField = new MetroFramework.Controls.MetroTextBox();
     this.step3CounterLabel = new MetroFramework.Controls.MetroLabel();
     this.secretCodeButton = new MetroFramework.Controls.MetroButton();
     this.timeBasedPanel.SuspendLayout();
     this.counterBasedPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // secretCodeField
     //
     this.secretCodeField.AllowDrop = true;
     this.secretCodeField.CausesValidation = false;
     this.secretCodeField.Location = new System.Drawing.Point(43, 171);
     this.secretCodeField.MaxLength = 32767;
     this.secretCodeField.Name = "secretCodeField";
     this.secretCodeField.PasswordChar = '\0';
     this.secretCodeField.ScrollBars = System.Windows.Forms.ScrollBars.None;
     this.secretCodeField.SelectedText = "";
     this.secretCodeField.Size = new System.Drawing.Size(311, 22);
     this.secretCodeField.TabIndex = 1;
     this.secretCodeField.UseSelectable = true;
     //
     // step1Label
     //
     this.step1Label.Location = new System.Drawing.Point(25, 120);
     this.step1Label.Name = "step1Label";
     this.step1Label.Size = new System.Drawing.Size(425, 48);
     this.step1Label.TabIndex = 1;
     this.step1Label.Text = "1. Enter the Secret Code for your authenticator. Spaces don\'t matter. If you have a Q" +
     "R code, you can paste the URL of the image instead.\r\n";
     //
     // okButton
     //
     this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location = new System.Drawing.Point(292, 470);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex = 6;
     this.okButton.Text = "OK";
     this.okButton.UseSelectable = true;
     this.okButton.Click += new System.EventHandler(this.okButton_Click);
     //
     // cancelButton
     //
     this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location = new System.Drawing.Point(373, 470);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.Size = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex = 7;
     this.cancelButton.Text = "Cancel";
     this.cancelButton.UseSelectable = true;
     this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     //
     // nameLabel
     //
     this.nameLabel.AutoSize = true;
     this.nameLabel.Location = new System.Drawing.Point(23, 70);
     this.nameLabel.Name = "nameLabel";
     this.nameLabel.Size = new System.Drawing.Size(48, 19);
     this.nameLabel.TabIndex = 3;
     this.nameLabel.Text = "Name:";
     //
     // nameField
     //
     this.nameField.Location = new System.Drawing.Point(77, 67);
     this.nameField.MaxLength = 32767;
     this.nameField.Name = "nameField";
     this.nameField.PasswordChar = '\0';
     this.nameField.ScrollBars = System.Windows.Forms.ScrollBars.None;
     this.nameField.SelectedText = "";
     this.nameField.Size = new System.Drawing.Size(371, 22);
     this.nameField.TabIndex = 0;
     this.nameField.UseSelectable = true;
     //
     // step2Label
     //
     this.step2Label.Location = new System.Drawing.Point(25, 213);
     this.step2Label.Name = "step2Label";
     this.step2Label.Size = new System.Drawing.Size(423, 49);
     this.step2Label.TabIndex = 10;
     this.step2Label.Text = "2. Choose if this is a time-based or a counter-based authenticator. If you don\'t " +
     "know, it\'s likely time-based, so just leave the default choice.";
     //
     // verifyButton
     //
     this.verifyButton.Location = new System.Drawing.Point(122, 43);
     this.verifyButton.Name = "verifyButton";
     this.verifyButton.Size = new System.Drawing.Size(158, 23);
     this.verifyButton.TabIndex = 0;
     this.verifyButton.Text = "Verify Authenticator";
     this.verifyButton.UseSelectable = true;
     this.verifyButton.Click += new System.EventHandler(this.verifyButton_Click);
     //
     // codeProgress
     //
     this.codeProgress.Location = new System.Drawing.Point(124, 433);
     this.codeProgress.Maximum = 30;
     this.codeProgress.Minimum = 1;
     this.codeProgress.Name = "codeProgress";
     this.codeProgress.Size = new System.Drawing.Size(158, 8);
     this.codeProgress.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
     this.codeProgress.TabIndex = 13;
     this.codeProgress.Value = 1;
     this.codeProgress.Visible = false;
     //
     // codeField
     //
     this.codeField.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
     this.codeField.Location = new System.Drawing.Point(124, 405);
     this.codeField.Multiline = true;
     this.codeField.Name = "codeField";
     this.codeField.SecretMode = false;
     this.codeField.Size = new System.Drawing.Size(158, 26);
     this.codeField.SpaceOut = 3;
     this.codeField.TabIndex = 5;
     //
     // step4Label
     //
     this.step4Label.AutoSize = true;
     this.step4Label.Location = new System.Drawing.Point(25, 373);
     this.step4Label.Name = "step4Label";
     this.step4Label.Size = new System.Drawing.Size(293, 19);
     this.step4Label.TabIndex = 11;
     this.step4Label.Text = "4. Verify the following code matches your service.";
     //
     // timer
     //
     this.timer.Enabled = true;
     this.timer.Interval = 500;
     this.timer.Tick += new System.EventHandler(this.timer_Tick);
     //
     // step3Label
     //
     this.step3Label.Location = new System.Drawing.Point(23, 12);
     this.step3Label.Name = "step3Label";
     this.step3Label.Size = new System.Drawing.Size(423, 28);
     this.step3Label.TabIndex = 10;
     this.step3Label.Text = "3. Click the Verify button to check the first code.";
     //
     // timeBasedRadio
     //
     this.timeBasedRadio.AutoSize = true;
     this.timeBasedRadio.Checked = true;
     this.timeBasedRadio.Location = new System.Drawing.Point(43, 265);
     this.timeBasedRadio.Name = "timeBasedRadio";
     this.timeBasedRadio.Size = new System.Drawing.Size(86, 15);
     this.timeBasedRadio.TabIndex = 3;
     this.timeBasedRadio.TabStop = true;
     this.timeBasedRadio.Text = "Time-based";
     this.timeBasedRadio.UseSelectable = true;
     this.timeBasedRadio.CheckedChanged += new System.EventHandler(this.timeBasedRadio_CheckedChanged);
     //
     // counterBasedRadio
     //
     this.counterBasedRadio.AutoSize = true;
     this.counterBasedRadio.Location = new System.Drawing.Point(146, 265);
     this.counterBasedRadio.Name = "counterBasedRadio";
     this.counterBasedRadio.Size = new System.Drawing.Size(102, 15);
     this.counterBasedRadio.TabIndex = 4;
     this.counterBasedRadio.Text = "Counter-based";
     this.counterBasedRadio.UseSelectable = true;
     this.counterBasedRadio.CheckedChanged += new System.EventHandler(this.counterBasedRadio_CheckedChanged);
     //
     // timeBasedPanel
     //
     this.timeBasedPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.timeBasedPanel.Controls.Add(this.step3Label);
     this.timeBasedPanel.Controls.Add(this.verifyButton);
     this.timeBasedPanel.Location = new System.Drawing.Point(2, 286);
     this.timeBasedPanel.Name = "timeBasedPanel";
     this.timeBasedPanel.Size = new System.Drawing.Size(464, 84);
     this.timeBasedPanel.TabIndex = 15;
     //
     // counterBasedPanel
     //
     this.counterBasedPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.counterBasedPanel.Controls.Add(this.verifyCounterButton);
     this.counterBasedPanel.Controls.Add(this.counterField);
     this.counterBasedPanel.Controls.Add(this.step3CounterLabel);
     this.counterBasedPanel.Location = new System.Drawing.Point(2, 286);
     this.counterBasedPanel.Name = "counterBasedPanel";
     this.counterBasedPanel.Size = new System.Drawing.Size(464, 84);
     this.counterBasedPanel.TabIndex = 16;
     this.counterBasedPanel.Visible = false;
     //
     // verifyCounterButton
     //
     this.verifyCounterButton.Location = new System.Drawing.Point(207, 58);
     this.verifyCounterButton.Name = "verifyCounterButton";
     this.verifyCounterButton.Size = new System.Drawing.Size(158, 23);
     this.verifyCounterButton.TabIndex = 1;
     this.verifyCounterButton.Text = "Verify Authenticator";
     this.verifyCounterButton.UseSelectable = true;
     this.verifyCounterButton.Click += new System.EventHandler(this.verifyButton_Click);
     //
     // counterField
     //
     this.counterField.AllowDrop = true;
     this.counterField.CausesValidation = false;
     this.counterField.Location = new System.Drawing.Point(122, 58);
     this.counterField.MaxLength = 32767;
     this.counterField.Name = "counterField";
     this.counterField.PasswordChar = '\0';
     this.counterField.ScrollBars = System.Windows.Forms.ScrollBars.None;
     this.counterField.SelectedText = "";
     this.counterField.Size = new System.Drawing.Size(74, 20);
     this.counterField.TabIndex = 0;
     this.counterField.UseSelectable = true;
     //
     // step3CounterLabel
     //
     this.step3CounterLabel.Location = new System.Drawing.Point(23, 12);
     this.step3CounterLabel.Name = "step3CounterLabel";
     this.step3CounterLabel.Size = new System.Drawing.Size(423, 43);
     this.step3CounterLabel.TabIndex = 10;
     this.step3CounterLabel.Text = "3. Enter the initial counter value if known. Click the Verify button that will sh" +
     "ow the last code that was used.";
     //
     // secretCodeButton
     //
     this.secretCodeButton.Location = new System.Drawing.Point(360, 171);
     this.secretCodeButton.Name = "secretCodeButton";
     this.secretCodeButton.Size = new System.Drawing.Size(75, 23);
     this.secretCodeButton.TabIndex = 2;
     this.secretCodeButton.Text = "Decode";
     this.secretCodeButton.UseSelectable = true;
     this.secretCodeButton.Click += new System.EventHandler(this.secretCodeButton_Click);
     //
     // AddAuthenticator
     //
     this.AcceptButton = this.okButton;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
     this.CancelButton = this.cancelButton;
     this.ClientSize = new System.Drawing.Size(471, 516);
     this.Controls.Add(this.secretCodeButton);
     this.Controls.Add(this.counterBasedPanel);
     this.Controls.Add(this.timeBasedPanel);
     this.Controls.Add(this.counterBasedRadio);
     this.Controls.Add(this.timeBasedRadio);
     this.Controls.Add(this.codeProgress);
     this.Controls.Add(this.codeField);
     this.Controls.Add(this.step4Label);
     this.Controls.Add(this.step2Label);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.secretCodeField);
     this.Controls.Add(this.nameLabel);
     this.Controls.Add(this.nameField);
     this.Controls.Add(this.step1Label);
     this.MaximizeBox = false;
     this.Name = "AddAuthenticator";
     this.Resizable = false;
     this.ShowIcon = false;
     this.Text = "Add Authenticator";
     this.Load += new System.EventHandler(this.AddAuthenticator_Load);
     this.timeBasedPanel.ResumeLayout(false);
     this.counterBasedPanel.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }