private void continueButton(object sender, System.Windows.RoutedEventArgs e)
        {
            thietlaphesoModel.colcount = 1;
            thietlaphesoModel.rowcount = 1;
            Array.Clear(thietlaphesoModel.color, 0, thietlaphesoModel.color.Length);
            Array.Clear(thietlaphesoModel.colordefault, 0, thietlaphesoModel.colordefault.Length);
            Array.Clear(thietlaphesoModel.datetime, 0, thietlaphesoModel.datetime.Length);
            Array.Clear(thietlaphesoModel.value, 0, thietlaphesoModel.value.Length);
            Array.Clear(thietlaphesoModel.zeroOne, 0, thietlaphesoModel.zeroOne.Length);
            Array.Clear(thietlaphesoModel.index, 0, thietlaphesoModel.index.Length);
            thietlaphesoModel.n                   = 0;
            thietlaphesoModel.limitvalue          = 0;
            MiddlewareModel.foundedColor          = 0;
            MiddlewareModel.foundedColor_MaxValue = 0;
            thietlapHeSo.checkstop                = false;
            thietlapHeSo.findmax                  = true;
            MiddlewareController.tu               = 1;
            MiddlewareController.mau              = 1;
            ExcelController.duplicateindex.Clear();
            ExcelController.mergeduplicateindex.Clear();
            ExcelController.tempo.Clear();
            ExcelController.origin_color_index.Clear();
            thietlapHeSo.n      = 0;
            thietlapHeSo.ncolor = 0;

            thietlapHeSo tlhs = new thietlapHeSo();

            this.NavigationService.Navigate(tlhs);
        }
Exemple #2
0
        private void gotothietlapHeso(object sender, RoutedEventArgs e)
        {
            thietlapHeSo tlhs = new thietlapHeSo();

            this.NavigationService.Navigate(tlhs);
        }