private void toolBut_hou_Click(object sender, EventArgs e) { if (CrrPage < MaxPage) { imgBrow1.NextPage(); } else { FileNameTmp2 = ""; imgBrow1.Close(); ucDLInfo1.Closedt(); LvBoxsnQu.Focus(); } }
private void Imgclose() { imgBrow1.Close(); try { if (File.Exists(FileName)) { File.Delete(FileName); } Directory.Exists(Path.GetDirectoryName(FileName)); Directory.Delete(Path.GetDirectoryName(FileName)); } catch { } }
private void ImgClose() { imgBrow1.Close(); }