public DatabaseModel(string connectionString) { connection = new SqlConnection(); connection.ConnectionString = connectionString; command = new SqlCommand(); command.Connection = connection; json = new JsonParserController(); }
public MainForm() { InitializeComponent(); parser = new JsonParserController(); this.label1.Text = parser.CheckForInternetConnection(); }