Skip to content

Commit

Permalink
added version in splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
faridskyman committed Jul 22, 2015
1 parent 9edefa3 commit 1fc22a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions xmlBlackboardParser/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class ConstantValue
public QuestionType True_False { get; set; }
public QuestionType MultipleAnswer { get; set; }


public ConstantValue()
{
MultipleChoice = new QuestionType("Multiple Choice","MCQ");
Expand Down
14 changes: 11 additions & 3 deletions xmlBlackboardParser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,20 @@ namespace xmlBlackboardParser
class Program
{

//v0.1 only supported MCQ and TF
//0.1.1 fixes issue when MRQ existed and does a by pass
//0.2 support MRQ, and output file as UTF8 and removes non standard HTML tag '<o:p>'

public static string appversionNo = "0.2";





static void Main(string[] args)
{

OutProgramASCIIArt();
OutProgramASCIIArt(appversionNo);
parseXML();
}

Expand Down Expand Up @@ -184,7 +192,7 @@ private static string CleanData(string p)

//Functions section

public static void OutProgramASCIIArt()
public static void OutProgramASCIIArt(string appversion)
{
string output = @"
____ _ _ _ _
Expand All @@ -201,7 +209,7 @@ ____ _ ______ _
\___\_\\__,_|_/___| |______/_/\_\ .__/ \___/|_| \__\___|_|
| |
|_|
";
" + Environment.NewLine + "v" + appversion + " (EIT) 2015";
Console.WriteLine(output + "\n");


Expand Down

0 comments on commit 1fc22a7

Please sign in to comment.