Пример #1
0
        private void insert_staff_Click(object sender, RoutedEventArgs e)
        {
            var insert_staff = new staff_list(0, 0);

            insert_staff.Show();
            this.Close();
        }
Пример #2
0
        private void Pod_Click(object sender, RoutedEventArgs e)
        {
            var button  = (sender as Button);
            var id_user = Convert.ToInt32(button.Tag);

            staff_list insert_list_form = new staff_list(1, id_user);

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