Пример #1
0
 /// <summary>
 /// the constructor
 /// </summary>
 public CreateTestManualPage(CreateTestModes createTestMode = CreateTestModes.CreateManualTest)
     : base()
 {
     this.Name = MethodBase.GetCurrentMethod().DeclaringType.Name;
     this.PrintName();
     if (createTestMode == CreateTestModes.CreateManualTest)
     {
         urlMode = "1";
     }
     if (createTestMode == CreateTestModes.CreateCopyOfTest)
     {
         urlMode = "ByQuestionNumber";
     }
     this.ExpectedUrl = "/Assess/TestBluePrinting/CreateTest.aspx?mode=" + urlMode;
     this.VerifyCurrentUrl();
     InitElements();
 }
 /// <summary>
 /// the constructor
 /// </summary>
 /// <param name="overrideControlPrefix">override control prefix</param>
 public CreateTestManualForm(string overrideControlPrefix = null, CreateTestModes createTestMode = CreateTestModes.CreateManualTest)
     : base(overrideControlPrefix)
 {
     testCreationMode = createTestMode;
     //base class calls InitElements();
 }