public DeskewCheckDialog(RasterImage image) { _image = image; InitializeComponent(); _DeskewCheckCommand = new DeskewCheckCommand(); _Color = Leadtools.Demos.Converters.FromGdiPlusColor(Color.Black); _rbFast.Enabled = (_image.BitsPerPixel == 1); //Set command default values InitializeUI(); }
public DeskewCheckDialog(DeskewCheckCommand DeskewCheckCommand) { InitializeComponent(); _DeskewCheckCommand = DeskewCheckCommand; InitializeUI(); }