Why not allow changing the image file name of devexpress ?


Author
Message
Dong Trien Lam
Dong Trien Lam
StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)
Group: Anonymous / Guest
Posts: 57, Visits: 251
in the example of the DevExpress have the following code, I want to change the image file with another file name but is not,warning error: Error 1 Unable to copy file "online.gif" to "obj\Debug\Red.gif". Could not find file 'online.gif' 

original
DevExpress.XtraBars.BarEditItem = (Bitmap)DevExpress.Utils.Controls.ImageHelper.CreateImageFromResources("RibbonSimplePad.online.gif", typeof(frmMain).Assembly);
changes
DevExpress.XtraBars.BarEditItem = (Bitmap)DevExpress.Utils.Controls.ImageHelper.CreateImageFromResources("Red.gif", typeof(frmMain).Assembly);


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search