Exemple #1
0
        //private void Page5Button_Click(object sender, RoutedEventArgs e)
        //{
        //	testwin tw = new testwin();
        //	tw.Show();
        //}
        private void Page5Button_Click(object sender, RoutedEventArgs e)
        {
            if (tw != null)
            {
                tw.BringIntoView();
                return;
            }

            tw = new SqlDbViewer(-1);
            tw.Show();
        }
 private void Page5_Click(object sender, RoutedEventArgs e)
 {
     //			testwin tw = new testwin();
     //			tw.Show();
     if (tw != null)
     {
         tw.BringIntoView();
         return;
     }
     tw = new SqlDbViewer(-1);
     tw.Show();
 }
        private void runloader(SqlDbViewer NewSqlViewer)
        {
            //Thuis actually shows the window fully ?
            // and is why we are waiting for it to complete
            //before starting sql loading
            Stopwatch sw = new Stopwatch();

            sw.Start();
            Console.WriteLine("8 - runLoader - Showing Sql Window");
            NewSqlViewer.Show();
            //Task.WaitAll ();
            Console.WriteLine("9 - runLoader - Completed");
            sw.Stop();
            Console.WriteLine($"10 - runloader took {sw.ElapsedMilliseconds} Milliseconds ");
            //return true;
        }
Exemple #4
0
        private void Page5_Click(object sender, RoutedEventArgs e)
        {
            SqlDbViewer tw = new SqlDbViewer(-1);

            tw.Show();
        }