12345678910111213141516171819202122232425262728293031323334353637 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using DevExpress.XtraEditors;
- namespace ProjectBase.Controls.DocViewer
- {
- /// <summary>
- /// 图片显示窗体
- /// </summary>
- public partial class FrmImageView : DevExpress.XtraEditors.XtraForm
- {
- public FrmImageView()
- {
- InitializeComponent();
- }
- private void pictureEdit1_Properties_MouseUp(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Right)
- {
- this.Close();
- }
- }
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- }
- }
|