private void DataGrid1_MouseUp(object sender, MouseButtonEventArgs e)
        {
            MyListItem mli = DataGrid1.SelectedItem as MyListItem;

            if (mli != null)
            {
                SelectNumWindow snw = new SelectNumWindow(mli);
                snw.ShowDialog();
            }
        }
示例#2
0
        private void ReturnListDataGrid_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            ReturnListItem rli = ReturnListDataGrid.SelectedItem as ReturnListItem;

            if (rli != null)
            {
                SelectNumWindow snw = new SelectNumWindow(rli);
                snw.rw = this;
                snw.ShowDialog();
            }
        }