Ejemplo n.º 1
0
        private void amBtnCheck_Click(object sender, RoutedEventArgs e)
        {
            if (amDataGrid.SelectedIndex != -1)
            {
                AroraReport rep = new AroraReport(mConfigs.mDemogLines.Count, mConfigs.mTestInfo.ItemCount,
                                                  mConfigs.mNorms, amDataGrid.SelectedIndex + 1);

                rep.DoReport();
            }
        }
Ejemplo n.º 2
0
        //how to call report
        public void OnThanksClose()
        {
            AroraCore ac = new AroraCore();

            ac.SetData(mCurRunner.mItemPage.mItems,
                       mCurRunner.mAnswers, mDemogInfo, mConfigCollection.mNorms);
            ac.Sta_Save();

            AroraReport rep = new AroraReport(mConfigCollection.mDemogLines.Count,
                                              mCurRunner.mItemPage.mItems.Count, mConfigCollection.mNorms);

            rep.DoReport();

            this.Close();
        }