‪Black Box
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
BBTasker.BBSensorPlugins Class Reference
Inheritance diagram for BBTasker.BBSensorPlugins:

Public Member Functions

 BBSensorPlugins ()
 

Protected Member Functions

override void Dispose (bool disposing)
 ‪Clean up any resources being used. More...
 

Private Member Functions

void submitBtn_Click (object sender, EventArgs e)
 
void cancelBtn_Click (object sender, EventArgs e)
 
void PresenseBrowseBtn_Click (object sender, EventArgs e)
 
void thermostatPluginBrowse_Click (object sender, EventArgs e)
 
void FitnessTrackerBrowse_Click (object sender, EventArgs e)
 
void InitializeComponent ()
 ‪Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

System.ComponentModel.IContainer components = null
 ‪Required designer variable. More...
 
System.Windows.Forms.Label label1
 
System.Windows.Forms.TextBox PrsesenseSensorFileBox
 
System.Windows.Forms.TextBox ThermostatPluginFileBox
 
System.Windows.Forms.Label label2
 
System.Windows.Forms.TextBox FitnessTrackerPluginFileBox
 
System.Windows.Forms.Label label3
 
System.Windows.Forms.Button cancelBtn
 
System.Windows.Forms.Button submitBtn
 
System.Windows.Forms.Button PresenseBrowseBtn
 
System.Windows.Forms.Button thermostatPluginBrowse
 
System.Windows.Forms.Button FitnessTrackerBrowse
 

Detailed Description

Definition at line 6 of file BBSensorPlugins.cs.

Constructor & Destructor Documentation

◆ BBSensorPlugins()

BBTasker.BBSensorPlugins.BBSensorPlugins ( )

Definition at line 8 of file BBSensorPlugins.cs.

9  {
11  }
‪void InitializeComponent()
‪Required method for Designer support - do not modify the contents of this method with the code editor...

Member Function Documentation

◆ cancelBtn_Click()

void BBTasker.BBSensorPlugins.cancelBtn_Click ( object  sender,
EventArgs  e 
)
private

Parameters
sender
e

Definition at line 28 of file BBSensorPlugins.cs.

29  {
30  this.Close();
31  }

Referenced by BBTasker.BBSensorPlugins.InitializeComponent().

◆ Dispose()

override void BBTasker.BBSensorPlugins.Dispose ( bool  disposing)
protected

‪Clean up any resources being used.

Parameters
disposing‪true if managed resources should be disposed; otherwise, false.

Definition at line 14 of file BBSensorPlugins.Designer.cs.

15  {
16  if (disposing && (‪components != null))
17  {
18  ‪components.Dispose();
19  }
20  base.Dispose(disposing);
21  }
‪System.ComponentModel.IContainer components
‪Required designer variable.

◆ FitnessTrackerBrowse_Click()

void BBTasker.BBSensorPlugins.FitnessTrackerBrowse_Click ( object  sender,
EventArgs  e 
)
private

Parameters
sender
e

Definition at line 68 of file BBSensorPlugins.cs.

69  {
70  OpenFileDialog BBTP = new OpenFileDialog();
71 
72  if (BBTP.ShowDialog() == DialogResult.OK)
73  {
74  ‪FitnessTrackerPluginFileBox.Text = BBTP.FileName;
75  }
76  }
‪System.Windows.Forms.TextBox FitnessTrackerPluginFileBox

Referenced by BBTasker.BBSensorPlugins.InitializeComponent().

◆ InitializeComponent()

void BBTasker.BBSensorPlugins.InitializeComponent ( )
private

‪Required method for Designer support - do not modify the contents of this method with the code editor.

Definition at line 29 of file BBSensorPlugins.Designer.cs.

30  {
31  this.‪label1 = new System.Windows.Forms.Label();
32  this.‪PrsesenseSensorFileBox = new System.Windows.Forms.TextBox();
33  this.‪ThermostatPluginFileBox = new System.Windows.Forms.TextBox();
34  this.‪label2 = new System.Windows.Forms.Label();
35  this.‪FitnessTrackerPluginFileBox = new System.Windows.Forms.TextBox();
36  this.‪label3 = new System.Windows.Forms.Label();
37  this.‪cancelBtn = new System.Windows.Forms.Button();
38  this.‪submitBtn = new System.Windows.Forms.Button();
39  this.‪PresenseBrowseBtn = new System.Windows.Forms.Button();
40  this.‪thermostatPluginBrowse = new System.Windows.Forms.Button();
41  this.‪FitnessTrackerBrowse = new System.Windows.Forms.Button();
42  this.SuspendLayout();
43  //
44  // label1
45  //
46  this.‪label1.AutoSize = true;
47  this.‪label1.Location = new System.Drawing.Point(12, 9);
48  this.‪label1.Name = "label1";
49  this.‪label1.Size = new System.Drawing.Size(122, 13);
50  this.‪label1.TabIndex = 0;
51  this.‪label1.Text = "Presense Sensor Plugin:";
52  //
53  // PrsesenseSensorFileBox
54  //
55  this.‪PrsesenseSensorFileBox.Location = new System.Drawing.Point(140, 6);
56  this.‪PrsesenseSensorFileBox.Name = "PrsesenseSensorFileBox";
57  this.‪PrsesenseSensorFileBox.Size = new System.Drawing.Size(136, 20);
58  this.‪PrsesenseSensorFileBox.TabIndex = 1;
59  //
60  // ThermostatPluginFileBox
61  //
62  this.‪ThermostatPluginFileBox.Location = new System.Drawing.Point(140, 34);
63  this.‪ThermostatPluginFileBox.Name = "ThermostatPluginFileBox";
64  this.‪ThermostatPluginFileBox.Size = new System.Drawing.Size(136, 20);
65  this.‪ThermostatPluginFileBox.TabIndex = 3;
66  //
67  // label2
68  //
69  this.‪label2.AutoSize = true;
70  this.‪label2.Location = new System.Drawing.Point(12, 37);
71  this.‪label2.Name = "label2";
72  this.‪label2.Size = new System.Drawing.Size(98, 13);
73  this.‪label2.TabIndex = 2;
74  this.‪label2.Text = "Thermostat Plugin:";
75  //
76  // FitnessTrackerPluginFileBox
77  //
78  this.‪FitnessTrackerPluginFileBox.Location = new System.Drawing.Point(140, 65);
79  this.‪FitnessTrackerPluginFileBox.Name = "FitnessTrackerPluginFileBox";
80  this.‪FitnessTrackerPluginFileBox.Size = new System.Drawing.Size(136, 20);
81  this.‪FitnessTrackerPluginFileBox.TabIndex = 5;
82  //
83  // label3
84  //
85  this.‪label3.AutoSize = true;
86  this.‪label3.Location = new System.Drawing.Point(12, 68);
87  this.‪label3.Name = "label3";
88  this.‪label3.Size = new System.Drawing.Size(115, 13);
89  this.‪label3.TabIndex = 4;
90  this.‪label3.Text = "Fitness Tracker Plugin:";
91  //
92  // cancelBtn
93  //
94  this.‪cancelBtn.Location = new System.Drawing.Point(282, 102);
95  this.‪cancelBtn.Name = "cancelBtn";
96  this.‪cancelBtn.Size = new System.Drawing.Size(75, 23);
97  this.‪cancelBtn.TabIndex = 6;
98  this.‪cancelBtn.Text = "Cancel";
99  this.‪cancelBtn.UseVisualStyleBackColor = true;
100  this.‪cancelBtn.Click += new System.EventHandler(this.‪cancelBtn_Click);
101  //
102  // submitBtn
103  //
104  this.‪submitBtn.Location = new System.Drawing.Point(201, 102);
105  this.‪submitBtn.Name = "submitBtn";
106  this.‪submitBtn.Size = new System.Drawing.Size(75, 23);
107  this.‪submitBtn.TabIndex = 7;
108  this.‪submitBtn.Text = "Submit";
109  this.‪submitBtn.UseVisualStyleBackColor = true;
110  this.‪submitBtn.Click += new System.EventHandler(this.‪submitBtn_Click);
111  //
112  // PresenseBrowseBtn
113  //
114  this.‪PresenseBrowseBtn.Location = new System.Drawing.Point(282, 4);
115  this.‪PresenseBrowseBtn.Name = "PresenseBrowseBtn";
116  this.‪PresenseBrowseBtn.Size = new System.Drawing.Size(75, 23);
117  this.‪PresenseBrowseBtn.TabIndex = 8;
118  this.‪PresenseBrowseBtn.Text = "Browse";
119  this.‪PresenseBrowseBtn.UseVisualStyleBackColor = true;
120  this.‪PresenseBrowseBtn.Click += new System.EventHandler(this.‪PresenseBrowseBtn_Click);
121  //
122  // thermostatPluginBrowse
123  //
124  this.‪thermostatPluginBrowse.Location = new System.Drawing.Point(282, 31);
125  this.‪thermostatPluginBrowse.Name = "thermostatPluginBrowse";
126  this.‪thermostatPluginBrowse.Size = new System.Drawing.Size(75, 23);
127  this.‪thermostatPluginBrowse.TabIndex = 9;
128  this.‪thermostatPluginBrowse.Text = "Browse";
129  this.‪thermostatPluginBrowse.UseVisualStyleBackColor = true;
130  this.‪thermostatPluginBrowse.Click += new System.EventHandler(this.‪thermostatPluginBrowse_Click);
131  //
132  // FitnessTrackerBrowse
133  //
134  this.‪FitnessTrackerBrowse.Location = new System.Drawing.Point(282, 63);
135  this.‪FitnessTrackerBrowse.Name = "FitnessTrackerBrowse";
136  this.‪FitnessTrackerBrowse.Size = new System.Drawing.Size(75, 23);
137  this.‪FitnessTrackerBrowse.TabIndex = 10;
138  this.‪FitnessTrackerBrowse.Text = "Browse";
139  this.‪FitnessTrackerBrowse.UseVisualStyleBackColor = true;
140  this.‪FitnessTrackerBrowse.Click += new System.EventHandler(this.‪FitnessTrackerBrowse_Click);
141  //
142  // BBSensorPlugins
143  //
144  this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
145  this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
146  this.BackColor = System.Drawing.SystemColors.ActiveCaption;
147  this.ClientSize = new System.Drawing.Size(375, 158);
148  this.ControlBox = false;
149  this.Controls.Add(this.‪FitnessTrackerBrowse);
150  this.Controls.Add(this.‪thermostatPluginBrowse);
151  this.Controls.Add(this.‪PresenseBrowseBtn);
152  this.Controls.Add(this.‪submitBtn);
153  this.Controls.Add(this.‪cancelBtn);
154  this.Controls.Add(this.‪FitnessTrackerPluginFileBox);
155  this.Controls.Add(this.‪label3);
156  this.Controls.Add(this.‪ThermostatPluginFileBox);
157  this.Controls.Add(this.‪label2);
158  this.Controls.Add(this.‪PrsesenseSensorFileBox);
159  this.Controls.Add(this.‪label1);
160  this.DoubleBuffered = true;
161  this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
162  this.Name = "BBSensorPlugins";
163  this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
164  this.Text = "Black Box Tasker Smart Setup";
165  this.ResumeLayout(false);
166  this.PerformLayout();
167 
168  }
‪void thermostatPluginBrowse_Click(object sender, EventArgs e)
‪System.Windows.Forms.Button FitnessTrackerBrowse
‪void FitnessTrackerBrowse_Click(object sender, EventArgs e)
‪System.Windows.Forms.TextBox PrsesenseSensorFileBox
‪System.Windows.Forms.Label label3
‪void cancelBtn_Click(object sender, EventArgs e)
‪System.Windows.Forms.Button thermostatPluginBrowse
‪System.Windows.Forms.TextBox FitnessTrackerPluginFileBox
‪System.Windows.Forms.Label label2
‪System.Windows.Forms.Button submitBtn
‪void submitBtn_Click(object sender, EventArgs e)
‪System.Windows.Forms.Button PresenseBrowseBtn
‪System.Windows.Forms.Label label1
‪System.Windows.Forms.TextBox ThermostatPluginFileBox
‪System.Windows.Forms.Button cancelBtn
‪void PresenseBrowseBtn_Click(object sender, EventArgs e)

Referenced by BBTasker.BBSensorPlugins.BBSensorPlugins().

◆ PresenseBrowseBtn_Click()

void BBTasker.BBSensorPlugins.PresenseBrowseBtn_Click ( object  sender,
EventArgs  e 
)
private

Parameters
sender
e

Definition at line 38 of file BBSensorPlugins.cs.

39  {
40  OpenFileDialog BBSP = new OpenFileDialog();
41 
42  if (BBSP.ShowDialog() == DialogResult.OK)
43  {
44  ‪PrsesenseSensorFileBox.Text = BBSP.FileName;
45  }
46  }
‪System.Windows.Forms.TextBox PrsesenseSensorFileBox

Referenced by BBTasker.BBSensorPlugins.InitializeComponent().

◆ submitBtn_Click()

void BBTasker.BBSensorPlugins.submitBtn_Click ( object  sender,
EventArgs  e 
)
private

Parameters
sender
e

Definition at line 18 of file BBSensorPlugins.cs.

19  {
20  this.Close();
21  }

Referenced by BBTasker.BBSensorPlugins.InitializeComponent().

◆ thermostatPluginBrowse_Click()

void BBTasker.BBSensorPlugins.thermostatPluginBrowse_Click ( object  sender,
EventArgs  e 
)
private

Parameters
sender
e

Definition at line 53 of file BBSensorPlugins.cs.

54  {
55  OpenFileDialog BBTP = new OpenFileDialog();
56 
57  if (BBTP.ShowDialog() == DialogResult.OK)
58  {
59  ‪ThermostatPluginFileBox.Text = BBTP.FileName;
60  }
61  }
‪System.Windows.Forms.TextBox ThermostatPluginFileBox

Referenced by BBTasker.BBSensorPlugins.InitializeComponent().

Field Documentation

◆ cancelBtn

System.Windows.Forms.Button BBTasker.BBSensorPlugins.cancelBtn
private

◆ components

System.ComponentModel.IContainer BBTasker.BBSensorPlugins.components = null
private

‪Required designer variable.

Definition at line 8 of file BBSensorPlugins.Designer.cs.

Referenced by BBTasker.BBSensorPlugins.Dispose().

◆ FitnessTrackerBrowse

System.Windows.Forms.Button BBTasker.BBSensorPlugins.FitnessTrackerBrowse
private

◆ FitnessTrackerPluginFileBox

System.Windows.Forms.TextBox BBTasker.BBSensorPlugins.FitnessTrackerPluginFileBox
private

◆ label1

System.Windows.Forms.Label BBTasker.BBSensorPlugins.label1
private

◆ label2

System.Windows.Forms.Label BBTasker.BBSensorPlugins.label2
private

◆ label3

System.Windows.Forms.Label BBTasker.BBSensorPlugins.label3
private

◆ PresenseBrowseBtn

System.Windows.Forms.Button BBTasker.BBSensorPlugins.PresenseBrowseBtn
private

◆ PrsesenseSensorFileBox

System.Windows.Forms.TextBox BBTasker.BBSensorPlugins.PrsesenseSensorFileBox
private

◆ submitBtn

System.Windows.Forms.Button BBTasker.BBSensorPlugins.submitBtn
private

◆ thermostatPluginBrowse

System.Windows.Forms.Button BBTasker.BBSensorPlugins.thermostatPluginBrowse
private

◆ ThermostatPluginFileBox

System.Windows.Forms.TextBox BBTasker.BBSensorPlugins.ThermostatPluginFileBox
private

The documentation for this class was generated from the following files: