Click here to Skip to main content
16,005,826 members
Home / Discussions / C#
   

C#

 
GeneralEnvDTE::DocumentEvents.DocumentOpend makes me suffer! Pin
JabraJabra15-Feb-05 6:16
JabraJabra15-Feb-05 6:16 
GeneralHelp with Selecting Data Inside a DataTable Pin
Peter Vertes15-Feb-05 5:55
Peter Vertes15-Feb-05 5:55 
GeneralRe: Help with Selecting Data Inside a DataTable Pin
Rob Graham15-Feb-05 6:42
Rob Graham15-Feb-05 6:42 
GeneralRe: Help with Selecting Data Inside a DataTable Pin
Peter Vertes15-Feb-05 7:15
Peter Vertes15-Feb-05 7:15 
Generalhelp with CreateProcessWithLogonW Pin
drey115-Feb-05 5:16
drey115-Feb-05 5:16 
GeneralRe: help with CreateProcessWithLogonW Pin
Judah Gabriel Himango15-Feb-05 7:42
sponsorJudah Gabriel Himango15-Feb-05 7:42 
GeneralRe: help with CreateProcessWithLogonW Pin
drey115-Feb-05 7:55
drey115-Feb-05 7:55 
GeneralCrashing Code Pin
TyronX15-Feb-05 5:00
TyronX15-Feb-05 5:00 
I used http://www.codeproject.com/cs/media/perpxalpha_sharp.asp to create a non-rectangular window.
Then I tried to add a Label Form, but that didn't work (didn't show up). Therefore I thought that this maybe wouldn't be possible when you have a this type of window and tried directly to draw strings in my loaded bitmap:
<br />
Graphics g = Graphics.FromImage(newBitmap);<br />
newBitmap.Dispose();<br />
Font font = this.Font;<br />
Brush brush = new SolidBrush(Color.White);<br />
g.DrawString("Hallo wie geht es dir?",font,brush, 50,50);<br />
g.DrawImage(newBitmap,0,0);<br />
bitmap = newBitmap;<br />


newBitmap contains the loaded png (with alpha mask) image.
The assignment of bitmap seems to crash (System.ArgumentException) because I disposed newBitmap. But why? I however assigned newBitmap again with g.DrawImage...
GeneralRe: Crashing Code Pin
Judah Gabriel Himango15-Feb-05 7:48
sponsorJudah Gabriel Himango15-Feb-05 7:48 
GeneralRe: Crashing Code Pin
TyronX15-Feb-05 13:51
TyronX15-Feb-05 13:51 
GeneralPrintDialog doesnt show all printer Pin
Gavin Jeffrey15-Feb-05 4:52
Gavin Jeffrey15-Feb-05 4:52 
Generalcreate a treenode with 2 or three images Pin
chicolat15-Feb-05 4:37
susschicolat15-Feb-05 4:37 
GeneralCurrentCellChanged event !!!!!!!!!!!!!! Pin
innocent7315-Feb-05 3:53
innocent7315-Feb-05 3:53 
GeneralRe: CurrentCellChanged event !!!!!!!!!!!!!! Pin
Mr.Cooper15-Feb-05 4:01
Mr.Cooper15-Feb-05 4:01 
GeneralRe: CurrentCellChanged event !!!!!!!!!!!!!! Pin
innocent7315-Feb-05 4:14
innocent7315-Feb-05 4:14 
GeneralRe: CurrentCellChanged event !!!!!!!!!!!!!! Pin
Huseyin Altindag15-Feb-05 22:58
Huseyin Altindag15-Feb-05 22:58 
GeneralSSH Socket Programming Pin
Jason Weibel15-Feb-05 3:52
Jason Weibel15-Feb-05 3:52 
GeneralImage generation Pin
Esmo200015-Feb-05 3:49
Esmo200015-Feb-05 3:49 
GeneralUdpClient not receiving anything Pin
User 665815-Feb-05 3:42
User 665815-Feb-05 3:42 
GeneralRe: UdpClient not receiving anything Pin
Judah Gabriel Himango15-Feb-05 7:53
sponsorJudah Gabriel Himango15-Feb-05 7:53 
GeneralRe: UdpClient not receiving anything Pin
User 665815-Feb-05 9:02
User 665815-Feb-05 9:02 
GeneralRe: UdpClient not receiving anything Pin
User 665815-Feb-05 9:31
User 665815-Feb-05 9:31 
GeneralGet status from fax (FAXCOMLib) Pin
znize15-Feb-05 2:45
znize15-Feb-05 2:45 
GeneralHuffman algorithm Pin
iceburnbarry15-Feb-05 2:24
iceburnbarry15-Feb-05 2:24 
GeneralRe: Huffman algorithm Pin
Esmo200015-Feb-05 3:13
Esmo200015-Feb-05 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.