Click here to Skip to main content
15,913,773 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: asmx web service to access SQL server database. Pin
Not Active19-Jul-10 8:43
mentorNot Active19-Jul-10 8:43 
GeneralRe: asmx web service to access SQL server database. Pin
code4wcf19-Jul-10 9:58
code4wcf19-Jul-10 9:58 
GeneralRe: asmx web service to access SQL server database. Pin
Not Active19-Jul-10 10:16
mentorNot Active19-Jul-10 10:16 
GeneralRe: asmx web service to access SQL server database. Pin
Ennis Ray Lynch, Jr.19-Jul-10 10:30
Ennis Ray Lynch, Jr.19-Jul-10 10:30 
AnswerRe: asmx web service to access SQL server database. Pin
Luc Pattyn19-Jul-10 10:56
sitebuilderLuc Pattyn19-Jul-10 10:56 
GeneralRe: asmx web service to access SQL server database. Pin
Not Active19-Jul-10 11:32
mentorNot Active19-Jul-10 11:32 
GeneralRe: asmx web service to access SQL server database. Pin
code4wcf21-Jul-10 16:19
code4wcf21-Jul-10 16:19 
QuestionHow do i draw my "user control UI" faster and more efficient [modified] Pin
Rejnev19-Jul-10 2:14
Rejnev19-Jul-10 2:14 
Hi,
Actually I made a user control that its interface is like "glass windows" in windows vista and seven.
My pattern was this picture[^]
using "Photoshop" and draw every layer with C# and .Net drawing classes, I finally draw it.
In first step, i create a bitmap class and then each layer will be drawn on it using graphic path and brushes and so on.

here is the control.glass panel[^]
(you must first add the "reflect.png" file to your project resources and then add class to project then build, ...)
OK,
my problem is the low efficiency of this control while moving and resizing parent form.
because this works, cause calling "draw" method of the control and when calling of method got a lot, it will be slow down the application and more important, it is very CPU hungry.

I want you to learn me a way to draw the user interface of this control
1-using dot net 2.0
2-efficient, like other windows controls.

is there a way to paint UI using directx,...?(I mean not WPF)
if there is no way, i will remove the reflect part of the code that causes high CPU using.

thank you.

modified on Monday, July 19, 2010 8:32 AM

AnswerRe: How i draw my "user control UI" faster and more efficient Pin
Eddy Vluggen19-Jul-10 2:38
professionalEddy Vluggen19-Jul-10 2:38 
GeneralRe: How i draw my "user control UI" faster and more efficient [modified] Pin
Rejnev19-Jul-10 3:00
Rejnev19-Jul-10 3:00 
GeneralRe: How i draw my "user control UI" faster and more efficient Pin
Eddy Vluggen19-Jul-10 5:16
professionalEddy Vluggen19-Jul-10 5:16 
Generalit's done Pin
Rejnev19-Jul-10 5:30
Rejnev19-Jul-10 5:30 
GeneralRe: it's done Pin
Eddy Vluggen19-Jul-10 5:58
professionalEddy Vluggen19-Jul-10 5:58 
Questionconvert to shortname Pin
vijiajai18-Jul-10 18:45
vijiajai18-Jul-10 18:45 
AnswerRe: convert to shortname Pin
Peace ON18-Jul-10 21:01
Peace ON18-Jul-10 21:01 
GeneralRe: convert to shortname Pin
vijiajai18-Jul-10 21:15
vijiajai18-Jul-10 21:15 
Answer[Repost] Re: convert to shortname Pin
Peace ON18-Jul-10 22:30
Peace ON18-Jul-10 22:30 
GeneralRe: ... posting anything ... Pin
The Man from U.N.C.L.E.18-Jul-10 23:15
The Man from U.N.C.L.E.18-Jul-10 23:15 
GeneralRe: ... posting anything ... Pin
Peace ON18-Jul-10 23:19
Peace ON18-Jul-10 23:19 
Questionabout datagrid Pin
rajpar17-Jul-10 20:07
rajpar17-Jul-10 20:07 
AnswerRe: about datagrid Pin
Abhinav S17-Jul-10 20:45
Abhinav S17-Jul-10 20:45 
AnswerRe: about datagrid Pin
Alicia Ouellet5-Oct-10 7:07
Alicia Ouellet5-Oct-10 7:07 
QuestionProblem binding data to a gridview on key press. Pin
Clint Westwood16-Jul-10 23:08
Clint Westwood16-Jul-10 23:08 
AnswerRe: Problem binding data to a gridview on key press. Pin
Peace ON16-Jul-10 23:25
Peace ON16-Jul-10 23:25 
QuestionMessage Removed Pin
16-Jul-10 1:19
sr15916-Jul-10 1:19 

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.