Hello,
I changed System.Windows.Forms.PictureBox to UltraPictureBox geöndert
private UltraPictureBox _picBox;
this._picBox = new UltraPictureBox();((System.ComponentModel.ISupportInitialize)(this._picBox)).BeginInit();
Please, how can I fix this? Does Infragistics have a similar interface?
Thank you in advance
Hi Brigitte,
ISupportInitialize is an interface that is used by the Visual Studio form designer in order to allow a control to handle any neccessary processing before and after the control is Initialized.
The UltraPictureBox does not support this interface because it doesn't need it.
So you can simply delete the code that is trying to cast the UltraPictureBox to this interface. There will be two lines like this in the designer file.
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
Thank you