private void button1_Click(object sender, EventArgs e) { var creator = new QuipCreator(); creator.init(quips, mainScreen, this); creator.Show(); }
private void listBox1_DoubleClick(object sender, EventArgs e) { var selectedItem = listBox1.SelectedItem; var creator = new QuipCreator(); creator.init(quips, mainScreen, this, (Quip)selectedItem); creator.Show(); }