Exemplo n.º 1
0
 public void loadLists()
 {
     try
     {
         sl = lfj.loadLists();
     }
     catch
     {
         MessageBox.Show("No Lists to show");
     }
 }
Exemplo n.º 2
0
        private void btnRefresh_Click(object sender, RoutedEventArgs e)
        {
            l = new StoredLists();
            LoadFromJson lfj = new LoadFromJson();

            l = lfj.loadLists();
            lblTrendingOutput.Content = createListsForPrint(orderTrending());
            lblMentionsOutput.Content = createListsForPrint(l.mentions);
            lblSirOutput1.Content     = createListsForPrint(l.sir);
            lblNoiOutput1.Content     = createListsForPrint(l.noi);
        }
Exemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            displayCount = 0;

            try
            {
                l = new StoredLists();
                LoadFromJson lfj = new LoadFromJson();
                l = lfj.loadLists();
                orderTrending();
                lblTrendingOutput.Content = createListsForPrint(orderTrending());
                lblMentionsOutput.Content = createListsForPrint(l.mentions);
                lblSirOutput1.Content     = createListsForPrint(l.sir);
                lblNoiOutput1.Content     = createListsForPrint(l.noi);
            }
            catch
            {
            }
        }