Exemplo n.º 1
0
 private void DownLoad_Click(string Name)
 {
     try
     {
         this.IsGood = true;
         UserActionUtils.DownLoad(this.model.PDFPath, this.model.PDFName, this.model.TypeName, this.model.Key1);
     }
     catch
     {
     }
 }
Exemplo n.º 2
0
        private void Icon_Click(string Name)
        {
            string str = Name.ToLower();

            if (!(str == "up"))
            {
                if (str == "download")
                {
                    string typename = string.Empty;
                    if (this.TypeId == 7)
                    {
                        typename = "引文文献";
                    }
                    else
                    {
                        typename = this.model.TypeName;
                    }
                    UserActionUtils.DownLoad(this.PDFPath, this.PDFName, typename, this.Knowledge);
                }
                else if (str == "close")
                {
                    base.Close();
                    ShowEvent.ShowOrHideWindow(new Flash().Title);
                }
                else if (str == "down")
                {
                    this.page++;
                    this.BindFullImages();
                }
            }
            else
            {
                this.page--;
                this.BindFullImages();
            }
        }
Exemplo n.º 3
0
 private void This_Click(object sender, MouseButtonEventArgs e)
 {
     UserActionUtils.DownLoad(this.model.PDFPath, this.model.PDFName, this.model.TypeName, this.model.Key1);
 }