public AboutDialog() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // Viewer t = new Viewer(); t.InitOCCViewer(); float version = t.GetOCCVersion(); this.myVersion.Text=this.myVersion.Text+version; }