public ViewStudent(string cne)
        {
            InitializeComponent();
            ServiceReference3.MyServiceClient s = new ServiceReference3.MyServiceClient();
            s.getStudentCompleted += S_getStudentCompleted;

            s.getStudentAsync(int.Parse(cne));
        }
        public StudentsParFiliere()
        {
            InitializeComponent();

            s = new ServiceReference3.MyServiceClient();

            s.GetAllFilieresCompleted       += S_GetAllFilieresCompleted;
            s.GetStudentsByFiliereCompleted += S_GetStudentsByFiliereCompleted;
            s.GetAllFilieresAsync();
        }
示例#3
0
        public TelerikScenario2()
        {
            InitializeComponent();

            c = new ServiceReference2.MyServiceClient();
            c.GetAllStudentsCompleted += C_GetAllStudentsCompleted;

            s = new ServiceReference3.MyServiceClient();
            s.DeleteStudentCompleted += S_DeleteStudentCompleted;


            c.GetAllStudentsAsync();
            //todo
        }