using System.ComponentModel.Design; using System.Windows.Forms; using System; namespace GD77_FirmwareLoader { partial class MainForm { /// /// 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.progressBar = new System.Windows.Forms.ProgressBar(); this.btnDetect = new System.Windows.Forms.Button(); this.btnDownload = new System.Windows.Forms.Button(); this.btnOpenFile = new System.Windows.Forms.Button(); this.SuspendLayout(); // // Model selector // this.grpboxModel = new System.Windows.Forms.GroupBox(); this.grpboxModel.Text = " Select your radio type "; this.grpboxModel.Location = new System.Drawing.Point(5, 5); this.grpboxModel.Size = new System.Drawing.Size(220, 105); this.rbModels = new System.Windows.Forms.RadioButton[4]; this.rbModels[0] = new System.Windows.Forms.RadioButton(); this.rbModels[0].Text = "Radioddity GD-&77 / TYT MD-760"; this.rbModels[0].Location = new System.Drawing.Point(5, 15); this.rbModels[0].UseVisualStyleBackColor = true; this.rbModels[0].Tag = (int)FirmwareLoader.OutputType.OutputType_GD77; this.rbModels[0].AutoSize = true; this.rbModels[0].CheckedChanged += new System.EventHandler(this.rbModel_CheckedChanged); this.rbModels[1] = new System.Windows.Forms.RadioButton(); this.rbModels[1].Text = "Radioddity GD-77&S / TYT MD-730"; this.rbModels[1].Location = new System.Drawing.Point(5, 35); this.rbModels[1].UseVisualStyleBackColor = true; this.rbModels[1].Tag = (int)FirmwareLoader.OutputType.OutputType_GD77S; this.rbModels[1].AutoSize = true; this.rbModels[1].CheckedChanged += new System.EventHandler(this.rbModel_CheckedChanged); this.rbModels[2] = new System.Windows.Forms.RadioButton(); this.rbModels[2].Text = "Baofeng DM-&1801 / DM-860"; this.rbModels[2].Location = new System.Drawing.Point(5, 55); this.rbModels[2].UseVisualStyleBackColor = true; this.rbModels[2].Tag = (int)FirmwareLoader.OutputType.OutputType_DM1801; this.rbModels[2].AutoSize = true; this.rbModels[2].CheckedChanged += new System.EventHandler(this.rbModel_CheckedChanged); this.rbModels[3] = new System.Windows.Forms.RadioButton(); this.rbModels[3].Text = "Baofeng RD-&5R / DM-5R Tier2"; this.rbModels[3].Location = new System.Drawing.Point(5, 75); this.rbModels[3].UseVisualStyleBackColor = true; this.rbModels[3].Tag = (int)FirmwareLoader.OutputType.OutputType_RD5R; this.rbModels[3].AutoSize = true; this.rbModels[3].CheckedChanged += new System.EventHandler(this.rbModel_CheckedChanged); this.grpboxModel.Controls.Add(this.rbModels[0]); this.grpboxModel.Controls.Add(this.rbModels[1]); this.grpboxModel.Controls.Add(this.rbModels[2]); this.grpboxModel.Controls.Add(this.rbModels[3]); this.Controls.Add(this.grpboxModel); // // progressBar // this.progressBar.Location = new System.Drawing.Point(240, 33); this.progressBar.Name = "progressBar"; this.progressBar.Size = new System.Drawing.Size(130, 8); this.progressBar.TabIndex = 0; this.progressBar.Visible = false; this.progressBar.Minimum = 0; this.progressBar.Maximum = 100; this.progressBar.Value = 0; // // btnDownload // this.btnDownload.Location = new System.Drawing.Point(240, 8);//42 this.btnDownload.Name = "btnDownload"; this.btnDownload.Size = new System.Drawing.Size(130, 24); this.btnDownload.TabIndex = 1; this.btnDownload.Text = "&Download && Update"; this.btnDownload.UseVisualStyleBackColor = true; this.btnDownload.Enabled = false; this.btnDownload.Click += new System.EventHandler(this.btnDownload_Click); // // btnOpenFile // this.btnOpenFile.Location = new System.Drawing.Point(240, 42);//67 this.btnOpenFile.Name = "btnOpenFile"; this.btnOpenFile.Size = new System.Drawing.Size(130, 24); this.btnOpenFile.TabIndex = 2; this.btnOpenFile.Text = "Select a &File && Update"; this.btnOpenFile.UseVisualStyleBackColor = true; this.btnOpenFile.Enabled = false; this.btnOpenFile.Click += new System.EventHandler(this.btnOpenFile_Click); // // btnDetect // this.btnDetect.Location = new System.Drawing.Point(240, 67);//8 this.btnDetect.Name = "btnDownload"; this.btnDetect.Size = new System.Drawing.Size(130, 24); this.btnDetect.TabIndex = 1; this.btnDetect.Text = "Detect Radio Type"; this.btnDetect.UseVisualStyleBackColor = true; this.btnDetect.Click += new System.EventHandler(this.btnDetect_Click); this.btnDetect.Visible = false; if (FirmwareLoader.outputType != FirmwareLoader.OutputType.OutputType_UNKNOWN) { this.rbModels[(int)FirmwareLoader.outputType].Checked = true; this.btnDownload.Enabled = true; this.btnOpenFile.Enabled = true; } // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(380, 120); this.Controls.Add(this.btnDetect); this.Controls.Add(this.progressBar); this.Controls.Add(this.btnDownload); this.Controls.Add(this.btnOpenFile); this.KeyPreview = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Open(GD77/GD77S/MD1801/RD5R) Firmware loader"; this.ResumeLayout(false); } #endregion private ProgressBar progressBar; private Button btnDetect; private Button btnDownload; private Button btnOpenFile; private GroupBox grpboxModel; private RadioButton[] rbModels; } }