public DeskewExtendedDialog(RasterImage image)
        {
            InitializeComponent();
            _DeskewExtendedCommand = new DeskewExtendedCommand();
            _Color          = Leadtools.Demos.Converters.FromGdiPlusColor(Color.Black);
            _AngleRange     = 2000;
            _image          = image;
            _rbFast.Enabled = (_image.BitsPerPixel == 1);

            //Set command default values
            InitializeUI();
        }
 public DeskewExtendedDialog(DeskewExtendedCommand DeskewExtendedCommand)
 {
     InitializeComponent();
     _DeskewExtendedCommand = DeskewExtendedCommand;
     InitializeUI();
 }