public static Connection GetInstance()
 {
     if(Connection.connection == null){
         Connection.connection = new Connection();
     }
     return Connection.connection;
 }
 public MainForm()
 {
     InitializeComponent();
     connection = Connection.GetInstance();
 }