示例#1
0
        private void MiAllCheck_Click(object sender, RoutedEventArgs e)
        {
            var send = new CheckData {
                Logs   = LogGrid.ToList(),
                Gens   = se.Gen,
                Ches   = se.Che,
                ConGen = UcConfigTab.GetGeneral(),
                Area1  = se.Area1,
                Area2  = se.Area2
            };

            var cw = new CheckWindow(send);

            cw.ShowDialog();

            DgLog.Items.Refresh();
        }
示例#2
0
        private void Mi_MultiCheck(object sender, RoutedEventArgs e)
        {
            var data = ((sender as MenuItem).CommandParameter) as List <LogData>;
            var send = new CheckData {
                Logs   = data,
                Gens   = se.Gen,
                Ches   = se.Che,
                ConGen = UcConfigTab.GetGeneral(),
                Area1  = se.Area1,
                Area2  = se.Area2
            };

            var cw = new CheckWindow(send);

            cw.ShowDialog();

            DgLog.Items.Refresh();
        }