예제 #1
0
 private void btnWarenkorb_Click(object sender, EventArgs e)
 {
     if (frmWk != null)
     {
         frmWk.BringToFront();
     }
     else
     {
         btnWarenkorb.BackColor = btnForeColor;
         btnWarenkorb.ForeColor = btnBackColor;
         frmWk      = new frmWarenkorb();
         frmWk.Text = "Warenkorb";
         frmWk.Show();
     }
 }
예제 #2
0
        private void btnWarenkorb_Click(object sender, EventArgs e)
        {
            if (frmWar != null)
            {
                frmWar.BringToFront();
            }

            else
            {
                btnWarenkorb.BackColor = Color.White;
                btnWarenkorb.ForeColor = buttonC;
                frmWar      = new frmWarenkorb();
                frmWar.Text = "Warenkorb";
                frmWar.Show();
            }
        }