示例#1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            RedKlient redKlient = new RedKlient();

            redKlient.vid = 1;
            this.Close();
            redKlient.ShowDialog();
        }
示例#2
0
        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            RedKlient redKlient = new RedKlient();

            redKlient.vid  = 2;
            redKlient.view = datagrid.SelectedItem as DataRowView;
            this.Close();
            redKlient.ShowDialog();
        }