private void closeEvent(object sender, EventArgs e)
 {
     instance = null;
 }
 public TableWindow(Beaker beaker)
 {
     instance = this;
     Closed  += closeEvent;
     InitializeComponent();
 }