Ejemplo n.º 1
0
 public UpdateQuestionWindow()
 {
     InitializeComponent();
     client = new WCF.NetTestServiceClient();
     client.getTestDataTableCompleted += client_getTestDataTableCompleted;
     client.updateTestCompleted       += client_updateTestCompleted;
     client.Endpoint.Address           = new System.ServiceModel.EndpointAddress(new Uri(url, UriKind.Absolute));
 }
Ejemplo n.º 2
0
 public ExerciseWindow()
 {
     InitializeComponent();
     client = new WCF.NetTestServiceClient();
     client.getUserTestDataTableCompleted += client_getUserTestDataTableCompleted;
     client.Endpoint.Address = new System.ServiceModel.EndpointAddress(new Uri(url, UriKind.Absolute));
     btHandleTest.IsEnabled  = false;
 }
Ejemplo n.º 3
0
 public AddQuestionWindow()
 {
     InitializeComponent();
     client = new WCF.NetTestServiceClient();
     client.addTestCompleted += client_addTestCompleted;
     client.Endpoint.Address  = new System.ServiceModel.EndpointAddress(new Uri(url, UriKind.Absolute));
     cbAnswer.Items.Add("A");
     cbAnswer.Items.Add("B");
     cbAnswer.Items.Add("C");
     cbAnswer.Items.Add("D");
     cbAnswer.SelectedIndex = 0;
 }