Click here to Skip to main content
15,902,012 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing contextmenuStrip after Right Click on DataGrid where clicked occured Pin
Programm3r19-May-08 21:27
Programm3r19-May-08 21:27 
QuestionRe: Showing contextmenuStrip after Right Click on DataGrid where clicked occured [MOD] Pin
Programm3r19-May-08 21:38
Programm3r19-May-08 21:38 
AnswerRe: Showing contextmenuStrip after Right Click on DataGrid where clicked occured [MOD] Pin
Programm3r19-May-08 22:01
Programm3r19-May-08 22:01 
QuestionSelf update Pin
Tridip Bhattacharjee19-May-08 19:11
professionalTridip Bhattacharjee19-May-08 19:11 
AnswerRe: Self update Pin
Expert Coming19-May-08 19:13
Expert Coming19-May-08 19:13 
Questionnative DLLs to .NET conversion? Any one has any experience Pin
sharp_k19-May-08 16:57
sharp_k19-May-08 16:57 
AnswerRe: native DLLs to .NET conversion? Any one has any experience Pin
Christian Graus19-May-08 17:50
protectorChristian Graus19-May-08 17:50 
QuestionManaged DirectX Sprite Scaling Pin
Expert Coming19-May-08 16:32
Expert Coming19-May-08 16:32 
I have a DirectX environment going and working beautifully. I also found a way to get frames per second and that is working too.

I am using DirectX Sprites to draw everything. Now, the problem is with scaling the sprites. If I have about 30 scaled sprites, I nearly halve my framerate. I know the problem lies with having to scale it everytime I draw it, any ideas?

// do not draw if not visible<br />
        if (!bVisible)<br />
        {<br />
            return;<br />
        }<br />
<br />
        // Apply any scaling necessary<br />
        if (!bScaled)<br />
        {<br />
            AdjustScaling();<br />
            bScaled = true;<br />
        }<br />
        //TODO: this kills framerate need to figure out how to do this just once<br />
        sprite.Transform = scaling;<br />
<br />
        // Draw the sprite<br />
        //Reminder: Error here usually means you arn't between start and end scene<br />
        sprite.Draw(texture, sourcerectangle, center, position, color);


The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

Questionhow to add text in external .rtf file Pin
kamalesh574319-May-08 16:13
kamalesh574319-May-08 16:13 
AnswerRe: how to add text in external .rtf file Pin
Christian Graus19-May-08 17:51
protectorChristian Graus19-May-08 17:51 
AnswerRe: how to add text in external .rtf file Pin
Chiew Heng Wah19-May-08 18:11
Chiew Heng Wah19-May-08 18:11 
Question"textbox.text" is not the text in the tex tbox Pin
Mihai Pruna19-May-08 13:48
Mihai Pruna19-May-08 13:48 
AnswerRe: "textbox.text" is not the text in the tex tbox Pin
Christian Graus19-May-08 15:15
protectorChristian Graus19-May-08 15:15 
QuestionColumnExist in DataTable Pin
s196675m19-May-08 12:43
s196675m19-May-08 12:43 
AnswerRe: ColumnExist in DataTable Pin
Gareth H19-May-08 12:57
Gareth H19-May-08 12:57 
GeneralRe: ColumnExist in DataTable Pin
s196675m19-May-08 13:22
s196675m19-May-08 13:22 
QuestionNetworking Concepts - Not sure where to post... Pin
Expert Coming19-May-08 12:31
Expert Coming19-May-08 12:31 
AnswerRe: Networking Concepts - Not sure where to post... Pin
Ravi Bhavnani19-May-08 13:45
professionalRavi Bhavnani19-May-08 13:45 
GeneralRe: Networking Concepts - Not sure where to post... Pin
Expert Coming19-May-08 15:02
Expert Coming19-May-08 15:02 
GeneralRe: Networking Concepts - Not sure where to post... Pin
Ravi Bhavnani19-May-08 15:11
professionalRavi Bhavnani19-May-08 15:11 
GeneralRe: Networking Concepts - Not sure where to post... Pin
Expert Coming19-May-08 15:13
Expert Coming19-May-08 15:13 
GeneralRe: Networking Concepts - Not sure where to post... Pin
Ravi Bhavnani20-May-08 5:04
professionalRavi Bhavnani20-May-08 5:04 
QuestionHow can I change TreeView's node icon? Pin
Mohammad Dayyan19-May-08 11:41
Mohammad Dayyan19-May-08 11:41 
AnswerRe: How can I change TreeView's node icon? [modified] Pin
Anthony Mushrow19-May-08 12:27
professionalAnthony Mushrow19-May-08 12:27 
AnswerRe: How can I change TreeView's node icon? Pin
radialronnie19-May-08 12:33
radialronnie19-May-08 12:33 

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.