private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     MarketWindow.instance = null;
 }
 public static MarketWindow ReturnInstance(User u)
 {
     if (MarketWindow.instance == null)
         MarketWindow.instance = new MarketWindow(u);
     return MarketWindow.instance;
 }