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 { } }
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(); } }
private void This_Click(object sender, MouseButtonEventArgs e) { UserActionUtils.DownLoad(this.model.PDFPath, this.model.PDFName, this.model.TypeName, this.model.Key1); }