Required method for Designer support - do not modify the contents of this method with the code editor.
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();
36 this.
groupBox1 =
new System.Windows.Forms.GroupBox();
39 this.
stopButton =
new System.Windows.Forms.Button();
46 this.
toolStrip1.Items.AddRange(
new System.Windows.Forms.ToolStripItem[] {
48 this.toolStripSeparator2,
49 this.connectionStatusLabel});
50 this.
toolStrip1.Location =
new System.Drawing.Point(0, 0);
52 this.
toolStrip1.Size =
new System.Drawing.Size(239, 25);
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;
62 this.
authButton.Size =
new System.Drawing.Size(23, 22);
82 this.
groupBox1.Location =
new System.Drawing.Point(12, 28);
84 this.
groupBox1.Size =
new System.Drawing.Size(62, 63);
91 this.
heartrateLabel.Font =
new System.Drawing.Font(
"Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((
byte)(0)));
97 this.
heartrateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
102 this.
startButton.Location =
new System.Drawing.Point(89, 38);
104 this.
startButton.Size =
new System.Drawing.Size(120, 22);
113 this.
stopButton.Location =
new System.Drawing.Point(89, 66);
115 this.
stopButton.Size =
new System.Drawing.Size(120, 22);
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);
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";
143 this.ResumeLayout(
false);
144 this.PerformLayout();
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
System.Windows.Forms.Button stopButton
System.Windows.Forms.ToolStripSeparator toolStripSeparator2
void ControlFrame_Load(object sender, EventArgs e)
Load the selected MiBand
System.Windows.Forms.ToolStripButton authButton
void stopButton_Click(object sender, EventArgs e)
Stop Data Collection
void startButton_Click(object sender, EventArgs e)
Start Data collection
void ControlFrame_FormClosing(object sender, FormClosingEventArgs e)
Disconnect when application it closed