Пример #1
0
 public DatabaseModel(string connectionString)
 {
     connection = new SqlConnection();
     connection.ConnectionString = connectionString;
     command            = new SqlCommand();
     command.Connection = connection;
     json = new JsonParserController();
 }
Пример #2
0
 public MainForm()
 {
     InitializeComponent();
     parser           = new JsonParserController();
     this.label1.Text = parser.CheckForInternetConnection();
 }