Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApp27
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void btnKlik_Click(object sender, EventArgs e)
- {
- if (chkBox1.Checked && chkBox2.Checked && chkBox3.Checked)
- {
- lblSvar.Text = "Du har alle tre dyr. Tillykke med det.";
- }
- else
- {
- lblSvar.Text = "Ăb bøv. Du har ikke alle 3 dyr.";
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement