// Button to call server
        async public void Open_CallServer(object sender, RoutedEventArgs e)
        {
            Window window = new Window
            {
                Title   = "Call Server",
                Content = Switcher.GetSuccessServer(),
                Height  = 200,
                Width   = 200
            };

            //this.IsEnabled = false;

            window.Show();

            await Task.Run(() =>
            {
                Thread.Sleep(2000);
            });

            window.Close();
            //this.IsEnabled = true;
        }