WeightScaleDisplay.h 87 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2012
  6. All rights reserved.
  7. */
  8. #pragma once
  9. #include "StdAfx.h"
  10. #include "ISimBase.h"
  11. #include "antplus_common.h"
  12. #include "antplus_weight.h"
  13. #include "types.h"
  14. #include "antdefines.h"
  15. using namespace System;
  16. using namespace System::ComponentModel;
  17. using namespace System::Collections;
  18. using namespace System::Windows::Forms;
  19. using namespace System::Data;
  20. using namespace System::Drawing;
  21. public ref class WeightScaleDisplay : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. WeightScaleDisplay(dRequestBcastMsg^ channelBcastMsg){
  24. commonPages = gcnew CommonData();
  25. wsPages = gcnew WeightScale(WeightScale::DeviceClass::DISPLAY);
  26. InitializeComponent();
  27. requestBcastMsg = channelBcastMsg;
  28. InitializeSim();
  29. }
  30. ~WeightScaleDisplay(){
  31. this->panel_Display->Controls->Clear();
  32. this->panel_Settings->Controls->Clear();
  33. delete this->panel_Display;
  34. delete this->panel_Settings;
  35. //clean up floating resources with the garbage collector
  36. GC::Collect(2);
  37. if (components)
  38. {
  39. delete components;
  40. }
  41. }
  42. public:
  43. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  44. virtual UCHAR getDeviceType(){return WeightScale::DEVICE_TYPE;}
  45. virtual UCHAR getTransmissionType(){return 0;} // Set to 0 for a pairing search and future compatibility
  46. virtual USHORT getTransmitPeriod(){return WeightScale::MSG_PERIOD;}
  47. virtual DOUBLE getTimerInterval(){return 3600000;} // Set interval to one hour, as timer is not used in the simulation
  48. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  49. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  50. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  51. private:
  52. void InitializeSim();
  53. void HandleReceive(UCHAR* pucRxBuffer_);
  54. void HandleTransmit(UCHAR ucPageNum_);
  55. void ProcessReceivedMessage(UCHAR ucPageNum_);
  56. void SendUserProfile();
  57. void UpdateDisplay(UCHAR ucPageNum_);
  58. void UpdateDisplayActiveProfile();
  59. void UpdateDisplayCapabilities();
  60. void SelectCustomProfile();
  61. System::Void checkBoxProfileSet_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  62. System::Void checkBoxAntfs_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  63. System::Void checkBoxExchange_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  64. System::Void buttonReset_Click(System::Object^ sender, System::EventArgs^ e);
  65. private:
  66. CommonData^ commonPages; // Handle to common data pages
  67. WeightScale^ wsPages; // Handle to weight scale pages
  68. dRequestBcastMsg^ requestBcastMsg;
  69. // Preset User Profiles
  70. WeightScaleUserProfile^ uprofUndef;
  71. WeightScaleUserProfile^ uprofCustom;
  72. // Extended
  73. BOOL bSentProfile;
  74. BOOL bRxAdvanced;
  75. BOOL bRxMain;
  76. private: System::Windows::Forms::Button^ button2;
  77. private: System::Windows::Forms::CheckBox^ checkBox3;
  78. private: System::Windows::Forms::CheckBox^ checkBox4;
  79. private: System::Windows::Forms::CheckBox^ checkBoxUPSet;
  80. private: System::Windows::Forms::ComboBox^ comboBoxActivityLevel;
  81. private: System::Windows::Forms::GroupBox^ groupBox1;
  82. private: System::Windows::Forms::Label^ label_Trn_DisplayTitle;
  83. private: System::Windows::Forms::Label^ label1;
  84. private: System::Windows::Forms::Label^ label12;
  85. private: System::Windows::Forms::Label^ label13;
  86. private: System::Windows::Forms::Label^ label14;
  87. private: System::Windows::Forms::Label^ label15;
  88. private: System::Windows::Forms::Label^ label16;
  89. private: System::Windows::Forms::Label^ label17;
  90. private: System::Windows::Forms::Label^ label18;
  91. private: System::Windows::Forms::Label^ label19;
  92. private: System::Windows::Forms::Label^ label20;
  93. private: System::Windows::Forms::Label^ label21;
  94. private: System::Windows::Forms::Label^ label22;
  95. private: System::Windows::Forms::Label^ label25;
  96. private: System::Windows::Forms::Label^ label26;
  97. private: System::Windows::Forms::Label^ label27;
  98. private: System::Windows::Forms::Label^ label28;
  99. private: System::Windows::Forms::Label^ label29;
  100. private: System::Windows::Forms::Label^ labelPage;
  101. private: System::Windows::Forms::Label^ labelProfileActive;
  102. private: System::Windows::Forms::Label^ labelW1;
  103. private: System::Windows::Forms::Label^ labelWeight;
  104. private: System::Windows::Forms::Panel^ panel_Display;
  105. private: System::Windows::Forms::Panel^ panel_Settings;
  106. private: System::Windows::Forms::TabPage^ tabPage_GlobalData;
  107. private: System::Windows::Forms::TabPage^ tabPage_UserProfile;
  108. private: System::Windows::Forms::TextBox^ textboxHwVer;
  109. private: System::Windows::Forms::TextBox^ textboxMfgID;
  110. private: System::Windows::Forms::TextBox^ textboxModelNum;
  111. private: System::Windows::Forms::TextBox^ textboxSerialNum;
  112. private: System::Windows::Forms::TextBox^ textboxSwVer;
  113. private: System::Windows::Forms::TabControl^ tabControl1;
  114. private: System::Windows::Forms::TabPage^ tabPage_GlobalBattery;
  115. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  116. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  117. private: System::Windows::Forms::Label^ labelSwVer;
  118. private: System::Windows::Forms::Label^ labelSerialNum;
  119. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  120. private: System::Windows::Forms::Label^ labelMfgID;
  121. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  122. private: System::Windows::Forms::Label^ labelModelNum;
  123. private: System::Windows::Forms::Label^ labelHwVer;
  124. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  125. private: System::Windows::Forms::TabPage^ tabPage_CustomProfile;
  126. private: System::Windows::Forms::Label^ label2;
  127. private: System::Windows::Forms::NumericUpDown^ numericUpDownProfile;
  128. private: System::Windows::Forms::GroupBox^ groupBox2;
  129. private: System::Windows::Forms::RadioButton^ radioButtonFemale;
  130. private: System::Windows::Forms::RadioButton^ radioButtonMale;
  131. private: System::Windows::Forms::Label^ label3;
  132. private: System::Windows::Forms::Label^ label4;
  133. private: System::Windows::Forms::NumericUpDown^ numericUpDownHeight;
  134. private: System::Windows::Forms::Label^ label5;
  135. private: System::Windows::Forms::NumericUpDown^ numericUpDownAge;
  136. private: System::Windows::Forms::TabPage^ tabPage_ActiveProfile;
  137. private: System::Windows::Forms::Label^ label156;
  138. private: System::Windows::Forms::Label^ labelProfileSetScale;
  139. private: System::Windows::Forms::Label^ label81;
  140. private: System::Windows::Forms::Label^ labelExchangeScale;
  141. private: System::Windows::Forms::Label^ label79;
  142. private: System::Windows::Forms::Label^ labelAntfsRx;
  143. private: System::Windows::Forms::Label^ label6;
  144. private: System::Windows::Forms::Label^ labelDescriptionActive;
  145. private: System::Windows::Forms::Label^ label_Bat_Status;
  146. private: System::Windows::Forms::Label^ label32;
  147. private: System::Windows::Forms::Label^ labelHeightActive;
  148. private: System::Windows::Forms::Label^ label33;
  149. private: System::Windows::Forms::Label^ labelAgeActive;
  150. private: System::Windows::Forms::Label^ label37;
  151. private: System::Windows::Forms::Label^ labelGenderActive;
  152. private: System::Windows::Forms::Label^ label39;
  153. private: System::Windows::Forms::Label^ labelProfileActive2;
  154. private: System::Windows::Forms::NumericUpDown^ numericUpDownActivityLevel;
  155. private: System::Windows::Forms::GroupBox^ groupBoxAthlete;
  156. private: System::Windows::Forms::RadioButton^ radioButtonAthleteFalse;
  157. private: System::Windows::Forms::RadioButton^ radioButtonAthleteTrue;
  158. private: System::Windows::Forms::Label^ labelLifestyle;
  159. private: System::Windows::Forms::Label^ label40;
  160. private: System::Windows::Forms::TabPage^ tabPage2;
  161. private: System::Windows::Forms::Button^ buttonReset;
  162. private: System::Windows::Forms::Label^ labelStatusProfileSent;
  163. private: System::Windows::Forms::Label^ labelStatusProfileUpdate;
  164. private: System::Windows::Forms::Label^ labelStatusProfileMatch;
  165. private: System::Windows::Forms::Label^ labelStatusProfileNew;
  166. private: System::Windows::Forms::CheckBox^ checkBoxProfileSet;
  167. private: System::Windows::Forms::CheckBox^ checkBoxExchange;
  168. private: System::Windows::Forms::CheckBox^ checkBoxAntfs;
  169. private: System::Windows::Forms::Label^ labelStatusProfileRx;
  170. private: System::Windows::Forms::Label^ label_Dat_PageRec;
  171. private: System::Windows::Forms::Label^ labelPage2;
  172. private: System::Windows::Forms::Label^ labelExchangeDisplay;
  173. private: System::Windows::Forms::Label^ label7;
  174. private: System::Windows::Forms::Label^ labelBMR;
  175. private: System::Windows::Forms::Label^ label_BasalMetRate;
  176. private: System::Windows::Forms::Label^ labelAMR;
  177. private: System::Windows::Forms::Label^ label_ActiveMetRate;
  178. private: System::Windows::Forms::Label^ label_MR;
  179. private: System::Windows::Forms::Label^ labelBF;
  180. private: System::Windows::Forms::Label^ label_BodyFat;
  181. private: System::Windows::Forms::Label^ labelH;
  182. private: System::Windows::Forms::Label^ label_Hydration;
  183. private: System::Windows::Forms::Label^ label8;
  184. private: System::Windows::Forms::TabPage^ tabPage_DataPages;
  185. private: System::Windows::Forms::Label^ label41;
  186. private: System::Windows::Forms::Label^ label_adv_bonemass;
  187. private: System::Windows::Forms::Label^ label43;
  188. private: System::Windows::Forms::Label^ label_adv_musclemass;
  189. private: System::Windows::Forms::Label^ label9;
  190. private: System::Windows::Forms::Label^ label_adv_basalrate;
  191. private: System::Windows::Forms::Label^ label11;
  192. private: System::Windows::Forms::Label^ label_adv_activerate;
  193. private: System::Windows::Forms::Label^ label24;
  194. private: System::Windows::Forms::Label^ label30;
  195. private: System::Windows::Forms::Label^ label_adv_bodyfat;
  196. private: System::Windows::Forms::Label^ label34;
  197. private: System::Windows::Forms::Label^ label_adv_hydration;
  198. private: System::Windows::Forms::Label^ label36;
  199. private: System::Windows::Forms::Label^ label_adv_weight;
  200. /// <summary>
  201. /// Required designer variable.
  202. /// </summary>
  203. System::ComponentModel::Container ^components;
  204. #pragma region Windows Form Designer generated code
  205. /// <summary>
  206. /// Required method for Designer support - do not modify
  207. /// the contents of this method with the code editor.
  208. /// </summary>
  209. void InitializeComponent(void)
  210. {
  211. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  212. this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
  213. this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
  214. this->buttonReset = (gcnew System::Windows::Forms::Button());
  215. this->labelStatusProfileSent = (gcnew System::Windows::Forms::Label());
  216. this->labelStatusProfileUpdate = (gcnew System::Windows::Forms::Label());
  217. this->labelStatusProfileMatch = (gcnew System::Windows::Forms::Label());
  218. this->labelStatusProfileNew = (gcnew System::Windows::Forms::Label());
  219. this->checkBoxProfileSet = (gcnew System::Windows::Forms::CheckBox());
  220. this->checkBoxExchange = (gcnew System::Windows::Forms::CheckBox());
  221. this->checkBoxAntfs = (gcnew System::Windows::Forms::CheckBox());
  222. this->labelStatusProfileRx = (gcnew System::Windows::Forms::Label());
  223. this->label_Dat_PageRec = (gcnew System::Windows::Forms::Label());
  224. this->labelPage2 = (gcnew System::Windows::Forms::Label());
  225. this->tabPage_DataPages = (gcnew System::Windows::Forms::TabPage());
  226. this->label41 = (gcnew System::Windows::Forms::Label());
  227. this->label_adv_bonemass = (gcnew System::Windows::Forms::Label());
  228. this->label43 = (gcnew System::Windows::Forms::Label());
  229. this->label_adv_musclemass = (gcnew System::Windows::Forms::Label());
  230. this->label9 = (gcnew System::Windows::Forms::Label());
  231. this->label_adv_basalrate = (gcnew System::Windows::Forms::Label());
  232. this->label11 = (gcnew System::Windows::Forms::Label());
  233. this->label_adv_activerate = (gcnew System::Windows::Forms::Label());
  234. this->label24 = (gcnew System::Windows::Forms::Label());
  235. this->label30 = (gcnew System::Windows::Forms::Label());
  236. this->label_adv_bodyfat = (gcnew System::Windows::Forms::Label());
  237. this->label34 = (gcnew System::Windows::Forms::Label());
  238. this->label_adv_hydration = (gcnew System::Windows::Forms::Label());
  239. this->label36 = (gcnew System::Windows::Forms::Label());
  240. this->label_adv_weight = (gcnew System::Windows::Forms::Label());
  241. this->tabPage_GlobalBattery = (gcnew System::Windows::Forms::TabPage());
  242. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  243. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  244. this->labelSwVer = (gcnew System::Windows::Forms::Label());
  245. this->labelSerialNum = (gcnew System::Windows::Forms::Label());
  246. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  247. this->labelMfgID = (gcnew System::Windows::Forms::Label());
  248. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  249. this->labelModelNum = (gcnew System::Windows::Forms::Label());
  250. this->labelHwVer = (gcnew System::Windows::Forms::Label());
  251. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  252. this->tabPage_CustomProfile = (gcnew System::Windows::Forms::TabPage());
  253. this->groupBoxAthlete = (gcnew System::Windows::Forms::GroupBox());
  254. this->radioButtonAthleteFalse = (gcnew System::Windows::Forms::RadioButton());
  255. this->radioButtonAthleteTrue = (gcnew System::Windows::Forms::RadioButton());
  256. this->numericUpDownActivityLevel = (gcnew System::Windows::Forms::NumericUpDown());
  257. this->label2 = (gcnew System::Windows::Forms::Label());
  258. this->numericUpDownProfile = (gcnew System::Windows::Forms::NumericUpDown());
  259. this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
  260. this->radioButtonFemale = (gcnew System::Windows::Forms::RadioButton());
  261. this->radioButtonMale = (gcnew System::Windows::Forms::RadioButton());
  262. this->label3 = (gcnew System::Windows::Forms::Label());
  263. this->label4 = (gcnew System::Windows::Forms::Label());
  264. this->numericUpDownHeight = (gcnew System::Windows::Forms::NumericUpDown());
  265. this->label5 = (gcnew System::Windows::Forms::Label());
  266. this->numericUpDownAge = (gcnew System::Windows::Forms::NumericUpDown());
  267. this->tabPage_ActiveProfile = (gcnew System::Windows::Forms::TabPage());
  268. this->labelExchangeDisplay = (gcnew System::Windows::Forms::Label());
  269. this->label7 = (gcnew System::Windows::Forms::Label());
  270. this->labelLifestyle = (gcnew System::Windows::Forms::Label());
  271. this->label40 = (gcnew System::Windows::Forms::Label());
  272. this->label156 = (gcnew System::Windows::Forms::Label());
  273. this->labelProfileSetScale = (gcnew System::Windows::Forms::Label());
  274. this->label81 = (gcnew System::Windows::Forms::Label());
  275. this->labelExchangeScale = (gcnew System::Windows::Forms::Label());
  276. this->label79 = (gcnew System::Windows::Forms::Label());
  277. this->labelAntfsRx = (gcnew System::Windows::Forms::Label());
  278. this->label6 = (gcnew System::Windows::Forms::Label());
  279. this->labelDescriptionActive = (gcnew System::Windows::Forms::Label());
  280. this->label_Bat_Status = (gcnew System::Windows::Forms::Label());
  281. this->label32 = (gcnew System::Windows::Forms::Label());
  282. this->labelHeightActive = (gcnew System::Windows::Forms::Label());
  283. this->label33 = (gcnew System::Windows::Forms::Label());
  284. this->labelAgeActive = (gcnew System::Windows::Forms::Label());
  285. this->label37 = (gcnew System::Windows::Forms::Label());
  286. this->labelGenderActive = (gcnew System::Windows::Forms::Label());
  287. this->label39 = (gcnew System::Windows::Forms::Label());
  288. this->labelProfileActive2 = (gcnew System::Windows::Forms::Label());
  289. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  290. this->label8 = (gcnew System::Windows::Forms::Label());
  291. this->labelBMR = (gcnew System::Windows::Forms::Label());
  292. this->label_BasalMetRate = (gcnew System::Windows::Forms::Label());
  293. this->labelAMR = (gcnew System::Windows::Forms::Label());
  294. this->label_ActiveMetRate = (gcnew System::Windows::Forms::Label());
  295. this->label_MR = (gcnew System::Windows::Forms::Label());
  296. this->labelBF = (gcnew System::Windows::Forms::Label());
  297. this->label_BodyFat = (gcnew System::Windows::Forms::Label());
  298. this->labelH = (gcnew System::Windows::Forms::Label());
  299. this->label_Hydration = (gcnew System::Windows::Forms::Label());
  300. this->labelPage = (gcnew System::Windows::Forms::Label());
  301. this->label1 = (gcnew System::Windows::Forms::Label());
  302. this->labelProfileActive = (gcnew System::Windows::Forms::Label());
  303. this->label_Trn_DisplayTitle = (gcnew System::Windows::Forms::Label());
  304. this->labelW1 = (gcnew System::Windows::Forms::Label());
  305. this->labelWeight = (gcnew System::Windows::Forms::Label());
  306. this->tabPage_UserProfile = (gcnew System::Windows::Forms::TabPage());
  307. this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
  308. this->checkBoxUPSet = (gcnew System::Windows::Forms::CheckBox());
  309. this->label29 = (gcnew System::Windows::Forms::Label());
  310. this->comboBoxActivityLevel = (gcnew System::Windows::Forms::ComboBox());
  311. this->label28 = (gcnew System::Windows::Forms::Label());
  312. this->label27 = (gcnew System::Windows::Forms::Label());
  313. this->tabPage_GlobalData = (gcnew System::Windows::Forms::TabPage());
  314. this->label12 = (gcnew System::Windows::Forms::Label());
  315. this->label13 = (gcnew System::Windows::Forms::Label());
  316. this->label14 = (gcnew System::Windows::Forms::Label());
  317. this->label15 = (gcnew System::Windows::Forms::Label());
  318. this->label16 = (gcnew System::Windows::Forms::Label());
  319. this->checkBox3 = (gcnew System::Windows::Forms::CheckBox());
  320. this->checkBox4 = (gcnew System::Windows::Forms::CheckBox());
  321. this->button2 = (gcnew System::Windows::Forms::Button());
  322. this->label17 = (gcnew System::Windows::Forms::Label());
  323. this->label18 = (gcnew System::Windows::Forms::Label());
  324. this->label19 = (gcnew System::Windows::Forms::Label());
  325. this->textboxSerialNum = (gcnew System::Windows::Forms::TextBox());
  326. this->textboxSwVer = (gcnew System::Windows::Forms::TextBox());
  327. this->label20 = (gcnew System::Windows::Forms::Label());
  328. this->label21 = (gcnew System::Windows::Forms::Label());
  329. this->label22 = (gcnew System::Windows::Forms::Label());
  330. this->textboxHwVer = (gcnew System::Windows::Forms::TextBox());
  331. this->textboxModelNum = (gcnew System::Windows::Forms::TextBox());
  332. this->textboxMfgID = (gcnew System::Windows::Forms::TextBox());
  333. this->panel_Settings->SuspendLayout();
  334. this->tabControl1->SuspendLayout();
  335. this->tabPage2->SuspendLayout();
  336. this->tabPage_DataPages->SuspendLayout();
  337. this->tabPage_GlobalBattery->SuspendLayout();
  338. this->tabPage_CustomProfile->SuspendLayout();
  339. this->groupBoxAthlete->SuspendLayout();
  340. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownActivityLevel))->BeginInit();
  341. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownProfile))->BeginInit();
  342. this->groupBox2->SuspendLayout();
  343. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownHeight))->BeginInit();
  344. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownAge))->BeginInit();
  345. this->tabPage_ActiveProfile->SuspendLayout();
  346. this->panel_Display->SuspendLayout();
  347. this->tabPage_UserProfile->SuspendLayout();
  348. this->tabPage_GlobalData->SuspendLayout();
  349. this->SuspendLayout();
  350. //
  351. // panel_Settings
  352. //
  353. this->panel_Settings->Controls->Add(this->tabControl1);
  354. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  355. this->panel_Settings->Name = L"panel_Settings";
  356. this->panel_Settings->Size = System::Drawing::Size(400, 157);
  357. this->panel_Settings->TabIndex = 0;
  358. //
  359. // tabControl1
  360. //
  361. this->tabControl1->Controls->Add(this->tabPage2);
  362. this->tabControl1->Controls->Add(this->tabPage_DataPages);
  363. this->tabControl1->Controls->Add(this->tabPage_GlobalBattery);
  364. this->tabControl1->Controls->Add(this->tabPage_CustomProfile);
  365. this->tabControl1->Controls->Add(this->tabPage_ActiveProfile);
  366. this->tabControl1->Location = System::Drawing::Point(4, 4);
  367. this->tabControl1->Name = L"tabControl1";
  368. this->tabControl1->SelectedIndex = 0;
  369. this->tabControl1->Size = System::Drawing::Size(395, 152);
  370. this->tabControl1->TabIndex = 0;
  371. //
  372. // tabPage2
  373. //
  374. this->tabPage2->Controls->Add(this->buttonReset);
  375. this->tabPage2->Controls->Add(this->labelStatusProfileSent);
  376. this->tabPage2->Controls->Add(this->labelStatusProfileUpdate);
  377. this->tabPage2->Controls->Add(this->labelStatusProfileMatch);
  378. this->tabPage2->Controls->Add(this->labelStatusProfileNew);
  379. this->tabPage2->Controls->Add(this->checkBoxProfileSet);
  380. this->tabPage2->Controls->Add(this->checkBoxExchange);
  381. this->tabPage2->Controls->Add(this->checkBoxAntfs);
  382. this->tabPage2->Controls->Add(this->labelStatusProfileRx);
  383. this->tabPage2->Controls->Add(this->label_Dat_PageRec);
  384. this->tabPage2->Controls->Add(this->labelPage2);
  385. this->tabPage2->Location = System::Drawing::Point(4, 22);
  386. this->tabPage2->Name = L"tabPage2";
  387. this->tabPage2->Padding = System::Windows::Forms::Padding(3);
  388. this->tabPage2->Size = System::Drawing::Size(387, 126);
  389. this->tabPage2->TabIndex = 1;
  390. this->tabPage2->Text = L"Data";
  391. this->tabPage2->UseVisualStyleBackColor = true;
  392. //
  393. // buttonReset
  394. //
  395. this->buttonReset->Location = System::Drawing::Point(46, 81);
  396. this->buttonReset->Name = L"buttonReset";
  397. this->buttonReset->Size = System::Drawing::Size(114, 25);
  398. this->buttonReset->TabIndex = 34;
  399. this->buttonReset->Text = L"Reset Session";
  400. this->buttonReset->UseVisualStyleBackColor = true;
  401. this->buttonReset->Click += gcnew System::EventHandler(this, &WeightScaleDisplay::buttonReset_Click);
  402. //
  403. // labelStatusProfileSent
  404. //
  405. this->labelStatusProfileSent->AutoSize = true;
  406. this->labelStatusProfileSent->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  407. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  408. this->labelStatusProfileSent->ForeColor = System::Drawing::SystemColors::ControlText;
  409. this->labelStatusProfileSent->Location = System::Drawing::Point(223, 87);
  410. this->labelStatusProfileSent->Name = L"labelStatusProfileSent";
  411. this->labelStatusProfileSent->Size = System::Drawing::Size(0, 15);
  412. this->labelStatusProfileSent->TabIndex = 33;
  413. //
  414. // labelStatusProfileUpdate
  415. //
  416. this->labelStatusProfileUpdate->AutoSize = true;
  417. this->labelStatusProfileUpdate->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  418. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  419. this->labelStatusProfileUpdate->ForeColor = System::Drawing::SystemColors::ControlText;
  420. this->labelStatusProfileUpdate->Location = System::Drawing::Point(223, 72);
  421. this->labelStatusProfileUpdate->Name = L"labelStatusProfileUpdate";
  422. this->labelStatusProfileUpdate->Size = System::Drawing::Size(0, 15);
  423. this->labelStatusProfileUpdate->TabIndex = 32;
  424. //
  425. // labelStatusProfileMatch
  426. //
  427. this->labelStatusProfileMatch->AutoSize = true;
  428. this->labelStatusProfileMatch->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  429. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  430. this->labelStatusProfileMatch->ForeColor = System::Drawing::SystemColors::ControlText;
  431. this->labelStatusProfileMatch->Location = System::Drawing::Point(223, 57);
  432. this->labelStatusProfileMatch->Name = L"labelStatusProfileMatch";
  433. this->labelStatusProfileMatch->Size = System::Drawing::Size(0, 15);
  434. this->labelStatusProfileMatch->TabIndex = 31;
  435. //
  436. // labelStatusProfileNew
  437. //
  438. this->labelStatusProfileNew->AutoSize = true;
  439. this->labelStatusProfileNew->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  440. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  441. this->labelStatusProfileNew->ForeColor = System::Drawing::SystemColors::ControlText;
  442. this->labelStatusProfileNew->Location = System::Drawing::Point(223, 42);
  443. this->labelStatusProfileNew->Name = L"labelStatusProfileNew";
  444. this->labelStatusProfileNew->Size = System::Drawing::Size(0, 15);
  445. this->labelStatusProfileNew->TabIndex = 30;
  446. //
  447. // checkBoxProfileSet
  448. //
  449. this->checkBoxProfileSet->AutoSize = true;
  450. this->checkBoxProfileSet->Checked = true;
  451. this->checkBoxProfileSet->CheckState = System::Windows::Forms::CheckState::Checked;
  452. this->checkBoxProfileSet->Location = System::Drawing::Point(18, 5);
  453. this->checkBoxProfileSet->Name = L"checkBoxProfileSet";
  454. this->checkBoxProfileSet->Size = System::Drawing::Size(99, 17);
  455. this->checkBoxProfileSet->TabIndex = 28;
  456. this->checkBoxProfileSet->Text = L"User Profile Set";
  457. this->checkBoxProfileSet->UseVisualStyleBackColor = true;
  458. this->checkBoxProfileSet->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::checkBoxProfileSet_CheckedChanged);
  459. //
  460. // checkBoxExchange
  461. //
  462. this->checkBoxExchange->AutoSize = true;
  463. this->checkBoxExchange->Checked = true;
  464. this->checkBoxExchange->CheckState = System::Windows::Forms::CheckState::Checked;
  465. this->checkBoxExchange->Location = System::Drawing::Point(18, 55);
  466. this->checkBoxExchange->Name = L"checkBoxExchange";
  467. this->checkBoxExchange->Size = System::Drawing::Size(171, 17);
  468. this->checkBoxExchange->TabIndex = 27;
  469. this->checkBoxExchange->Text = L"User Profile Exchange Support";
  470. this->checkBoxExchange->UseVisualStyleBackColor = true;
  471. this->checkBoxExchange->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::checkBoxExchange_CheckedChanged);
  472. //
  473. // checkBoxAntfs
  474. //
  475. this->checkBoxAntfs->AutoSize = true;
  476. this->checkBoxAntfs->Enabled = false;
  477. this->checkBoxAntfs->Location = System::Drawing::Point(18, 30);
  478. this->checkBoxAntfs->Name = L"checkBoxAntfs";
  479. this->checkBoxAntfs->Size = System::Drawing::Size(104, 17);
  480. this->checkBoxAntfs->TabIndex = 26;
  481. this->checkBoxAntfs->Text = L"ANT-FS Support";
  482. this->checkBoxAntfs->UseVisualStyleBackColor = true;
  483. this->checkBoxAntfs->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::checkBoxAntfs_CheckedChanged);
  484. //
  485. // labelStatusProfileRx
  486. //
  487. this->labelStatusProfileRx->AutoSize = true;
  488. this->labelStatusProfileRx->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  489. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  490. this->labelStatusProfileRx->ForeColor = System::Drawing::SystemColors::ControlText;
  491. this->labelStatusProfileRx->Location = System::Drawing::Point(223, 27);
  492. this->labelStatusProfileRx->Name = L"labelStatusProfileRx";
  493. this->labelStatusProfileRx->Size = System::Drawing::Size(0, 15);
  494. this->labelStatusProfileRx->TabIndex = 25;
  495. //
  496. // label_Dat_PageRec
  497. //
  498. this->label_Dat_PageRec->AutoSize = true;
  499. this->label_Dat_PageRec->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  500. static_cast<System::Byte>(0)));
  501. this->label_Dat_PageRec->Location = System::Drawing::Point(225, 6);
  502. this->label_Dat_PageRec->Name = L"label_Dat_PageRec";
  503. this->label_Dat_PageRec->Size = System::Drawing::Size(0, 13);
  504. this->label_Dat_PageRec->TabIndex = 23;
  505. //
  506. // labelPage2
  507. //
  508. this->labelPage2->AutoSize = true;
  509. this->labelPage2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  510. static_cast<System::Byte>(0)));
  511. this->labelPage2->Location = System::Drawing::Point(325, 6);
  512. this->labelPage2->Name = L"labelPage2";
  513. this->labelPage2->Size = System::Drawing::Size(0, 13);
  514. this->labelPage2->TabIndex = 24;
  515. //
  516. // tabPage_DataPages
  517. //
  518. this->tabPage_DataPages->Controls->Add(this->label41);
  519. this->tabPage_DataPages->Controls->Add(this->label_adv_bonemass);
  520. this->tabPage_DataPages->Controls->Add(this->label43);
  521. this->tabPage_DataPages->Controls->Add(this->label_adv_musclemass);
  522. this->tabPage_DataPages->Controls->Add(this->label9);
  523. this->tabPage_DataPages->Controls->Add(this->label_adv_basalrate);
  524. this->tabPage_DataPages->Controls->Add(this->label11);
  525. this->tabPage_DataPages->Controls->Add(this->label_adv_activerate);
  526. this->tabPage_DataPages->Controls->Add(this->label24);
  527. this->tabPage_DataPages->Controls->Add(this->label30);
  528. this->tabPage_DataPages->Controls->Add(this->label_adv_bodyfat);
  529. this->tabPage_DataPages->Controls->Add(this->label34);
  530. this->tabPage_DataPages->Controls->Add(this->label_adv_hydration);
  531. this->tabPage_DataPages->Controls->Add(this->label36);
  532. this->tabPage_DataPages->Controls->Add(this->label_adv_weight);
  533. this->tabPage_DataPages->Location = System::Drawing::Point(4, 22);
  534. this->tabPage_DataPages->Name = L"tabPage_DataPages";
  535. this->tabPage_DataPages->Padding = System::Windows::Forms::Padding(3);
  536. this->tabPage_DataPages->Size = System::Drawing::Size(387, 126);
  537. this->tabPage_DataPages->TabIndex = 9;
  538. this->tabPage_DataPages->Text = L"Advanced";
  539. this->tabPage_DataPages->UseVisualStyleBackColor = true;
  540. //
  541. // label41
  542. //
  543. this->label41->AutoSize = true;
  544. this->label41->BackColor = System::Drawing::Color::Transparent;
  545. this->label41->Location = System::Drawing::Point(241, 46);
  546. this->label41->Name = L"label41";
  547. this->label41->Size = System::Drawing::Size(84, 13);
  548. this->label41->TabIndex = 53;
  549. this->label41->Text = L"Bone Mass (kg):";
  550. //
  551. // label_adv_bonemass
  552. //
  553. this->label_adv_bonemass->AutoSize = true;
  554. this->label_adv_bonemass->BackColor = System::Drawing::Color::Transparent;
  555. this->label_adv_bonemass->Location = System::Drawing::Point(340, 46);
  556. this->label_adv_bonemass->Name = L"label_adv_bonemass";
  557. this->label_adv_bonemass->Size = System::Drawing::Size(16, 13);
  558. this->label_adv_bonemass->TabIndex = 54;
  559. this->label_adv_bonemass->Text = L"---";
  560. //
  561. // label43
  562. //
  563. this->label43->AutoSize = true;
  564. this->label43->BackColor = System::Drawing::Color::Transparent;
  565. this->label43->Location = System::Drawing::Point(241, 30);
  566. this->label43->Name = L"label43";
  567. this->label43->Size = System::Drawing::Size(93, 13);
  568. this->label43->TabIndex = 51;
  569. this->label43->Text = L"Muscle Mass (kg):";
  570. //
  571. // label_adv_musclemass
  572. //
  573. this->label_adv_musclemass->AutoSize = true;
  574. this->label_adv_musclemass->BackColor = System::Drawing::Color::Transparent;
  575. this->label_adv_musclemass->Location = System::Drawing::Point(340, 30);
  576. this->label_adv_musclemass->Name = L"label_adv_musclemass";
  577. this->label_adv_musclemass->Size = System::Drawing::Size(16, 13);
  578. this->label_adv_musclemass->TabIndex = 52;
  579. this->label_adv_musclemass->Text = L"---";
  580. //
  581. // label9
  582. //
  583. this->label9->AutoSize = true;
  584. this->label9->BackColor = System::Drawing::Color::Transparent;
  585. this->label9->Location = System::Drawing::Point(138, 46);
  586. this->label9->Name = L"label9";
  587. this->label9->Size = System::Drawing::Size(36, 13);
  588. this->label9->TabIndex = 48;
  589. this->label9->Text = L"Basal:";
  590. //
  591. // label_adv_basalrate
  592. //
  593. this->label_adv_basalrate->AutoSize = true;
  594. this->label_adv_basalrate->BackColor = System::Drawing::Color::Transparent;
  595. this->label_adv_basalrate->Location = System::Drawing::Point(177, 46);
  596. this->label_adv_basalrate->Name = L"label_adv_basalrate";
  597. this->label_adv_basalrate->Size = System::Drawing::Size(16, 13);
  598. this->label_adv_basalrate->TabIndex = 49;
  599. this->label_adv_basalrate->Text = L"---";
  600. //
  601. // label11
  602. //
  603. this->label11->AutoSize = true;
  604. this->label11->BackColor = System::Drawing::Color::Transparent;
  605. this->label11->Location = System::Drawing::Point(138, 30);
  606. this->label11->Name = L"label11";
  607. this->label11->Size = System::Drawing::Size(40, 13);
  608. this->label11->TabIndex = 46;
  609. this->label11->Text = L"Active:";
  610. //
  611. // label_adv_activerate
  612. //
  613. this->label_adv_activerate->AutoSize = true;
  614. this->label_adv_activerate->BackColor = System::Drawing::Color::Transparent;
  615. this->label_adv_activerate->Location = System::Drawing::Point(177, 30);
  616. this->label_adv_activerate->Name = L"label_adv_activerate";
  617. this->label_adv_activerate->Size = System::Drawing::Size(16, 13);
  618. this->label_adv_activerate->TabIndex = 47;
  619. this->label_adv_activerate->Text = L"---";
  620. //
  621. // label24
  622. //
  623. this->label24->AutoSize = true;
  624. this->label24->Location = System::Drawing::Point(136, 13);
  625. this->label24->Name = L"label24";
  626. this->label24->Size = System::Drawing::Size(80, 13);
  627. this->label24->TabIndex = 45;
  628. this->label24->Text = L"Met Rate (kcal)";
  629. //
  630. // label30
  631. //
  632. this->label30->AutoSize = true;
  633. this->label30->BackColor = System::Drawing::Color::Transparent;
  634. this->label30->Location = System::Drawing::Point(6, 47);
  635. this->label30->Name = L"label30";
  636. this->label30->Size = System::Drawing::Size(69, 13);
  637. this->label30->TabIndex = 43;
  638. this->label30->Text = L"Body Fat (%):";
  639. //
  640. // label_adv_bodyfat
  641. //
  642. this->label_adv_bodyfat->AutoSize = true;
  643. this->label_adv_bodyfat->BackColor = System::Drawing::Color::Transparent;
  644. this->label_adv_bodyfat->Location = System::Drawing::Point(79, 48);
  645. this->label_adv_bodyfat->Name = L"label_adv_bodyfat";
  646. this->label_adv_bodyfat->Size = System::Drawing::Size(16, 13);
  647. this->label_adv_bodyfat->TabIndex = 44;
  648. this->label_adv_bodyfat->Text = L"---";
  649. //
  650. // label34
  651. //
  652. this->label34->AutoSize = true;
  653. this->label34->BackColor = System::Drawing::Color::Transparent;
  654. this->label34->Location = System::Drawing::Point(6, 30);
  655. this->label34->Name = L"label34";
  656. this->label34->Size = System::Drawing::Size(72, 13);
  657. this->label34->TabIndex = 41;
  658. this->label34->Text = L"Hydration (%):";
  659. //
  660. // label_adv_hydration
  661. //
  662. this->label_adv_hydration->AutoSize = true;
  663. this->label_adv_hydration->BackColor = System::Drawing::Color::Transparent;
  664. this->label_adv_hydration->Location = System::Drawing::Point(79, 31);
  665. this->label_adv_hydration->Name = L"label_adv_hydration";
  666. this->label_adv_hydration->Size = System::Drawing::Size(16, 13);
  667. this->label_adv_hydration->TabIndex = 42;
  668. this->label_adv_hydration->Text = L"---";
  669. //
  670. // label36
  671. //
  672. this->label36->AutoSize = true;
  673. this->label36->BackColor = System::Drawing::Color::Transparent;
  674. this->label36->Location = System::Drawing::Point(6, 13);
  675. this->label36->Name = L"label36";
  676. this->label36->Size = System::Drawing::Size(65, 13);
  677. this->label36->TabIndex = 39;
  678. this->label36->Text = L"Weight (kg):";
  679. //
  680. // label_adv_weight
  681. //
  682. this->label_adv_weight->AutoSize = true;
  683. this->label_adv_weight->BackColor = System::Drawing::Color::Transparent;
  684. this->label_adv_weight->Location = System::Drawing::Point(78, 13);
  685. this->label_adv_weight->Name = L"label_adv_weight";
  686. this->label_adv_weight->Size = System::Drawing::Size(16, 13);
  687. this->label_adv_weight->TabIndex = 40;
  688. this->label_adv_weight->Text = L"---";
  689. //
  690. // tabPage_GlobalBattery
  691. //
  692. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SoftwareVer);
  693. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_HardwareVer);
  694. this->tabPage_GlobalBattery->Controls->Add(this->labelSwVer);
  695. this->tabPage_GlobalBattery->Controls->Add(this->labelSerialNum);
  696. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ModelNum);
  697. this->tabPage_GlobalBattery->Controls->Add(this->labelMfgID);
  698. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SerialNum);
  699. this->tabPage_GlobalBattery->Controls->Add(this->labelModelNum);
  700. this->tabPage_GlobalBattery->Controls->Add(this->labelHwVer);
  701. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ManfID);
  702. this->tabPage_GlobalBattery->Location = System::Drawing::Point(4, 22);
  703. this->tabPage_GlobalBattery->Name = L"tabPage_GlobalBattery";
  704. this->tabPage_GlobalBattery->Size = System::Drawing::Size(387, 126);
  705. this->tabPage_GlobalBattery->TabIndex = 5;
  706. this->tabPage_GlobalBattery->Text = L"Global Data";
  707. this->tabPage_GlobalBattery->UseVisualStyleBackColor = true;
  708. //
  709. // label_Glb_SoftwareVer
  710. //
  711. this->label_Glb_SoftwareVer->AutoSize = true;
  712. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(38, 28);
  713. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  714. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(71, 13);
  715. this->label_Glb_SoftwareVer->TabIndex = 4;
  716. this->label_Glb_SoftwareVer->Text = L"Software Ver:";
  717. //
  718. // label_Glb_HardwareVer
  719. //
  720. this->label_Glb_HardwareVer->AutoSize = true;
  721. this->label_Glb_HardwareVer->Location = System::Drawing::Point(34, 85);
  722. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  723. this->label_Glb_HardwareVer->Size = System::Drawing::Size(75, 13);
  724. this->label_Glb_HardwareVer->TabIndex = 3;
  725. this->label_Glb_HardwareVer->Text = L"Hardware Ver:";
  726. //
  727. // labelSwVer
  728. //
  729. this->labelSwVer->AutoSize = true;
  730. this->labelSwVer->Location = System::Drawing::Point(115, 28);
  731. this->labelSwVer->Name = L"labelSwVer";
  732. this->labelSwVer->Size = System::Drawing::Size(16, 13);
  733. this->labelSwVer->TabIndex = 16;
  734. this->labelSwVer->Text = L"---";
  735. //
  736. // labelSerialNum
  737. //
  738. this->labelSerialNum->AutoSize = true;
  739. this->labelSerialNum->Location = System::Drawing::Point(115, 9);
  740. this->labelSerialNum->Name = L"labelSerialNum";
  741. this->labelSerialNum->Size = System::Drawing::Size(16, 13);
  742. this->labelSerialNum->TabIndex = 11;
  743. this->labelSerialNum->Text = L"---";
  744. //
  745. // label_Glb_ModelNum
  746. //
  747. this->label_Glb_ModelNum->AutoSize = true;
  748. this->label_Glb_ModelNum->Location = System::Drawing::Point(60, 66);
  749. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  750. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  751. this->label_Glb_ModelNum->TabIndex = 5;
  752. this->label_Glb_ModelNum->Text = L"Model #:";
  753. //
  754. // labelMfgID
  755. //
  756. this->labelMfgID->AutoSize = true;
  757. this->labelMfgID->Location = System::Drawing::Point(115, 47);
  758. this->labelMfgID->Name = L"labelMfgID";
  759. this->labelMfgID->Size = System::Drawing::Size(16, 13);
  760. this->labelMfgID->TabIndex = 8;
  761. this->labelMfgID->Text = L"---";
  762. //
  763. // label_Glb_SerialNum
  764. //
  765. this->label_Glb_SerialNum->AutoSize = true;
  766. this->label_Glb_SerialNum->Location = System::Drawing::Point(63, 9);
  767. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  768. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  769. this->label_Glb_SerialNum->TabIndex = 2;
  770. this->label_Glb_SerialNum->Text = L"Serial #:";
  771. //
  772. // labelModelNum
  773. //
  774. this->labelModelNum->AutoSize = true;
  775. this->labelModelNum->Location = System::Drawing::Point(115, 66);
  776. this->labelModelNum->Name = L"labelModelNum";
  777. this->labelModelNum->Size = System::Drawing::Size(16, 13);
  778. this->labelModelNum->TabIndex = 9;
  779. this->labelModelNum->Text = L"---";
  780. //
  781. // labelHwVer
  782. //
  783. this->labelHwVer->AutoSize = true;
  784. this->labelHwVer->Location = System::Drawing::Point(115, 85);
  785. this->labelHwVer->Name = L"labelHwVer";
  786. this->labelHwVer->Size = System::Drawing::Size(16, 13);
  787. this->labelHwVer->TabIndex = 14;
  788. this->labelHwVer->Text = L"---";
  789. //
  790. // label_Glb_ManfID
  791. //
  792. this->label_Glb_ManfID->AutoSize = true;
  793. this->label_Glb_ManfID->Location = System::Drawing::Point(58, 47);
  794. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  795. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  796. this->label_Glb_ManfID->TabIndex = 1;
  797. this->label_Glb_ManfID->Text = L"Manf. ID:";
  798. //
  799. // tabPage_CustomProfile
  800. //
  801. this->tabPage_CustomProfile->Controls->Add(this->groupBoxAthlete);
  802. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownActivityLevel);
  803. this->tabPage_CustomProfile->Controls->Add(this->label2);
  804. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownProfile);
  805. this->tabPage_CustomProfile->Controls->Add(this->groupBox2);
  806. this->tabPage_CustomProfile->Controls->Add(this->label3);
  807. this->tabPage_CustomProfile->Controls->Add(this->label4);
  808. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownHeight);
  809. this->tabPage_CustomProfile->Controls->Add(this->label5);
  810. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownAge);
  811. this->tabPage_CustomProfile->Location = System::Drawing::Point(4, 22);
  812. this->tabPage_CustomProfile->Name = L"tabPage_CustomProfile";
  813. this->tabPage_CustomProfile->Size = System::Drawing::Size(387, 126);
  814. this->tabPage_CustomProfile->TabIndex = 6;
  815. this->tabPage_CustomProfile->Text = L"Custom Profile";
  816. this->tabPage_CustomProfile->UseVisualStyleBackColor = true;
  817. //
  818. // groupBoxAthlete
  819. //
  820. this->groupBoxAthlete->Controls->Add(this->radioButtonAthleteFalse);
  821. this->groupBoxAthlete->Controls->Add(this->radioButtonAthleteTrue);
  822. this->groupBoxAthlete->Location = System::Drawing::Point(267, 48);
  823. this->groupBoxAthlete->Name = L"groupBoxAthlete";
  824. this->groupBoxAthlete->Size = System::Drawing::Size(67, 53);
  825. this->groupBoxAthlete->TabIndex = 64;
  826. this->groupBoxAthlete->TabStop = false;
  827. this->groupBoxAthlete->Text = L"Athlete";
  828. //
  829. // radioButtonAthleteFalse
  830. //
  831. this->radioButtonAthleteFalse->AutoSize = true;
  832. this->radioButtonAthleteFalse->Checked = true;
  833. this->radioButtonAthleteFalse->Location = System::Drawing::Point(6, 31);
  834. this->radioButtonAthleteFalse->Name = L"radioButtonAthleteFalse";
  835. this->radioButtonAthleteFalse->Size = System::Drawing::Size(39, 17);
  836. this->radioButtonAthleteFalse->TabIndex = 1;
  837. this->radioButtonAthleteFalse->TabStop = true;
  838. this->radioButtonAthleteFalse->Text = L"No";
  839. this->radioButtonAthleteFalse->UseVisualStyleBackColor = true;
  840. this->radioButtonAthleteFalse->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::radioButtonAthleteFalse_CheckChanged);
  841. //
  842. // radioButtonAthleteTrue
  843. //
  844. this->radioButtonAthleteTrue->AutoSize = true;
  845. this->radioButtonAthleteTrue->Location = System::Drawing::Point(6, 13);
  846. this->radioButtonAthleteTrue->Name = L"radioButtonAthleteTrue";
  847. this->radioButtonAthleteTrue->Size = System::Drawing::Size(43, 17);
  848. this->radioButtonAthleteTrue->TabIndex = 0;
  849. this->radioButtonAthleteTrue->Text = L"Yes";
  850. this->radioButtonAthleteTrue->UseVisualStyleBackColor = true;
  851. this->radioButtonAthleteTrue->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::radioButtonAthleteTrue_CheckChanged);
  852. //
  853. // numericUpDownActivityLevel
  854. //
  855. this->numericUpDownActivityLevel->Location = System::Drawing::Point(267, 22);
  856. this->numericUpDownActivityLevel->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  857. this->numericUpDownActivityLevel->Name = L"numericUpDownActivityLevel";
  858. this->numericUpDownActivityLevel->Size = System::Drawing::Size(40, 20);
  859. this->numericUpDownActivityLevel->TabIndex = 63;
  860. this->numericUpDownActivityLevel->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {3, 0, 0, 0});
  861. this->numericUpDownActivityLevel->ValueChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::numericUpDownActivtyLevel_ValueChanged);
  862. //
  863. // label2
  864. //
  865. this->label2->AutoSize = true;
  866. this->label2->Location = System::Drawing::Point(14, 6);
  867. this->label2->Name = L"label2";
  868. this->label2->Size = System::Drawing::Size(65, 13);
  869. this->label2->TabIndex = 62;
  870. this->label2->Text = L"User Prof ID";
  871. //
  872. // numericUpDownProfile
  873. //
  874. this->numericUpDownProfile->Location = System::Drawing::Point(17, 22);
  875. this->numericUpDownProfile->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65534, 0, 0, 0});
  876. this->numericUpDownProfile->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {16, 0, 0, 0});
  877. this->numericUpDownProfile->Name = L"numericUpDownProfile";
  878. this->numericUpDownProfile->Size = System::Drawing::Size(60, 20);
  879. this->numericUpDownProfile->TabIndex = 61;
  880. this->numericUpDownProfile->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {16, 0, 0, 0});
  881. this->numericUpDownProfile->ValueChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::numericUpDownProfile_ValueChanged);
  882. //
  883. // groupBox2
  884. //
  885. this->groupBox2->Controls->Add(this->radioButtonFemale);
  886. this->groupBox2->Controls->Add(this->radioButtonMale);
  887. this->groupBox2->Location = System::Drawing::Point(17, 48);
  888. this->groupBox2->Name = L"groupBox2";
  889. this->groupBox2->Size = System::Drawing::Size(97, 53);
  890. this->groupBox2->TabIndex = 14;
  891. this->groupBox2->TabStop = false;
  892. this->groupBox2->Text = L"Gender";
  893. //
  894. // radioButtonFemale
  895. //
  896. this->radioButtonFemale->AutoSize = true;
  897. this->radioButtonFemale->Checked = true;
  898. this->radioButtonFemale->Location = System::Drawing::Point(8, 13);
  899. this->radioButtonFemale->Name = L"radioButtonFemale";
  900. this->radioButtonFemale->Size = System::Drawing::Size(59, 17);
  901. this->radioButtonFemale->TabIndex = 0;
  902. this->radioButtonFemale->TabStop = true;
  903. this->radioButtonFemale->Text = L"Female";
  904. this->radioButtonFemale->UseVisualStyleBackColor = true;
  905. this->radioButtonFemale->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::radioButtonFemale_CheckedChanged);
  906. //
  907. // radioButtonMale
  908. //
  909. this->radioButtonMale->AutoSize = true;
  910. this->radioButtonMale->Location = System::Drawing::Point(8, 31);
  911. this->radioButtonMale->Name = L"radioButtonMale";
  912. this->radioButtonMale->Size = System::Drawing::Size(48, 17);
  913. this->radioButtonMale->TabIndex = 1;
  914. this->radioButtonMale->TabStop = true;
  915. this->radioButtonMale->Text = L"Male";
  916. this->radioButtonMale->UseVisualStyleBackColor = true;
  917. this->radioButtonMale->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::radioButtonMale_CheckedChanged);
  918. //
  919. // label3
  920. //
  921. this->label3->AutoSize = true;
  922. this->label3->Location = System::Drawing::Point(264, 6);
  923. this->label3->Name = L"label3";
  924. this->label3->Size = System::Drawing::Size(70, 13);
  925. this->label3->TabIndex = 12;
  926. this->label3->Text = L"Activity Level";
  927. //
  928. // label4
  929. //
  930. this->label4->AutoSize = true;
  931. this->label4->Location = System::Drawing::Point(140, 48);
  932. this->label4->Name = L"label4";
  933. this->label4->Size = System::Drawing::Size(61, 13);
  934. this->label4->TabIndex = 10;
  935. this->label4->Text = L"Height (cm)";
  936. //
  937. // numericUpDownHeight
  938. //
  939. this->numericUpDownHeight->Location = System::Drawing::Point(143, 64);
  940. this->numericUpDownHeight->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  941. this->numericUpDownHeight->Name = L"numericUpDownHeight";
  942. this->numericUpDownHeight->Size = System::Drawing::Size(60, 20);
  943. this->numericUpDownHeight->TabIndex = 9;
  944. this->numericUpDownHeight->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {165, 0, 0, 0});
  945. this->numericUpDownHeight->ValueChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::numericUpDownHeight_ValueChanged);
  946. //
  947. // label5
  948. //
  949. this->label5->AutoSize = true;
  950. this->label5->Location = System::Drawing::Point(140, 6);
  951. this->label5->Name = L"label5";
  952. this->label5->Size = System::Drawing::Size(60, 13);
  953. this->label5->TabIndex = 8;
  954. this->label5->Text = L"Age (years)";
  955. //
  956. // numericUpDownAge
  957. //
  958. this->numericUpDownAge->Location = System::Drawing::Point(142, 22);
  959. this->numericUpDownAge->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {99, 0, 0, 0});
  960. this->numericUpDownAge->Name = L"numericUpDownAge";
  961. this->numericUpDownAge->Size = System::Drawing::Size(60, 20);
  962. this->numericUpDownAge->TabIndex = 7;
  963. this->numericUpDownAge->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {22, 0, 0, 0});
  964. this->numericUpDownAge->ValueChanged += gcnew System::EventHandler(this, &WeightScaleDisplay::numericUpDownAge_ValueChanged);
  965. //
  966. // tabPage_ActiveProfile
  967. //
  968. this->tabPage_ActiveProfile->Controls->Add(this->labelExchangeDisplay);
  969. this->tabPage_ActiveProfile->Controls->Add(this->label7);
  970. this->tabPage_ActiveProfile->Controls->Add(this->labelLifestyle);
  971. this->tabPage_ActiveProfile->Controls->Add(this->label40);
  972. this->tabPage_ActiveProfile->Controls->Add(this->label156);
  973. this->tabPage_ActiveProfile->Controls->Add(this->labelProfileSetScale);
  974. this->tabPage_ActiveProfile->Controls->Add(this->label81);
  975. this->tabPage_ActiveProfile->Controls->Add(this->labelExchangeScale);
  976. this->tabPage_ActiveProfile->Controls->Add(this->label79);
  977. this->tabPage_ActiveProfile->Controls->Add(this->labelAntfsRx);
  978. this->tabPage_ActiveProfile->Controls->Add(this->label6);
  979. this->tabPage_ActiveProfile->Controls->Add(this->labelDescriptionActive);
  980. this->tabPage_ActiveProfile->Controls->Add(this->label_Bat_Status);
  981. this->tabPage_ActiveProfile->Controls->Add(this->label32);
  982. this->tabPage_ActiveProfile->Controls->Add(this->labelHeightActive);
  983. this->tabPage_ActiveProfile->Controls->Add(this->label33);
  984. this->tabPage_ActiveProfile->Controls->Add(this->labelAgeActive);
  985. this->tabPage_ActiveProfile->Controls->Add(this->label37);
  986. this->tabPage_ActiveProfile->Controls->Add(this->labelGenderActive);
  987. this->tabPage_ActiveProfile->Controls->Add(this->label39);
  988. this->tabPage_ActiveProfile->Controls->Add(this->labelProfileActive2);
  989. this->tabPage_ActiveProfile->Location = System::Drawing::Point(4, 22);
  990. this->tabPage_ActiveProfile->Name = L"tabPage_ActiveProfile";
  991. this->tabPage_ActiveProfile->Padding = System::Windows::Forms::Padding(3);
  992. this->tabPage_ActiveProfile->Size = System::Drawing::Size(387, 126);
  993. this->tabPage_ActiveProfile->TabIndex = 8;
  994. this->tabPage_ActiveProfile->Text = L"Active Profile";
  995. this->tabPage_ActiveProfile->UseVisualStyleBackColor = true;
  996. //
  997. // labelExchangeDisplay
  998. //
  999. this->labelExchangeDisplay->AutoSize = true;
  1000. this->labelExchangeDisplay->BackColor = System::Drawing::Color::Transparent;
  1001. this->labelExchangeDisplay->Location = System::Drawing::Point(353, 89);
  1002. this->labelExchangeDisplay->Name = L"labelExchangeDisplay";
  1003. this->labelExchangeDisplay->Size = System::Drawing::Size(16, 13);
  1004. this->labelExchangeDisplay->TabIndex = 84;
  1005. this->labelExchangeDisplay->Text = L"---";
  1006. //
  1007. // label7
  1008. //
  1009. this->label7->AutoSize = true;
  1010. this->label7->BackColor = System::Drawing::Color::Transparent;
  1011. this->label7->Location = System::Drawing::Point(175, 89);
  1012. this->label7->Name = L"label7";
  1013. this->label7->Size = System::Drawing::Size(167, 13);
  1014. this->label7->TabIndex = 83;
  1015. this->label7->Text = L"Display Profile Exchange Support:";
  1016. //
  1017. // labelLifestyle
  1018. //
  1019. this->labelLifestyle->AutoSize = true;
  1020. this->labelLifestyle->BackColor = System::Drawing::Color::Transparent;
  1021. this->labelLifestyle->Location = System::Drawing::Point(90, 110);
  1022. this->labelLifestyle->Name = L"labelLifestyle";
  1023. this->labelLifestyle->Size = System::Drawing::Size(16, 13);
  1024. this->labelLifestyle->TabIndex = 80;
  1025. this->labelLifestyle->Text = L"---";
  1026. //
  1027. // label40
  1028. //
  1029. this->label40->AutoSize = true;
  1030. this->label40->Location = System::Drawing::Point(6, 110);
  1031. this->label40->Name = L"label40";
  1032. this->label40->Size = System::Drawing::Size(48, 13);
  1033. this->label40->TabIndex = 79;
  1034. this->label40->Text = L"Lifestyle:";
  1035. //
  1036. // label156
  1037. //
  1038. this->label156->AutoSize = true;
  1039. this->label156->BackColor = System::Drawing::Color::Transparent;
  1040. this->label156->Location = System::Drawing::Point(175, 26);
  1041. this->label156->Name = L"label156";
  1042. this->label156->Size = System::Drawing::Size(83, 13);
  1043. this->label156->TabIndex = 77;
  1044. this->label156->Text = L"User Profile Set:";
  1045. //
  1046. // labelProfileSetScale
  1047. //
  1048. this->labelProfileSetScale->AutoSize = true;
  1049. this->labelProfileSetScale->BackColor = System::Drawing::Color::Transparent;
  1050. this->labelProfileSetScale->Location = System::Drawing::Point(353, 26);
  1051. this->labelProfileSetScale->Name = L"labelProfileSetScale";
  1052. this->labelProfileSetScale->Size = System::Drawing::Size(16, 13);
  1053. this->labelProfileSetScale->TabIndex = 78;
  1054. this->labelProfileSetScale->Text = L"---";
  1055. //
  1056. // label81
  1057. //
  1058. this->label81->AutoSize = true;
  1059. this->label81->BackColor = System::Drawing::Color::Transparent;
  1060. this->label81->Location = System::Drawing::Point(175, 68);
  1061. this->label81->Name = L"label81";
  1062. this->label81->Size = System::Drawing::Size(160, 13);
  1063. this->label81->TabIndex = 75;
  1064. this->label81->Text = L"Scale Profile Exchange Support:";
  1065. //
  1066. // labelExchangeScale
  1067. //
  1068. this->labelExchangeScale->AutoSize = true;
  1069. this->labelExchangeScale->BackColor = System::Drawing::Color::Transparent;
  1070. this->labelExchangeScale->Location = System::Drawing::Point(353, 68);
  1071. this->labelExchangeScale->Name = L"labelExchangeScale";
  1072. this->labelExchangeScale->Size = System::Drawing::Size(16, 13);
  1073. this->labelExchangeScale->TabIndex = 76;
  1074. this->labelExchangeScale->Text = L"---";
  1075. //
  1076. // label79
  1077. //
  1078. this->label79->AutoSize = true;
  1079. this->label79->BackColor = System::Drawing::Color::Transparent;
  1080. this->label79->Location = System::Drawing::Point(175, 47);
  1081. this->label79->Name = L"label79";
  1082. this->label79->Size = System::Drawing::Size(88, 13);
  1083. this->label79->TabIndex = 73;
  1084. this->label79->Text = L"ANT-FS Support:";
  1085. //
  1086. // labelAntfsRx
  1087. //
  1088. this->labelAntfsRx->AutoSize = true;
  1089. this->labelAntfsRx->BackColor = System::Drawing::Color::Transparent;
  1090. this->labelAntfsRx->Location = System::Drawing::Point(353, 47);
  1091. this->labelAntfsRx->Name = L"labelAntfsRx";
  1092. this->labelAntfsRx->Size = System::Drawing::Size(16, 13);
  1093. this->labelAntfsRx->TabIndex = 74;
  1094. this->labelAntfsRx->Text = L"---";
  1095. //
  1096. // label6
  1097. //
  1098. this->label6->AutoSize = true;
  1099. this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline, System::Drawing::GraphicsUnit::Point,
  1100. static_cast<System::Byte>(0)));
  1101. this->label6->Location = System::Drawing::Point(175, 5);
  1102. this->label6->Name = L"label6";
  1103. this->label6->Size = System::Drawing::Size(92, 13);
  1104. this->label6->TabIndex = 72;
  1105. this->label6->Text = L"Scale capabilities:";
  1106. //
  1107. // labelDescriptionActive
  1108. //
  1109. this->labelDescriptionActive->AutoSize = true;
  1110. this->labelDescriptionActive->BackColor = System::Drawing::Color::Transparent;
  1111. this->labelDescriptionActive->Location = System::Drawing::Point(90, 89);
  1112. this->labelDescriptionActive->Name = L"labelDescriptionActive";
  1113. this->labelDescriptionActive->Size = System::Drawing::Size(16, 13);
  1114. this->labelDescriptionActive->TabIndex = 59;
  1115. this->labelDescriptionActive->Text = L"---";
  1116. //
  1117. // label_Bat_Status
  1118. //
  1119. this->label_Bat_Status->AutoSize = true;
  1120. this->label_Bat_Status->Location = System::Drawing::Point(6, 89);
  1121. this->label_Bat_Status->Name = L"label_Bat_Status";
  1122. this->label_Bat_Status->Size = System::Drawing::Size(73, 13);
  1123. this->label_Bat_Status->TabIndex = 58;
  1124. this->label_Bat_Status->Text = L"Activity Level:";
  1125. //
  1126. // label32
  1127. //
  1128. this->label32->AutoSize = true;
  1129. this->label32->BackColor = System::Drawing::Color::Transparent;
  1130. this->label32->Location = System::Drawing::Point(6, 68);
  1131. this->label32->Name = L"label32";
  1132. this->label32->Size = System::Drawing::Size(64, 13);
  1133. this->label32->TabIndex = 56;
  1134. this->label32->Text = L"Height (cm):";
  1135. //
  1136. // labelHeightActive
  1137. //
  1138. this->labelHeightActive->AutoSize = true;
  1139. this->labelHeightActive->BackColor = System::Drawing::Color::Transparent;
  1140. this->labelHeightActive->Location = System::Drawing::Point(90, 68);
  1141. this->labelHeightActive->Name = L"labelHeightActive";
  1142. this->labelHeightActive->Size = System::Drawing::Size(16, 13);
  1143. this->labelHeightActive->TabIndex = 57;
  1144. this->labelHeightActive->Text = L"---";
  1145. //
  1146. // label33
  1147. //
  1148. this->label33->AutoSize = true;
  1149. this->label33->BackColor = System::Drawing::Color::Transparent;
  1150. this->label33->Location = System::Drawing::Point(6, 47);
  1151. this->label33->Name = L"label33";
  1152. this->label33->Size = System::Drawing::Size(63, 13);
  1153. this->label33->TabIndex = 54;
  1154. this->label33->Text = L"Age (years):";
  1155. //
  1156. // labelAgeActive
  1157. //
  1158. this->labelAgeActive->AutoSize = true;
  1159. this->labelAgeActive->BackColor = System::Drawing::Color::Transparent;
  1160. this->labelAgeActive->Location = System::Drawing::Point(90, 47);
  1161. this->labelAgeActive->Name = L"labelAgeActive";
  1162. this->labelAgeActive->Size = System::Drawing::Size(16, 13);
  1163. this->labelAgeActive->TabIndex = 55;
  1164. this->labelAgeActive->Text = L"---";
  1165. //
  1166. // label37
  1167. //
  1168. this->label37->AutoSize = true;
  1169. this->label37->BackColor = System::Drawing::Color::Transparent;
  1170. this->label37->Location = System::Drawing::Point(6, 26);
  1171. this->label37->Name = L"label37";
  1172. this->label37->Size = System::Drawing::Size(45, 13);
  1173. this->label37->TabIndex = 52;
  1174. this->label37->Text = L"Gender:";
  1175. //
  1176. // labelGenderActive
  1177. //
  1178. this->labelGenderActive->AutoSize = true;
  1179. this->labelGenderActive->BackColor = System::Drawing::Color::Transparent;
  1180. this->labelGenderActive->Location = System::Drawing::Point(90, 26);
  1181. this->labelGenderActive->Name = L"labelGenderActive";
  1182. this->labelGenderActive->Size = System::Drawing::Size(16, 13);
  1183. this->labelGenderActive->TabIndex = 53;
  1184. this->labelGenderActive->Text = L"---";
  1185. //
  1186. // label39
  1187. //
  1188. this->label39->AutoSize = true;
  1189. this->label39->BackColor = System::Drawing::Color::Transparent;
  1190. this->label39->Location = System::Drawing::Point(6, 5);
  1191. this->label39->Name = L"label39";
  1192. this->label39->Size = System::Drawing::Size(78, 13);
  1193. this->label39->TabIndex = 50;
  1194. this->label39->Text = L"User Profile ID:";
  1195. //
  1196. // labelProfileActive2
  1197. //
  1198. this->labelProfileActive2->AutoSize = true;
  1199. this->labelProfileActive2->BackColor = System::Drawing::Color::Transparent;
  1200. this->labelProfileActive2->Location = System::Drawing::Point(90, 5);
  1201. this->labelProfileActive2->Name = L"labelProfileActive2";
  1202. this->labelProfileActive2->Size = System::Drawing::Size(16, 13);
  1203. this->labelProfileActive2->TabIndex = 51;
  1204. this->labelProfileActive2->Text = L"---";
  1205. //
  1206. // panel_Display
  1207. //
  1208. this->panel_Display->Controls->Add(this->label8);
  1209. this->panel_Display->Controls->Add(this->labelBMR);
  1210. this->panel_Display->Controls->Add(this->label_BasalMetRate);
  1211. this->panel_Display->Controls->Add(this->labelAMR);
  1212. this->panel_Display->Controls->Add(this->label_ActiveMetRate);
  1213. this->panel_Display->Controls->Add(this->label_MR);
  1214. this->panel_Display->Controls->Add(this->labelBF);
  1215. this->panel_Display->Controls->Add(this->label_BodyFat);
  1216. this->panel_Display->Controls->Add(this->labelH);
  1217. this->panel_Display->Controls->Add(this->label_Hydration);
  1218. this->panel_Display->Controls->Add(this->labelPage);
  1219. this->panel_Display->Controls->Add(this->label1);
  1220. this->panel_Display->Controls->Add(this->labelProfileActive);
  1221. this->panel_Display->Controls->Add(this->label_Trn_DisplayTitle);
  1222. this->panel_Display->Controls->Add(this->labelW1);
  1223. this->panel_Display->Controls->Add(this->labelWeight);
  1224. this->panel_Display->Location = System::Drawing::Point(58, 188);
  1225. this->panel_Display->Name = L"panel_Display";
  1226. this->panel_Display->Size = System::Drawing::Size(200, 90);
  1227. this->panel_Display->TabIndex = 1;
  1228. //
  1229. // label8
  1230. //
  1231. this->label8->AutoSize = true;
  1232. this->label8->Location = System::Drawing::Point(139, 2);
  1233. this->label8->Name = L"label8";
  1234. this->label8->Size = System::Drawing::Size(32, 13);
  1235. this->label8->TabIndex = 39;
  1236. this->label8->Text = L"Page";
  1237. //
  1238. // labelBMR
  1239. //
  1240. this->labelBMR->AutoSize = true;
  1241. this->labelBMR->BackColor = System::Drawing::Color::Transparent;
  1242. this->labelBMR->Location = System::Drawing::Point(117, 55);
  1243. this->labelBMR->Name = L"labelBMR";
  1244. this->labelBMR->Size = System::Drawing::Size(36, 13);
  1245. this->labelBMR->TabIndex = 37;
  1246. this->labelBMR->Text = L"Basal:";
  1247. //
  1248. // label_BasalMetRate
  1249. //
  1250. this->label_BasalMetRate->AutoSize = true;
  1251. this->label_BasalMetRate->BackColor = System::Drawing::Color::Transparent;
  1252. this->label_BasalMetRate->Location = System::Drawing::Point(156, 55);
  1253. this->label_BasalMetRate->Name = L"label_BasalMetRate";
  1254. this->label_BasalMetRate->Size = System::Drawing::Size(16, 13);
  1255. this->label_BasalMetRate->TabIndex = 38;
  1256. this->label_BasalMetRate->Text = L"---";
  1257. //
  1258. // labelAMR
  1259. //
  1260. this->labelAMR->AutoSize = true;
  1261. this->labelAMR->BackColor = System::Drawing::Color::Transparent;
  1262. this->labelAMR->Location = System::Drawing::Point(117, 39);
  1263. this->labelAMR->Name = L"labelAMR";
  1264. this->labelAMR->Size = System::Drawing::Size(40, 13);
  1265. this->labelAMR->TabIndex = 35;
  1266. this->labelAMR->Text = L"Active:";
  1267. //
  1268. // label_ActiveMetRate
  1269. //
  1270. this->label_ActiveMetRate->AutoSize = true;
  1271. this->label_ActiveMetRate->BackColor = System::Drawing::Color::Transparent;
  1272. this->label_ActiveMetRate->Location = System::Drawing::Point(156, 39);
  1273. this->label_ActiveMetRate->Name = L"label_ActiveMetRate";
  1274. this->label_ActiveMetRate->Size = System::Drawing::Size(16, 13);
  1275. this->label_ActiveMetRate->TabIndex = 36;
  1276. this->label_ActiveMetRate->Text = L"---";
  1277. //
  1278. // label_MR
  1279. //
  1280. this->label_MR->AutoSize = true;
  1281. this->label_MR->Location = System::Drawing::Point(119, 22);
  1282. this->label_MR->Name = L"label_MR";
  1283. this->label_MR->Size = System::Drawing::Size(80, 13);
  1284. this->label_MR->TabIndex = 34;
  1285. this->label_MR->Text = L"Met Rate (kcal)";
  1286. //
  1287. // labelBF
  1288. //
  1289. this->labelBF->AutoSize = true;
  1290. this->labelBF->BackColor = System::Drawing::Color::Transparent;
  1291. this->labelBF->Location = System::Drawing::Point(9, 55);
  1292. this->labelBF->Name = L"labelBF";
  1293. this->labelBF->Size = System::Drawing::Size(69, 13);
  1294. this->labelBF->TabIndex = 32;
  1295. this->labelBF->Text = L"Body Fat (%):";
  1296. //
  1297. // label_BodyFat
  1298. //
  1299. this->label_BodyFat->AutoSize = true;
  1300. this->label_BodyFat->BackColor = System::Drawing::Color::Transparent;
  1301. this->label_BodyFat->Location = System::Drawing::Point(82, 56);
  1302. this->label_BodyFat->Name = L"label_BodyFat";
  1303. this->label_BodyFat->Size = System::Drawing::Size(16, 13);
  1304. this->label_BodyFat->TabIndex = 33;
  1305. this->label_BodyFat->Text = L"---";
  1306. //
  1307. // labelH
  1308. //
  1309. this->labelH->AutoSize = true;
  1310. this->labelH->BackColor = System::Drawing::Color::Transparent;
  1311. this->labelH->Location = System::Drawing::Point(9, 38);
  1312. this->labelH->Name = L"labelH";
  1313. this->labelH->Size = System::Drawing::Size(72, 13);
  1314. this->labelH->TabIndex = 30;
  1315. this->labelH->Text = L"Hydration (%):";
  1316. //
  1317. // label_Hydration
  1318. //
  1319. this->label_Hydration->AutoSize = true;
  1320. this->label_Hydration->BackColor = System::Drawing::Color::Transparent;
  1321. this->label_Hydration->Location = System::Drawing::Point(82, 39);
  1322. this->label_Hydration->Name = L"label_Hydration";
  1323. this->label_Hydration->Size = System::Drawing::Size(16, 13);
  1324. this->label_Hydration->TabIndex = 31;
  1325. this->label_Hydration->Text = L"---";
  1326. //
  1327. // labelPage
  1328. //
  1329. this->labelPage->AutoSize = true;
  1330. this->labelPage->BackColor = System::Drawing::Color::Transparent;
  1331. this->labelPage->Location = System::Drawing::Point(175, 2);
  1332. this->labelPage->Name = L"labelPage";
  1333. this->labelPage->Size = System::Drawing::Size(16, 13);
  1334. this->labelPage->TabIndex = 29;
  1335. this->labelPage->Text = L"---";
  1336. //
  1337. // label1
  1338. //
  1339. this->label1->AutoSize = true;
  1340. this->label1->BackColor = System::Drawing::Color::Transparent;
  1341. this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
  1342. static_cast<System::Byte>(0)));
  1343. this->label1->Location = System::Drawing::Point(7, 73);
  1344. this->label1->Name = L"label1";
  1345. this->label1->Size = System::Drawing::Size(111, 13);
  1346. this->label1->TabIndex = 26;
  1347. this->label1->Text = L"Active User Profile ID:";
  1348. //
  1349. // labelProfileActive
  1350. //
  1351. this->labelProfileActive->AutoSize = true;
  1352. this->labelProfileActive->BackColor = System::Drawing::Color::Transparent;
  1353. this->labelProfileActive->Location = System::Drawing::Point(129, 73);
  1354. this->labelProfileActive->Name = L"labelProfileActive";
  1355. this->labelProfileActive->Size = System::Drawing::Size(16, 13);
  1356. this->labelProfileActive->TabIndex = 27;
  1357. this->labelProfileActive->Text = L"---";
  1358. //
  1359. // label_Trn_DisplayTitle
  1360. //
  1361. this->label_Trn_DisplayTitle->AutoSize = true;
  1362. this->label_Trn_DisplayTitle->BackColor = System::Drawing::Color::Transparent;
  1363. this->label_Trn_DisplayTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1364. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1365. this->label_Trn_DisplayTitle->Location = System::Drawing::Point(5, 2);
  1366. this->label_Trn_DisplayTitle->Name = L"label_Trn_DisplayTitle";
  1367. this->label_Trn_DisplayTitle->Size = System::Drawing::Size(126, 13);
  1368. this->label_Trn_DisplayTitle->TabIndex = 21;
  1369. this->label_Trn_DisplayTitle->Text = L"Current Weight Scale Tx:";
  1370. //
  1371. // labelW1
  1372. //
  1373. this->labelW1->AutoSize = true;
  1374. this->labelW1->BackColor = System::Drawing::Color::Transparent;
  1375. this->labelW1->Location = System::Drawing::Point(9, 21);
  1376. this->labelW1->Name = L"labelW1";
  1377. this->labelW1->Size = System::Drawing::Size(65, 13);
  1378. this->labelW1->TabIndex = 19;
  1379. this->labelW1->Text = L"Weight (kg):";
  1380. //
  1381. // labelWeight
  1382. //
  1383. this->labelWeight->AutoSize = true;
  1384. this->labelWeight->BackColor = System::Drawing::Color::Transparent;
  1385. this->labelWeight->Location = System::Drawing::Point(81, 21);
  1386. this->labelWeight->Name = L"labelWeight";
  1387. this->labelWeight->Size = System::Drawing::Size(16, 13);
  1388. this->labelWeight->TabIndex = 20;
  1389. this->labelWeight->Text = L"---";
  1390. //
  1391. // tabPage_UserProfile
  1392. //
  1393. this->tabPage_UserProfile->Controls->Add(this->groupBox1);
  1394. this->tabPage_UserProfile->Controls->Add(this->checkBoxUPSet);
  1395. this->tabPage_UserProfile->Controls->Add(this->label29);
  1396. this->tabPage_UserProfile->Controls->Add(this->comboBoxActivityLevel);
  1397. this->tabPage_UserProfile->Controls->Add(this->label28);
  1398. this->tabPage_UserProfile->Controls->Add(this->label27);
  1399. this->tabPage_UserProfile->Location = System::Drawing::Point(4, 22);
  1400. this->tabPage_UserProfile->Name = L"tabPage_UserProfile";
  1401. this->tabPage_UserProfile->Size = System::Drawing::Size(388, 110);
  1402. this->tabPage_UserProfile->TabIndex = 3;
  1403. this->tabPage_UserProfile->Text = L"User Profile";
  1404. this->tabPage_UserProfile->UseVisualStyleBackColor = true;
  1405. //
  1406. // groupBox1
  1407. //
  1408. this->groupBox1->Location = System::Drawing::Point(31, 37);
  1409. this->groupBox1->Name = L"groupBox1";
  1410. this->groupBox1->Size = System::Drawing::Size(87, 57);
  1411. this->groupBox1->TabIndex = 14;
  1412. this->groupBox1->TabStop = false;
  1413. this->groupBox1->Text = L"Gender";
  1414. //
  1415. // checkBoxUPSet
  1416. //
  1417. this->checkBoxUPSet->AutoSize = true;
  1418. this->checkBoxUPSet->Location = System::Drawing::Point(31, 14);
  1419. this->checkBoxUPSet->Name = L"checkBoxUPSet";
  1420. this->checkBoxUPSet->Size = System::Drawing::Size(99, 17);
  1421. this->checkBoxUPSet->TabIndex = 13;
  1422. this->checkBoxUPSet->Text = L"User Profile Set";
  1423. this->checkBoxUPSet->UseVisualStyleBackColor = true;
  1424. //
  1425. // label29
  1426. //
  1427. this->label29->AutoSize = true;
  1428. this->label29->Location = System::Drawing::Point(168, 79);
  1429. this->label29->Name = L"label29";
  1430. this->label29->Size = System::Drawing::Size(70, 13);
  1431. this->label29->TabIndex = 12;
  1432. this->label29->Text = L"Activity Level";
  1433. //
  1434. // comboBoxActivityLevel
  1435. //
  1436. this->comboBoxActivityLevel->FormattingEnabled = true;
  1437. this->comboBoxActivityLevel->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"Child", L"Sedentary", L"Low Activity",
  1438. L"Medium Activity", L"High Activity", L"Intense Activity"});
  1439. this->comboBoxActivityLevel->Location = System::Drawing::Point(259, 73);
  1440. this->comboBoxActivityLevel->Name = L"comboBoxActivityLevel";
  1441. this->comboBoxActivityLevel->Size = System::Drawing::Size(114, 21);
  1442. this->comboBoxActivityLevel->TabIndex = 11;
  1443. //
  1444. // label28
  1445. //
  1446. this->label28->AutoSize = true;
  1447. this->label28->Location = System::Drawing::Point(168, 48);
  1448. this->label28->Name = L"label28";
  1449. this->label28->Size = System::Drawing::Size(38, 13);
  1450. this->label28->TabIndex = 10;
  1451. this->label28->Text = L"Height";
  1452. //
  1453. // label27
  1454. //
  1455. this->label27->AutoSize = true;
  1456. this->label27->Location = System::Drawing::Point(168, 20);
  1457. this->label27->Name = L"label27";
  1458. this->label27->Size = System::Drawing::Size(26, 13);
  1459. this->label27->TabIndex = 8;
  1460. this->label27->Text = L"Age";
  1461. //
  1462. // tabPage_GlobalData
  1463. //
  1464. this->tabPage_GlobalData->Controls->Add(this->label12);
  1465. this->tabPage_GlobalData->Controls->Add(this->label13);
  1466. this->tabPage_GlobalData->Controls->Add(this->label14);
  1467. this->tabPage_GlobalData->Controls->Add(this->label15);
  1468. this->tabPage_GlobalData->Controls->Add(this->label16);
  1469. this->tabPage_GlobalData->Controls->Add(this->checkBox3);
  1470. this->tabPage_GlobalData->Controls->Add(this->checkBox4);
  1471. this->tabPage_GlobalData->Controls->Add(this->button2);
  1472. this->tabPage_GlobalData->Controls->Add(this->label17);
  1473. this->tabPage_GlobalData->Controls->Add(this->label18);
  1474. this->tabPage_GlobalData->Controls->Add(this->label19);
  1475. this->tabPage_GlobalData->Controls->Add(this->textboxSerialNum);
  1476. this->tabPage_GlobalData->Controls->Add(this->textboxSwVer);
  1477. this->tabPage_GlobalData->Controls->Add(this->label20);
  1478. this->tabPage_GlobalData->Controls->Add(this->label21);
  1479. this->tabPage_GlobalData->Controls->Add(this->label22);
  1480. this->tabPage_GlobalData->Controls->Add(this->textboxHwVer);
  1481. this->tabPage_GlobalData->Controls->Add(this->textboxModelNum);
  1482. this->tabPage_GlobalData->Controls->Add(this->textboxMfgID);
  1483. this->tabPage_GlobalData->Location = System::Drawing::Point(4, 22);
  1484. this->tabPage_GlobalData->Name = L"tabPage_GlobalData";
  1485. this->tabPage_GlobalData->Padding = System::Windows::Forms::Padding(3);
  1486. this->tabPage_GlobalData->Size = System::Drawing::Size(388, 110);
  1487. this->tabPage_GlobalData->TabIndex = 2;
  1488. this->tabPage_GlobalData->Text = L"Global Data";
  1489. this->tabPage_GlobalData->UseVisualStyleBackColor = true;
  1490. //
  1491. // label12
  1492. //
  1493. this->label12->Location = System::Drawing::Point(275, 51);
  1494. this->label12->Name = L"label12";
  1495. this->label12->Size = System::Drawing::Size(27, 13);
  1496. this->label12->TabIndex = 16;
  1497. this->label12->Text = L"1";
  1498. //
  1499. // label13
  1500. //
  1501. this->label13->Location = System::Drawing::Point(228, 27);
  1502. this->label13->Name = L"label13";
  1503. this->label13->Size = System::Drawing::Size(71, 13);
  1504. this->label13->TabIndex = 11;
  1505. this->label13->Text = L"1234567890";
  1506. //
  1507. // label14
  1508. //
  1509. this->label14->Location = System::Drawing::Point(81, 76);
  1510. this->label14->Name = L"label14";
  1511. this->label14->Size = System::Drawing::Size(27, 13);
  1512. this->label14->TabIndex = 14;
  1513. this->label14->Text = L"1";
  1514. //
  1515. // label15
  1516. //
  1517. this->label15->Location = System::Drawing::Point(67, 52);
  1518. this->label15->Name = L"label15";
  1519. this->label15->Size = System::Drawing::Size(42, 13);
  1520. this->label15->TabIndex = 9;
  1521. this->label15->Text = L"33669";
  1522. //
  1523. // label16
  1524. //
  1525. this->label16->Location = System::Drawing::Point(69, 27);
  1526. this->label16->Name = L"label16";
  1527. this->label16->Size = System::Drawing::Size(38, 13);
  1528. this->label16->TabIndex = 8;
  1529. this->label16->Text = L"2";
  1530. //
  1531. // checkBox3
  1532. //
  1533. this->checkBox3->AutoSize = true;
  1534. this->checkBox3->Checked = true;
  1535. this->checkBox3->CheckState = System::Windows::Forms::CheckState::Checked;
  1536. this->checkBox3->Enabled = false;
  1537. this->checkBox3->Location = System::Drawing::Point(205, 6);
  1538. this->checkBox3->Name = L"checkBox3";
  1539. this->checkBox3->Size = System::Drawing::Size(148, 17);
  1540. this->checkBox3->TabIndex = 46;
  1541. this->checkBox3->Text = L"Enable Product Info Page";
  1542. this->checkBox3->UseVisualStyleBackColor = true;
  1543. //
  1544. // checkBox4
  1545. //
  1546. this->checkBox4->AutoSize = true;
  1547. this->checkBox4->Checked = true;
  1548. this->checkBox4->CheckState = System::Windows::Forms::CheckState::Checked;
  1549. this->checkBox4->Enabled = false;
  1550. this->checkBox4->Location = System::Drawing::Point(6, 6);
  1551. this->checkBox4->Name = L"checkBox4";
  1552. this->checkBox4->Size = System::Drawing::Size(184, 17);
  1553. this->checkBox4->TabIndex = 42;
  1554. this->checkBox4->Text = L"Enable Manufacturing Data Page";
  1555. this->checkBox4->UseVisualStyleBackColor = true;
  1556. //
  1557. // button2
  1558. //
  1559. this->button2->Location = System::Drawing::Point(179, 74);
  1560. this->button2->Name = L"button2";
  1561. this->button2->Size = System::Drawing::Size(97, 20);
  1562. this->button2->TabIndex = 49;
  1563. this->button2->Text = L"Update All";
  1564. this->button2->UseVisualStyleBackColor = true;
  1565. //
  1566. // label17
  1567. //
  1568. this->label17->AutoSize = true;
  1569. this->label17->Location = System::Drawing::Point(180, 95);
  1570. this->label17->Name = L"label17";
  1571. this->label17->Size = System::Drawing::Size(32, 13);
  1572. this->label17->TabIndex = 20;
  1573. this->label17->Text = L"Error:";
  1574. this->label17->Visible = false;
  1575. //
  1576. // label18
  1577. //
  1578. this->label18->AutoSize = true;
  1579. this->label18->Location = System::Drawing::Point(198, 51);
  1580. this->label18->Name = L"label18";
  1581. this->label18->Size = System::Drawing::Size(71, 13);
  1582. this->label18->TabIndex = 4;
  1583. this->label18->Text = L"Software Ver:";
  1584. //
  1585. // label19
  1586. //
  1587. this->label19->AutoSize = true;
  1588. this->label19->Location = System::Drawing::Point(6, 76);
  1589. this->label19->Name = L"label19";
  1590. this->label19->Size = System::Drawing::Size(75, 13);
  1591. this->label19->TabIndex = 3;
  1592. this->label19->Text = L"Hardware Ver:";
  1593. //
  1594. // textboxSerialNum
  1595. //
  1596. this->textboxSerialNum->Location = System::Drawing::Point(303, 24);
  1597. this->textboxSerialNum->MaxLength = 10;
  1598. this->textboxSerialNum->Name = L"textboxSerialNum";
  1599. this->textboxSerialNum->Size = System::Drawing::Size(76, 20);
  1600. this->textboxSerialNum->TabIndex = 47;
  1601. this->textboxSerialNum->Text = L"1234567890";
  1602. //
  1603. // textboxSwVer
  1604. //
  1605. this->textboxSwVer->Location = System::Drawing::Point(303, 48);
  1606. this->textboxSwVer->MaxLength = 3;
  1607. this->textboxSwVer->Name = L"textboxSwVer";
  1608. this->textboxSwVer->Size = System::Drawing::Size(29, 20);
  1609. this->textboxSwVer->TabIndex = 48;
  1610. this->textboxSwVer->Text = L"1";
  1611. //
  1612. // label20
  1613. //
  1614. this->label20->AutoSize = true;
  1615. this->label20->Location = System::Drawing::Point(176, 27);
  1616. this->label20->Name = L"label20";
  1617. this->label20->Size = System::Drawing::Size(46, 13);
  1618. this->label20->TabIndex = 2;
  1619. this->label20->Text = L"Serial #:";
  1620. //
  1621. // label21
  1622. //
  1623. this->label21->AutoSize = true;
  1624. this->label21->Location = System::Drawing::Point(18, 27);
  1625. this->label21->Name = L"label21";
  1626. this->label21->Size = System::Drawing::Size(51, 13);
  1627. this->label21->TabIndex = 1;
  1628. this->label21->Text = L"Manf. ID:";
  1629. //
  1630. // label22
  1631. //
  1632. this->label22->AutoSize = true;
  1633. this->label22->Location = System::Drawing::Point(18, 52);
  1634. this->label22->Name = L"label22";
  1635. this->label22->Size = System::Drawing::Size(49, 13);
  1636. this->label22->TabIndex = 5;
  1637. this->label22->Text = L"Model #:";
  1638. //
  1639. // textboxHwVer
  1640. //
  1641. this->textboxHwVer->Location = System::Drawing::Point(110, 73);
  1642. this->textboxHwVer->MaxLength = 3;
  1643. this->textboxHwVer->Name = L"textboxHwVer";
  1644. this->textboxHwVer->Size = System::Drawing::Size(29, 20);
  1645. this->textboxHwVer->TabIndex = 45;
  1646. this->textboxHwVer->Text = L"1";
  1647. //
  1648. // textboxModelNum
  1649. //
  1650. this->textboxModelNum->Location = System::Drawing::Point(110, 49);
  1651. this->textboxModelNum->MaxLength = 5;
  1652. this->textboxModelNum->Name = L"textboxModelNum";
  1653. this->textboxModelNum->Size = System::Drawing::Size(49, 20);
  1654. this->textboxModelNum->TabIndex = 44;
  1655. this->textboxModelNum->Text = L"33669";
  1656. //
  1657. // textboxMfgID
  1658. //
  1659. this->textboxMfgID->Location = System::Drawing::Point(110, 24);
  1660. this->textboxMfgID->MaxLength = 5;
  1661. this->textboxMfgID->Name = L"textboxMfgID";
  1662. this->textboxMfgID->Size = System::Drawing::Size(49, 20);
  1663. this->textboxMfgID->TabIndex = 43;
  1664. this->textboxMfgID->Text = L"2";
  1665. //
  1666. // WeightScaleDisplay
  1667. //
  1668. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1669. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1670. this->ClientSize = System::Drawing::Size(794, 351);
  1671. this->Controls->Add(this->panel_Display);
  1672. this->Controls->Add(this->panel_Settings);
  1673. this->Name = L"WeightScaleDisplay";
  1674. this->Text = L"Weight Scale";
  1675. this->panel_Settings->ResumeLayout(false);
  1676. this->tabControl1->ResumeLayout(false);
  1677. this->tabPage2->ResumeLayout(false);
  1678. this->tabPage2->PerformLayout();
  1679. this->tabPage_DataPages->ResumeLayout(false);
  1680. this->tabPage_DataPages->PerformLayout();
  1681. this->tabPage_GlobalBattery->ResumeLayout(false);
  1682. this->tabPage_GlobalBattery->PerformLayout();
  1683. this->tabPage_CustomProfile->ResumeLayout(false);
  1684. this->tabPage_CustomProfile->PerformLayout();
  1685. this->groupBoxAthlete->ResumeLayout(false);
  1686. this->groupBoxAthlete->PerformLayout();
  1687. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownActivityLevel))->EndInit();
  1688. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownProfile))->EndInit();
  1689. this->groupBox2->ResumeLayout(false);
  1690. this->groupBox2->PerformLayout();
  1691. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownHeight))->EndInit();
  1692. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownAge))->EndInit();
  1693. this->tabPage_ActiveProfile->ResumeLayout(false);
  1694. this->tabPage_ActiveProfile->PerformLayout();
  1695. this->panel_Display->ResumeLayout(false);
  1696. this->panel_Display->PerformLayout();
  1697. this->tabPage_UserProfile->ResumeLayout(false);
  1698. this->tabPage_UserProfile->PerformLayout();
  1699. this->tabPage_GlobalData->ResumeLayout(false);
  1700. this->tabPage_GlobalData->PerformLayout();
  1701. this->ResumeLayout(false);
  1702. }
  1703. #pragma endregion
  1704. private:
  1705. System::Void WeightScaleDisplay::numericUpDownProfile_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1706. {
  1707. SelectCustomProfile();
  1708. }
  1709. System::Void WeightScaleDisplay::radioButtonFemale_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1710. {
  1711. SelectCustomProfile();
  1712. }
  1713. System::Void WeightScaleDisplay::radioButtonMale_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1714. {
  1715. SelectCustomProfile();
  1716. }
  1717. System::Void WeightScaleDisplay::numericUpDownAge_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1718. {
  1719. SelectCustomProfile();
  1720. }
  1721. System::Void WeightScaleDisplay::numericUpDownHeight_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1722. {
  1723. SelectCustomProfile();
  1724. }
  1725. System::Void WeightScaleDisplay::numericUpDownActivtyLevel_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1726. {
  1727. SelectCustomProfile();
  1728. }
  1729. System::Void WeightScaleDisplay::radioButtonAthleteTrue_CheckChanged(System::Object^ sender, System::EventArgs^ e)
  1730. {
  1731. SelectCustomProfile();
  1732. }
  1733. System::Void WeightScaleDisplay::radioButtonAthleteFalse_CheckChanged(System::Object^ sender, System::EventArgs^ e)
  1734. {
  1735. SelectCustomProfile();
  1736. }
  1737. };