예제 #1
0
        //打开归档界面
        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {
            List <Activity> activities = dbUtill.GetIsFiles();

            if (activities.Count > 0)
            {
                IsFileWin isFileWin = new IsFileWin();
                isFileWin.ShowDialog();
                if (isFileWin.DialogResult == false)
                {
                    Init();
                }
            }
            else
            {
                BlankWin blankWin = new BlankWin();
                blankWin.ShowDialog();
            }
        }
예제 #2
0
        public void Init()
        {
            List <Activity> list = dbUtill.GetIsFiles();

            activity_panel.ItemsSource = list;
        }