Exemple #1
0
        public void goTokdp(KnowledgeAndRelease model)
        {
            GoodAndHot hot = new GoodAndHot
            {
                TypeID   = model.TypeId,
                LngId    = model.LngId,
                SourceId = model.SourceID,
                Name     = model.Key1
            };

            this.gotokdp(hot);
        }
Exemple #2
0
 private void gotokdp(GoodAndHot model)
 {
     BACAClient.Model.Knowledge modelByTypeidAndLngid = new Model.Knowledge(); //todo
     if (modelByTypeidAndLngid.TypeId == 3)
     {
         new PDF {
             Id = modelByTypeidAndLngid.Id, TypeId = modelByTypeidAndLngid.TypeId
         }.Show();
     }
     else
     {
         CacheParameterName name = new CacheParameterName();
         CacheHelper.SetCache(name.HistoryIndex, string.Empty);
         CacheHelper.SetCache(name.Id, modelByTypeidAndLngid.Id.ToString());
         base.ParentWindow.PageSwitch(this.pageswitch.kdp);
     }
 }