Пример #1
0
        private void Back_Click(object sender, RoutedEventArgs e)
        {
            Experts exp = new Experts();

            exp.Show();
            this.Close();
        }
Пример #2
0
        private void AddExpert1_Click(object sender, RoutedEventArgs e)
        {
            ServiceReference1.Service1Experts Reg = new ServiceReference1.Service1Experts();
            Reg.FIO = Convert.ToString(FIO.Text);
            ServiceReference1.Service1Client Service = new ServiceReference1.Service1Client();
            Service.AddExpert(Reg);
            Experts Window = new Experts();

            Window.Show();
            this.Close();
        }