示例#1
0
 public Electricity()
 {
     InitializeComponent();
     pageNames = new Pages();
     bill = new Bill();
     MainWindow = new DEACT();
 }
示例#2
0
 public Electricity()
 {
     InitializeComponent();
     pageNames = new Pages();
     bill = new Bill();
     MainWindow = new DEACT();
     //-------------------------------
     lbl_UsagePerc.Text = "80%";
     clrBtn = Color.LightGray;
 }
示例#3
0
 public CurrentUsage()
 {
     InitializeComponent();
     prgBr_Elec.Value = 40;
     lbl_elec_perc.Text = prgBr_Elec.Value.ToString() + "%";
     prgBr_Heating.Value = 35;
     lbl_Heating_perc.Text = prgBr_Heating.Value.ToString() + "%";
     prgBrHtWtr.Value = 20;
     lbl_HtWtr_perc.Text = prgBrHtWtr.Value.ToString() + "%";
     prgBr_Security.Value = 5;
     lbl_Sec_perc.Text = prgBr_Security.Value.ToString() + "%";
     m_mw = new DEACT();
 }
示例#4
0
 public Hot_Water()
 {
     InitializeComponent();
     mainWnd = new DEACT();
     lbl_CurrentPage.Text = m_page.PageNameCallback((int)EPageNumbers.HotWater);
 }
示例#5
0
 public Security()
 {
     InitializeComponent();
     mainWnd = new DEACT();
 }
示例#6
0
 public Hot_Water()
 {
     InitializeComponent();
     m_MainWnd = new DEACT();
 }
示例#7
0
 public Heating()
 {
     InitializeComponent();
     lbl_CurrentPage.Location = new Point((this.Width / 2) - 51, 430);
     m_mainWnd = new DEACT();
 }
示例#8
0
 public Settings()
 {
     InitializeComponent();
     mainWnd = new DEACT();
     StartTheMusicPlayer();
 }
示例#9
0
 private void Heating_FormClosing(object sender, FormClosingEventArgs e)
 {
     m_mainWnd = new DEACT();
     m_mainWnd.Show();
 }
示例#10
0
 public Monitor()
 {
     InitializeComponent();
     mainWnd = new DEACT();
 }
示例#11
0
 public Weather()
 {
     InitializeComponent();
     mainWnd = new DEACT();
     randomNr = new Random();
 }