Example #1
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(monitor));

            this.lbconsumptionTitle   = new Label();
            this.tbCarbonfootprint    = new TextBox();
            this.lbCarbonfootprint    = new Label();
            this.tbTotalPower         = new TextBox();
            this.lbTotalPower         = new Label();
            this.lbperformanceTitle   = new Label();
            this.tableLayoutPanel1    = new TableLayoutPanel();
            this.tableLayoutPanel2    = new TableLayoutPanel();
            this.monMeterRTI          = new MonMeter();
            this.monMeterPUE          = new MonMeter();
            this.monMeterRCILo        = new MonMeter();
            this.monMeterRCIHi        = new MonMeter();
            this.tblNormal            = new TableLayoutPanel();
            this.tableLayoutPanel4    = new TableLayoutPanel();
            this.tableLayoutPanel5    = new TableLayoutPanel();
            this.tableLayoutPanel6    = new TableLayoutPanel();
            this.devManDCFloorGrid1   = new DG.DevManDCFloorGrid();
            this.tblISG               = new TableLayoutPanel();
            this.tableLayoutPanel10   = new TableLayoutPanel();
            this.tbCarbonfootprintISG = new TextBox();
            this.label4               = new Label();
            this.label1               = new Label();
            this.tableLayoutPanel8    = new TableLayoutPanel();
            this.tbTotalPowerISG      = new TextBox();
            this.label2               = new Label();
            this.tableLayoutPanel9    = new TableLayoutPanel();
            this.tbITotalPowerISG     = new TextBox();
            this.label3               = new Label();
            this.tableLayoutPanel1.SuspendLayout();
            this.tableLayoutPanel2.SuspendLayout();
            this.tblNormal.SuspendLayout();
            this.tableLayoutPanel4.SuspendLayout();
            this.tableLayoutPanel5.SuspendLayout();
            this.tableLayoutPanel6.SuspendLayout();
            this.tblISG.SuspendLayout();
            this.tableLayoutPanel10.SuspendLayout();
            this.tableLayoutPanel8.SuspendLayout();
            this.tableLayoutPanel9.SuspendLayout();
            base.SuspendLayout();
            this.lbconsumptionTitle.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.lbconsumptionTitle, "lbconsumptionTitle");
            this.lbconsumptionTitle.ForeColor = Color.FromArgb(20, 73, 160);
            this.lbconsumptionTitle.Name      = "lbconsumptionTitle";
            componentResourceManager.ApplyResources(this.tbCarbonfootprint, "tbCarbonfootprint");
            this.tbCarbonfootprint.Name     = "tbCarbonfootprint";
            this.tbCarbonfootprint.ReadOnly = true;
            componentResourceManager.ApplyResources(this.lbCarbonfootprint, "lbCarbonfootprint");
            this.lbCarbonfootprint.ForeColor = Color.Black;
            this.lbCarbonfootprint.Name      = "lbCarbonfootprint";
            componentResourceManager.ApplyResources(this.tbTotalPower, "tbTotalPower");
            this.tbTotalPower.Name     = "tbTotalPower";
            this.tbTotalPower.ReadOnly = true;
            componentResourceManager.ApplyResources(this.lbTotalPower, "lbTotalPower");
            this.lbTotalPower.ForeColor       = Color.Black;
            this.lbTotalPower.Name            = "lbTotalPower";
            this.lbperformanceTitle.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.lbperformanceTitle, "lbperformanceTitle");
            this.lbperformanceTitle.ForeColor = Color.FromArgb(20, 73, 160);
            this.lbperformanceTitle.Name      = "lbperformanceTitle";
            componentResourceManager.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
            this.tableLayoutPanel1.BackColor = Color.Gainsboro;
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.lbperformanceTitle, 0, 0);
            this.tableLayoutPanel1.GrowStyle   = TableLayoutPanelGrowStyle.FixedSize;
            this.tableLayoutPanel1.MaximumSize = new Size(534, 182);
            this.tableLayoutPanel1.MinimumSize = new Size(534, 182);
            this.tableLayoutPanel1.Name        = "tableLayoutPanel1";
            componentResourceManager.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
            this.tableLayoutPanel2.Controls.Add(this.monMeterRTI, 1, 0);
            this.tableLayoutPanel2.Controls.Add(this.monMeterPUE, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.monMeterRCILo, 3, 0);
            this.tableLayoutPanel2.Controls.Add(this.monMeterRCIHi, 2, 0);
            this.tableLayoutPanel2.GrowStyle   = TableLayoutPanelGrowStyle.FixedSize;
            this.tableLayoutPanel2.MaximumSize = new Size(530, 144);
            this.tableLayoutPanel2.MinimumSize = new Size(530, 144);
            this.tableLayoutPanel2.Name        = "tableLayoutPanel2";
            this.monMeterRTI.BackColor         = Color.Transparent;
            componentResourceManager.ApplyResources(this.monMeterRTI, "monMeterRTI");
            this.monMeterRTI.Name      = "monMeterRTI";
            this.monMeterPUE.BackColor = Color.Transparent;
            componentResourceManager.ApplyResources(this.monMeterPUE, "monMeterPUE");
            this.monMeterPUE.Name        = "monMeterPUE";
            this.monMeterRCILo.BackColor = Color.Transparent;
            componentResourceManager.ApplyResources(this.monMeterRCILo, "monMeterRCILo");
            this.monMeterRCILo.Name      = "monMeterRCILo";
            this.monMeterRCIHi.BackColor = Color.Transparent;
            componentResourceManager.ApplyResources(this.monMeterRCIHi, "monMeterRCIHi");
            this.monMeterRCIHi.Name  = "monMeterRCIHi";
            this.tblNormal.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.tblNormal, "tblNormal");
            this.tblNormal.Controls.Add(this.lbconsumptionTitle, 0, 0);
            this.tblNormal.Controls.Add(this.tableLayoutPanel4, 0, 1);
            this.tblNormal.Controls.Add(this.tableLayoutPanel5, 0, 2);
            this.tblNormal.Name = "tblNormal";
            componentResourceManager.ApplyResources(this.tableLayoutPanel4, "tableLayoutPanel4");
            this.tableLayoutPanel4.Controls.Add(this.tbTotalPower, 1, 0);
            this.tableLayoutPanel4.Controls.Add(this.lbTotalPower, 0, 0);
            this.tableLayoutPanel4.Name = "tableLayoutPanel4";
            componentResourceManager.ApplyResources(this.tableLayoutPanel5, "tableLayoutPanel5");
            this.tableLayoutPanel5.Controls.Add(this.tbCarbonfootprint, 1, 0);
            this.tableLayoutPanel5.Controls.Add(this.lbCarbonfootprint, 0, 0);
            this.tableLayoutPanel5.Name      = "tableLayoutPanel5";
            this.tableLayoutPanel6.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.tableLayoutPanel6, "tableLayoutPanel6");
            this.tableLayoutPanel6.Controls.Add(this.devManDCFloorGrid1, 0, 0);
            this.tableLayoutPanel6.Name       = "tableLayoutPanel6";
            this.devManDCFloorGrid1.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.devManDCFloorGrid1, "devManDCFloorGrid1");
            this.devManDCFloorGrid1.Name = "devManDCFloorGrid1";
            this.tblISG.BackColor        = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.tblISG, "tblISG");
            this.tblISG.Controls.Add(this.tableLayoutPanel10, 0, 3);
            this.tblISG.Controls.Add(this.label1, 0, 0);
            this.tblISG.Controls.Add(this.tableLayoutPanel8, 0, 1);
            this.tblISG.Controls.Add(this.tableLayoutPanel9, 0, 2);
            this.tblISG.Name = "tblISG";
            componentResourceManager.ApplyResources(this.tableLayoutPanel10, "tableLayoutPanel10");
            this.tableLayoutPanel10.Controls.Add(this.tbCarbonfootprintISG, 1, 0);
            this.tableLayoutPanel10.Controls.Add(this.label4, 0, 0);
            this.tableLayoutPanel10.Name = "tableLayoutPanel10";
            componentResourceManager.ApplyResources(this.tbCarbonfootprintISG, "tbCarbonfootprintISG");
            this.tbCarbonfootprintISG.Name     = "tbCarbonfootprintISG";
            this.tbCarbonfootprintISG.ReadOnly = true;
            componentResourceManager.ApplyResources(this.label4, "label4");
            this.label4.ForeColor = Color.Black;
            this.label4.Name      = "label4";
            this.label1.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.label1, "label1");
            this.label1.ForeColor = Color.FromArgb(20, 73, 160);
            this.label1.Name      = "label1";
            componentResourceManager.ApplyResources(this.tableLayoutPanel8, "tableLayoutPanel8");
            this.tableLayoutPanel8.Controls.Add(this.tbTotalPowerISG, 1, 0);
            this.tableLayoutPanel8.Controls.Add(this.label2, 0, 0);
            this.tableLayoutPanel8.Name = "tableLayoutPanel8";
            componentResourceManager.ApplyResources(this.tbTotalPowerISG, "tbTotalPowerISG");
            this.tbTotalPowerISG.Name     = "tbTotalPowerISG";
            this.tbTotalPowerISG.ReadOnly = true;
            componentResourceManager.ApplyResources(this.label2, "label2");
            this.label2.ForeColor = Color.Black;
            this.label2.Name      = "label2";
            componentResourceManager.ApplyResources(this.tableLayoutPanel9, "tableLayoutPanel9");
            this.tableLayoutPanel9.Controls.Add(this.tbITotalPowerISG, 1, 0);
            this.tableLayoutPanel9.Controls.Add(this.label3, 0, 0);
            this.tableLayoutPanel9.Name = "tableLayoutPanel9";
            componentResourceManager.ApplyResources(this.tbITotalPowerISG, "tbITotalPowerISG");
            this.tbITotalPowerISG.Name     = "tbITotalPowerISG";
            this.tbITotalPowerISG.ReadOnly = true;
            componentResourceManager.ApplyResources(this.label3, "label3");
            this.label3.ForeColor = Color.Black;
            this.label3.Name      = "label3";
            base.AutoScaleMode    = AutoScaleMode.None;
            this.BackColor        = Color.White;
            componentResourceManager.ApplyResources(this, "$this");
            base.Controls.Add(this.tableLayoutPanel6);
            base.Controls.Add(this.tableLayoutPanel1);
            base.Controls.Add(this.tblNormal);
            base.Controls.Add(this.tblISG);
            base.Name         = "monitor";
            base.FormClosing += new FormClosingEventHandler(this.monitor_FormClosing);
            base.SizeChanged += new System.EventHandler(this.monitor_SizeChanged);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel2.ResumeLayout(false);
            this.tblNormal.ResumeLayout(false);
            this.tableLayoutPanel4.ResumeLayout(false);
            this.tableLayoutPanel4.PerformLayout();
            this.tableLayoutPanel5.ResumeLayout(false);
            this.tableLayoutPanel5.PerformLayout();
            this.tableLayoutPanel6.ResumeLayout(false);
            this.tblISG.ResumeLayout(false);
            this.tableLayoutPanel10.ResumeLayout(false);
            this.tableLayoutPanel10.PerformLayout();
            this.tableLayoutPanel8.ResumeLayout(false);
            this.tableLayoutPanel8.PerformLayout();
            this.tableLayoutPanel9.ResumeLayout(false);
            this.tableLayoutPanel9.PerformLayout();
            base.ResumeLayout(false);
        }
Example #2
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(DashBoardUser));

            this.tableLayoutPanel1 = new TableLayoutPanel();
            this.btnthreshold      = new Button();
            this.panel3            = new Panel();
            this.panelImgStatus    = new Panel();
            this.lblstatus1        = new Label();
            this.lblstatus2        = new Label();
            this.lblstatus3        = new Label();
            this.lblstatus4        = new Label();
            this.pic                = new PictureBox();
            this.label9             = new Label();
            this.panel1             = new Panel();
            this.palboard           = new Panel();
            this.devManDCFloorGrid1 = new EcoSensors.DevManDCFloorGrid.DevManDCFloorGrid();
            this.tableLayoutPanel1.SuspendLayout();
            this.panel3.SuspendLayout();
            this.panelImgStatus.SuspendLayout();
            ((ISupportInitialize)this.pic).BeginInit();
            this.panel1.SuspendLayout();
            this.palboard.SuspendLayout();
            base.SuspendLayout();
            this.tableLayoutPanel1.BackColor = Color.Silver;
            componentResourceManager.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
            this.tableLayoutPanel1.Controls.Add(this.btnthreshold, 0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.btnthreshold.BackColor = SystemColors.Control;
            componentResourceManager.ApplyResources(this.btnthreshold, "btnthreshold");
            this.btnthreshold.Name = "btnthreshold";
            this.btnthreshold.UseVisualStyleBackColor = false;
            this.panel3.BackColor = Color.White;
            this.panel3.Controls.Add(this.panelImgStatus);
            this.panel3.Controls.Add(this.label9);
            componentResourceManager.ApplyResources(this.panel3, "panel3");
            this.panel3.Name = "panel3";
            this.panelImgStatus.Controls.Add(this.lblstatus1);
            this.panelImgStatus.Controls.Add(this.lblstatus2);
            this.panelImgStatus.Controls.Add(this.lblstatus3);
            this.panelImgStatus.Controls.Add(this.lblstatus4);
            this.panelImgStatus.Controls.Add(this.pic);
            componentResourceManager.ApplyResources(this.panelImgStatus, "panelImgStatus");
            this.panelImgStatus.Name = "panelImgStatus";
            componentResourceManager.ApplyResources(this.lblstatus1, "lblstatus1");
            this.lblstatus1.Name = "lblstatus1";
            componentResourceManager.ApplyResources(this.lblstatus2, "lblstatus2");
            this.lblstatus2.Name = "lblstatus2";
            componentResourceManager.ApplyResources(this.lblstatus3, "lblstatus3");
            this.lblstatus3.Name = "lblstatus3";
            componentResourceManager.ApplyResources(this.lblstatus4, "lblstatus4");
            this.lblstatus4.Name = "lblstatus4";
            this.pic.Image       = Resources.Img650x75;
            componentResourceManager.ApplyResources(this.pic, "pic");
            this.pic.Name    = "pic";
            this.pic.TabStop = false;
            componentResourceManager.ApplyResources(this.label9, "label9");
            this.label9.Name = "label9";
            this.panel1.Controls.Add(this.palboard);
            componentResourceManager.ApplyResources(this.panel1, "panel1");
            this.panel1.Name        = "panel1";
            this.palboard.BackColor = Color.White;
            this.palboard.Controls.Add(this.devManDCFloorGrid1);
            componentResourceManager.ApplyResources(this.palboard, "palboard");
            this.palboard.Name = "palboard";
            this.devManDCFloorGrid1.BackColor = Color.White;
            componentResourceManager.ApplyResources(this.devManDCFloorGrid1, "devManDCFloorGrid1");
            this.devManDCFloorGrid1.Name    = "devManDCFloorGrid1";
            this.devManDCFloorGrid1.TabStop = false;
            base.AutoScaleMode = AutoScaleMode.None;
            this.BackColor     = Color.WhiteSmoke;
            base.Controls.Add(this.panel1);
            base.Controls.Add(this.panel3);
            base.Controls.Add(this.tableLayoutPanel1);
            componentResourceManager.ApplyResources(this, "$this");
            base.Name = "DashBoardUser";
            this.tableLayoutPanel1.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.panelImgStatus.ResumeLayout(false);
            ((ISupportInitialize)this.pic).EndInit();
            this.panel1.ResumeLayout(false);
            this.palboard.ResumeLayout(false);
            base.ResumeLayout(false);
        }