using System.IO; ............... public partial class VIRxC : UserControl { public VIRxC() { InitializeComponent(); image01 = Bitmap.FromFile(root + "Ohms Law Pie Chart.gif"); } Image image01; string root = @"D:\Programe\Info\Visual Studio 2010\Projects\Electronics\ElectronicTool\ElectronicTool v4\ElectronicTool\bin\Debug\"; //string root = Application.StartupPath;
string root = Application.StartupPath;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)