Can we replace code like:
Assembly executingAssembly = Assembly.GetExecutingAssembly();
string str = typeof(RVSplitContainer).Namespace + ".Resources.";
m_bitmaps[4] = new Bitmap(executingAssembly.GetManifestResourceStream(str + "SplitterHorizExpand.png"));
from here (and in similar places)
with more context aware code, like:
Assembly executingAssembly = typeof(RVSplitContainer).Assembly;
string str = typeof(RVSplitContainer).Namespace + ".Resources.";
m_bitmaps[4] = new Bitmap(executingAssembly.GetManifestResourceStream(str + "SplitterHorizExpand.png"));
why?
Because in other case it is not working with single code publish.

it is working fine without publishing as single file but this nasty single file assembly connnot be referenced
Can we replace code like:
from here (and in similar places)
with more context aware code, like:
why?
Because in other case it is not working with single code publish.

it is working fine without publishing as single file but this nasty single file assembly connnot be referenced