private void imgView_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { frmViewImage frm = new frmViewImage(); frm.ShowDialog(); }