Exemple #1
0
 public MainWindow()
 {
     InitializeComponent();
     _db = new DataBaseLite();
     GridContentAction.Children.Add(new AddingSubmit(_db, Result, false));
     Visibility = Visibility.Hidden;
     AutificationWindow();
 }
Exemple #2
0
        private void Result(DataBaseLite data, bool compareFromListSubmit)
        {
            ResultPage result;

            if (!compareFromListSubmit)
            {
                result = new ResultPage(data.GetOrignCodeFromId(data.IdMainFileForHist),
                                        data.GetOrignCodeFromId(data.IdiDenticalFie), ref _db);
            }
            else
            {
                result = new ResultPage(data.GetOrignCodeFromId(data.IdMainFileForHist),
                                        data.GetOrignCodeFromId(data.IdiDenticalFie), ref _db);
            }



            //textCode.ToolTip = db.GetInfoSubm(true);
            //textCode2.ToolTip = db.GetInfoSubm(false);

            GridContentAction.Children.Clear();
            GridContentAction.Children.Add(result);
        }