Beispiel #1
0
        private void miSwitchFolder_Click(object sender, EventArgs e)
        {
            int num1 = StockDB.NextFolderId(this.FolderId);

            if (num1 != 0)
            {
                this.FolderId = num1;
            }
        }
Beispiel #2
0
 private void miGotoFavorite_Click(object sender, EventArgs e)
 {
     if (this.FolderId == StockDB.CurrentFavoriteId)
     {
         this.FolderId             = StockDB.NextFolderId(this.FolderId);
         StockDB.CurrentFavoriteId = this.FolderId;
     }
     else
     {
         this.FolderId = StockDB.CurrentFavoriteId;
     }
 }