我就是会COPY,其他不会:Z
将 PerspectiveDialog.cs 全部COPY过来。
public PerspectiveDialog(ImageViewer _viewer2, bool manualPerspectiveDeskew)
{
// _mainForm = form;
_viewer = _viewer2;
_manualPerspectiveDeskew = manualPerspectiveDeskew;
InitializeComponent();
}
在FORM里:
PerspectiveDialog perspectiveDlg = new PerspectiveDialog(imageViewer1, true);
perspectiveDlg.Show();
就成功了 |