‪Black Box
ControlFrame.Designer.cs
Go to the documentation of this file.
1 namespace ‪MiBand_Heartrate
2 {
3  partial class ControlFrame
4  {
8  private System.ComponentModel.IContainer ‪components = null;
9 
14  protected override void ‪Dispose(bool disposing)
15  {
16  if (disposing && (‪components != null))
17  {
18  ‪components.Dispose();
19  }
20  base.Dispose(disposing);
21  }
22 
23  #region Windows Form Designer generated code
24 
29  private void ‪InitializeComponent()
30  {
31  System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(‪ControlFrame));
32  this.‪toolStrip1 = new System.Windows.Forms.ToolStrip();
33  this.‪authButton = new System.Windows.Forms.ToolStripButton();
34  this.‪toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
35  this.‪connectionStatusLabel = new System.Windows.Forms.ToolStripLabel();
36  this.‪groupBox1 = new System.Windows.Forms.GroupBox();
37  this.‪heartrateLabel = new System.Windows.Forms.Label();
38  this.‪startButton = new System.Windows.Forms.Button();
39  this.‪stopButton = new System.Windows.Forms.Button();
40  this.‪toolStrip1.SuspendLayout();
41  this.‪groupBox1.SuspendLayout();
42  this.SuspendLayout();
43  //
44  // toolStrip1
45  //
46  this.‪toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
47  this.authButton,
48  this.toolStripSeparator2,
49  this.connectionStatusLabel});
50  this.‪toolStrip1.Location = new System.Drawing.Point(0, 0);
51  this.‪toolStrip1.Name = "toolStrip1";
52  this.‪toolStrip1.Size = new System.Drawing.Size(239, 25);
53  this.‪toolStrip1.TabIndex = 0;
54  this.‪toolStrip1.Text = "toolStrip1";
55  //
56  // authButton
57  //
58  this.‪authButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
59  this.‪authButton.Image = ((System.Drawing.Image)(resources.GetObject("authButton.Image")));
60  this.‪authButton.ImageTransparentColor = System.Drawing.Color.Magenta;
61  this.‪authButton.Name = "authButton";
62  this.‪authButton.Size = new System.Drawing.Size(23, 22);
63  this.‪authButton.Text = "Authenticate device";
64  this.‪authButton.ToolTipText = "Auth device";
65  this.‪authButton.Click += new System.EventHandler(this.‪authButton_Click);
66  //
67  // toolStripSeparator2
68  //
69  this.‪toolStripSeparator2.Name = "toolStripSeparator2";
70  this.‪toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
71  //
72  // connectionStatusLabel
73  //
74  this.‪connectionStatusLabel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
75  this.‪connectionStatusLabel.Name = "connectionStatusLabel";
76  this.‪connectionStatusLabel.Size = new System.Drawing.Size(123, 22);
77  this.‪connectionStatusLabel.Text = "Connected | Not Auth";
78  //
79  // groupBox1
80  //
81  this.‪groupBox1.Controls.Add(this.‪heartrateLabel);
82  this.‪groupBox1.Location = new System.Drawing.Point(12, 28);
83  this.‪groupBox1.Name = "groupBox1";
84  this.‪groupBox1.Size = new System.Drawing.Size(62, 63);
85  this.‪groupBox1.TabIndex = 1;
86  this.‪groupBox1.TabStop = false;
87  this.‪groupBox1.Text = "Heartrate";
88  //
89  // heartrateLabel
90  //
91  this.‪heartrateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
92  this.‪heartrateLabel.Location = new System.Drawing.Point(6, 16);
93  this.‪heartrateLabel.Name = "heartrateLabel";
94  this.‪heartrateLabel.Size = new System.Drawing.Size(50, 35);
95  this.‪heartrateLabel.TabIndex = 0;
96  this.‪heartrateLabel.Text = "--";
97  this.‪heartrateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
98  //
99  // startButton
100  //
101  this.‪startButton.Enabled = false;
102  this.‪startButton.Location = new System.Drawing.Point(89, 38);
103  this.‪startButton.Name = "startButton";
104  this.‪startButton.Size = new System.Drawing.Size(120, 22);
105  this.‪startButton.TabIndex = 3;
106  this.‪startButton.Text = "Start sensor";
107  this.‪startButton.UseVisualStyleBackColor = true;
108  this.‪startButton.Click += new System.EventHandler(this.‪startButton_Click);
109  //
110  // stopButton
111  //
112  this.‪stopButton.Enabled = false;
113  this.‪stopButton.Location = new System.Drawing.Point(89, 66);
114  this.‪stopButton.Name = "stopButton";
115  this.‪stopButton.Size = new System.Drawing.Size(120, 22);
116  this.‪stopButton.TabIndex = 4;
117  this.‪stopButton.Text = "Stop";
118  this.‪stopButton.UseVisualStyleBackColor = true;
119  this.‪stopButton.Click += new System.EventHandler(this.‪stopButton_Click);
120  //
121  // ControlFrame
122  //
123  this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
124  this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
125  this.BackColor = System.Drawing.SystemColors.Highlight;
126  this.ClientSize = new System.Drawing.Size(239, 100);
127  this.Controls.Add(this.‪stopButton);
128  this.Controls.Add(this.‪startButton);
129  this.Controls.Add(this.‪groupBox1);
130  this.Controls.Add(this.‪toolStrip1);
131  this.ForeColor = System.Drawing.SystemColors.Desktop;
132  this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
133  this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
134  this.Name = "ControlFrame";
135  this.ShowIcon = false;
136  this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
137  this.Text = "Mi Band - Heartrate";
138  this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.‪ControlFrame_FormClosing);
139  this.Load += new System.EventHandler(this.‪ControlFrame_Load);
140  this.‪toolStrip1.ResumeLayout(false);
141  this.‪toolStrip1.PerformLayout();
142  this.‪groupBox1.ResumeLayout(false);
143  this.ResumeLayout(false);
144  this.PerformLayout();
145 
146  }
147 
148  #endregion
149 
150  private System.Windows.Forms.ToolStrip ‪toolStrip1;
151  private System.Windows.Forms.ToolStripButton ‪authButton;
152  private System.Windows.Forms.ToolStripLabel ‪connectionStatusLabel;
153  private System.Windows.Forms.ToolStripSeparator ‪toolStripSeparator2;
154  private System.Windows.Forms.GroupBox ‪groupBox1;
155  private System.Windows.Forms.Label ‪heartrateLabel;
156  private System.Windows.Forms.Button ‪startButton;
157  private System.Windows.Forms.Button ‪stopButton;
158  }
159 }
‪override void Dispose(bool disposing)
‪Clean up any resources being used.
‪System.Windows.Forms.Label heartrateLabel
‪System.Windows.Forms.GroupBox groupBox1
‪System.Windows.Forms.ToolStripLabel connectionStatusLabel
‪System.Windows.Forms.ToolStrip toolStrip1
‪System.Windows.Forms.Button startButton
‪void authButton_Click(object sender, EventArgs e)
‪Authentication button
Definition: ControlFrame.cs:41
‪System.Windows.Forms.Button stopButton
‪void InitializeComponent()
‪Required method for Designer support - do not modify the contents of this method with the code editor...
‪System.Windows.Forms.ToolStripSeparator toolStripSeparator2
‪void ControlFrame_Load(object sender, EventArgs e)
‪Load the selected MiBand
Definition: ControlFrame.cs:31
‪System.Windows.Forms.ToolStripButton authButton
‪void stopButton_Click(object sender, EventArgs e)
‪Stop Data Collection
Definition: ControlFrame.cs:98
‪void startButton_Click(object sender, EventArgs e)
‪Start Data collection
Definition: ControlFrame.cs:82
‪System.ComponentModel.IContainer components
‪Required designer variable.
‪void ControlFrame_FormClosing(object sender, FormClosingEventArgs e)
‪Disconnect when application it closed