Beispiel #1
0
 /// <summary>
 /// The "Continue (Enter)" dialog
 /// </summary>
 private static void Continue()
 {
     CoEx.WriteLine();
     CoEx.PressAnyKey();
     CoEx.Clear();
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            /**
             * Console defaults
             */
            CoEx.WindowHeight = CoEx.WindowHeightMax - 10;
            CoEx.BufferHeight = 256;


            /**
             * Table defaults
             */
            RowCollection.DefaultSettings.Border.Enabled            = true;                                  // enable bordering
            RowCollection.DefaultSettings.Border.HorizontalLineBody = BorderConf.HorizontalLineAlwaysOnFunc; // line between the rows

            header = RowConf.Create(headerdata).PresetTH();
            rc1    = RowCollection.Create(exambledata);
            rc2    = RowCollection.Create(exambledatalong);


            /**
             * Demo parts
             */
            Continue();

            DemoLoadIndicator();
            CoEx.Clear();

            DemoGraph();
            Continue();
            CoEx.Clear();

            DemoProgressBar();
            CoEx.Clear();

            DemoTimeout();

            DemoScrolltext();
            CoEx.Clear();

            DemoProgressBarMessages();
            CoEx.Clear();

            DemoPrompt();
            CoEx.Clear();

            DemoIntro();
            Continue();

            DemoBasicColumns();
            Continue();

            DemoBasicTable();
            Continue();

            BasicTableLongText();
            Continue();

            DemoTableSynchronized();
            Continue();

            DemoConditionalStyles();
            Continue();

            DemoAlignment();


            /**
             * The End
             */
            CoEx.WriteLine();
            CoEx.WriteHl("Program finished.");
            CoEx.Confirm("Exit?");
        }