Exemple #1
0
        public static void NoConnectionMsg()
        {
            //Check if internet is ok
            WithoutInternetConnection NoConnection = new WithoutInternetConnection();

            if (!InternetAvailability.IsInternetAvailable())
            {
                NoConnection.ShowDialog();
            }
        }
 private void Form1_Load(object sender, EventArgs e)
 {
     WithoutInternetConnection.NoConnectionMsg();
 }