public ShowQrCode(OtpAuthData data, PwEntry entry, IPluginHost host) { InitializeComponent(); pictureBoxBanner.Image = KeePass.UI.BannerFactory.CreateBanner(pictureBoxBanner.Width, pictureBoxBanner.Height, KeePass.UI.BannerStyle.Default, Resources.qr_white, KeeOtp2Statics.ShowQr, KeeOtp2Statics.ShowQrSubline); this.Icon = host.MainWindow.Icon; this.TopMost = host.MainWindow.TopMost; this.data = data; this.uri = OtpAuthUtils.otpAuthDataToUri(entry, data); this.entry = entry; this.host = host; groupBoxQRCode.Text = KeeOtp2Statics.ShowQrDisclamer; buttonOk.Text = KeeOtp2Statics.OK; copyUriToolTip = new ToolTip(); copyUriToolTip.ToolTipTitle = KeeOtp2Statics.ShowQrCopyUri; copyUriToolTip.IsBalloon = true; string toolTipCopyUri = String.Format(KeeOtp2Statics.ToolTipShowQrCodeCopyUri, this.uri.AbsoluteUri); copyUriToolTip.SetToolTip(buttonCopyUriReload, toolTipCopyUri); reloadToolTip = new ToolTip(); reloadToolTip.ToolTipTitle = KeeOtp2Statics.ShowQr; reloadToolTip.IsBalloon = true; string toolTipReload = KeeOtp2Statics.ToolTipShowQrCodeReload; reloadToolTip.SetToolTip(buttonCopyUriReload, toolTipReload); }