Exemplo n.º 1
0
        private void guncelleBtn_Click(object sender, EventArgs e)
        {
            GostergePaneli gosterge    = new GostergePaneli();
            string         aText       = gosterge.aDegerDuzeltmeLbl.Text;
            string         cText       = gosterge.cDegerDuzeltmeLbl.Text;
            double         aBanyoDeger = Convert.ToDouble(aBanyo.Text);
            double         cBanyoDeger = Convert.ToDouble(cBanyo.Text);

            if (aBanyoDeger == 0 && cBanyoDeger == 0)
            {
                //HİÇBİR ŞEY OLMADAN ÇIK
            }
            else if (aBanyoDeger == 0 && cBanyoDeger > 0 && cText == "BANYO NORMAL")
            {
                //label19.Text = "BURDAYIM";
            }
        }
Exemplo n.º 2
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked == true)
     {
         aOlculenBanyoLbl.Visible = false;
         aBanyo.Visible           = false;
         aOtomatik = true;
         GostergePaneli gostergePaneli = new GostergePaneli();
         gostergePaneli.aOtoDurum.Visible = true;
     }
     else
     {
         aOlculenBanyoLbl.Visible = true;
         aBanyo.Visible           = true;
         aOtomatik = false;
         GostergePaneli gostergePaneli = new GostergePaneli();
         gostergePaneli.aOtoDurum.Visible = false;
     }
 }
Exemplo n.º 3
0
        private void göstergePaneliToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GostergePaneli gostergePaneli = new GostergePaneli();

            gostergePaneli.Show();
        }