c# - Where do i find System.Windows.Media ? The Media is not exist -


i tried:

using system; using system.collections.generic; using system.componentmodel; using system.drawing; using system.data; using system.text; using system.windows.forms; using avifile; using screenshotdemo; using system.threading; using system.windows. 

in new class in bottom system.windows. there no media

im using visual c# pro 2012 , .net 4.5 tried add reference looked in .net , in com it's not there.

the reason need in code have pixelformat , it's not exist:

bitmap bmpscreenshot = new bitmap(currentscreen.bounds.width, currentscreen.bounds.height, pixelformat.format32bppargb); 

pixelformat not exist.

you need add system.drawing.imaging using statements.

you can find need include right clicking on item in question , choosing "resolve"


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -