private frmZoom( PlataDM.Siffror siffror, Font fontSiffra, FlikKategori zoomTyp, PlataDM.Thumbnails tns, string strTn1, string strTn2, string strTnFatSelection, string strTnGraySelection ) { InitializeComponent(); _siffror = siffror; _fontSiffra = fontSiffra; pnlVimmel.Visible = zoomTyp==FlikKategori.Vimmel; _strTn1 = strTn1; _strTn2 = strTn2; _strTnFatSelection = strTnFatSelection; _strTnGraySelection = strTnGraySelection; _tnsMaster = tns; _tns = (PlataDM.Thumbnails)tns.Clone(); _tn = _tns[_strTn1]; _zoomTyp = zoomTyp; }
public static void gotNewImage( PlataDM.Thumbnail tn, Bitmap bmpFullSize ) { if ( _frmZoom==null ) return; _frmZoom._tn = _frmZoom._tns.add( (PlataDM.Thumbnail)tn.Clone() ); _frmZoom.loadImage( bmpFullSize ); _frmZoom.resize(); _frmZoom._tns.ensureVisible( _frmZoom._tn ); }
private FPerson( FlikKategori zoomTyp, PlataDM.Thumbnails tns ) { _tns = (PlataDM.Thumbnails)tns.Clone(); _tn = _tns[_strTn1]; _zoomTyp = zoomTyp; InitializeComponent(); }