public frm_Location() { InitializeComponent(); var settings = new CefSharp.WinForms.CefSettings(); settings.LogSeverity = LogSeverity.Verbose; settings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache"); Cef.Initialize(settings); //chromiumWebBrowser1.InitializeLifetimeService(); //lat = "+36.026453"; //lon = "-102.08660"; //urlb = "https://www.google.com/maps/@" + lat + "," + lon + ",17.75z"; splashScreenManager2.ShowWaitForm(); // This line of code is generated by Data Source Configuration Wizard // Fill the SqlDataSource asynchronously SDS_Entities.Fill(); // This line of code is generated by Data Source Configuration Wizard // Fill the SqlDataSource asynchronously SDS_Cities.Fill(); // This line of code is generated by Data Source Configuration Wizard // Fill the SqlDataSource asynchronously SDS_entitiesGrid.Fill(); // This line of code is generated by Data Source Configuration Wizard // Fill the SqlDataSource asynchronously SDS_States.Fill(); splashScreenManager2.CloseWaitForm(); //toastNotificationsManager1.Notifications[0].Body = "A"; ////toastNotificationsManager1.Notifications[0].Body2 = "B"; //toastNotificationsManager1.Notifications[0].Header = "C"; //toastNotificationsManager1.ShowNotification(toastNotificationsManager1.Notifications[0]); }
private void simpleButton1_Click(object sender, EventArgs e) { SDS_entitiesGrid.Fill(); }