Exemple #1
0
		public void ShowLogBox()
		{
			Console.WriteLine("Showing LogBox");
			using (var e = new LogBoxFormForTest())
			{
				progress = e.progress;
				progress.WriteMessage("LogBox test");
				progress.ShowVerbose = true;
				for (int i = 0; i < 1000; i++)
				{
					progress.WriteVerbose(".");
				}

				progress.WriteMessage("done");

				Console.WriteLine(progress.Text);
				Console.WriteLine(progress.Rtf);
				Console.WriteLine("Finished");
			}
		}
Exemple #2
0
        public void ShowLogBox()
        {
            Console.WriteLine("Showing LogBox");
            using (var e = new LogBoxFormForTest())
            {
                progress = e.progress;
                progress.WriteMessage("LogBox test");
                progress.ShowVerbose = true;
                for (int i = 0; i < 1000; i++)
                {
                    progress.WriteVerbose(".");
                }

                progress.WriteMessage("done");

                Console.WriteLine(progress.Text);
                Console.WriteLine(progress.Rtf);
                Console.WriteLine("Finished");
            }
        }