public void openSmileyWindow(object sender, EventArgs e) { SmileyWindow window = new SmileyWindow(smileyClass); window.Show(); }