public PIBrowserWin() { InitializeComponent(); fInstance = this; fmConnection = new ConnectionDlg(); Assembly assembly = typeof(PIBrowserWin).Assembly; tbAbout.Image = PIBUtils.LoadResourceImage(assembly, "PIBrowser.Resources.about.gif"); tbOptions.Image = PIBUtils.LoadResourceImage(assembly, "PIBrowser.Resources.options.gif"); tbPrint.Image = PIBUtils.LoadResourceImage(assembly, "PIBrowser.Resources.print.gif"); tbTLLoad.Image = PIBUtils.LoadResourceImage(assembly, "PIBrowser.Resources.load.gif"); tbTLSave.Image = PIBUtils.LoadResourceImage(assembly, "PIBrowser.Resources.save.gif"); }