public Form1() { InitializeComponent(); CheckForIllegalCrossThreadCalls = false; coins = new List <CoinData>(); //standaard state state = new SortState(); }
private void button2_Click(object sender, EventArgs e) { state = new FilterState(); state.Handle(this); }
private void button1_Click(object sender, EventArgs e) { state = new SortState(); state.Handle(this); }