public ShaderViewer(string shaderName, string filePath) { InitializeComponent(); this.filePath = filePath; this.Text = shaderName; this.webBrowser1.Navigate(filePath); }