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)); }
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; }
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; }