Click here to Skip to main content
15,908,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pasting Copied Files into C# .NET App Pin
McClamm27-Sep-04 11:40
McClamm27-Sep-04 11:40 
GeneralForm Transparency Issues Pin
othell27-Sep-04 9:29
othell27-Sep-04 9:29 
QuestionDatagrid Secrets?????????? Pin
Neko0327-Sep-04 9:01
Neko0327-Sep-04 9:01 
AnswerRe: Datagrid Secrets?????????? Pin
MarkMokris27-Sep-04 10:07
MarkMokris27-Sep-04 10:07 
GeneralRe: Datagrid Secrets?????????? Pin
Judah Gabriel Himango27-Sep-04 10:17
sponsorJudah Gabriel Himango27-Sep-04 10:17 
QuestionHow can I get the Physical IP on client server App ??? Pin
Ahmed Mihaimeed27-Sep-04 7:41
Ahmed Mihaimeed27-Sep-04 7:41 
Questionhow to create outlook 2003 type colors? Pin
vista2727-Sep-04 7:18
vista2727-Sep-04 7:18 
AnswerRe: how to create outlook 2003 type colors? Pin
McClamm27-Sep-04 10:07
McClamm27-Sep-04 10:07 
Hi vista27,
I don't think that those buttons and other "gradient color" components use transparency/alpha. Probably what the Outlook programmers did was make their own "custom" button class by inheriting a new class from System.Windows.Forms.Button and overriding its painting methods (OnPaint comes to mind).

In the override you would use GDI+ to paint a gradient-colored rectangle or oval (or whatever) instead of a solid color rectangle. There's a LinearGradientBrush class in GDI+ that would do what you're looking for--you would make that brush and use it to fill the rectangle/oval/etc. You would have to print out the button's text and stuff, or you could call base.OnPaint() first and then draw over it.
GeneralRe: how to create outlook 2003 type colors? Pin
vista2727-Sep-04 10:41
vista2727-Sep-04 10:41 
GeneralRe: how to create outlook 2003 type colors? Pin
McClamm27-Sep-04 11:02
McClamm27-Sep-04 11:02 
QuestionHow to configure visual studio for debugging in https(ssl) mode a WebApplication in c#? Pin
zoltix27-Sep-04 5:02
zoltix27-Sep-04 5:02 
GeneralGetting Rid of Asterisk Row in DataGrid Pin
MarkMokris27-Sep-04 2:00
MarkMokris27-Sep-04 2:00 
GeneralRe: Getting Rid of Asterisk Row in DataGrid Pin
RoyClem27-Sep-04 2:36
RoyClem27-Sep-04 2:36 
GeneralRe: Getting Rid of Asterisk Row in DataGrid Pin
MarkMokris27-Sep-04 2:54
MarkMokris27-Sep-04 2:54 
GeneralRe: Getting Rid of Asterisk Row in DataGrid Pin
MarkMokris27-Sep-04 3:45
MarkMokris27-Sep-04 3:45 
GeneralRe: Getting Rid of Asterisk Row in DataGrid Pin
the last free name27-Sep-04 6:00
the last free name27-Sep-04 6:00 
GeneralRe: Getting Rid of Asterisk Row in DataGrid Pin
MarkMokris27-Sep-04 7:18
MarkMokris27-Sep-04 7:18 
GeneralMAPI in C# Pin
Ashutosh j27-Sep-04 1:09
Ashutosh j27-Sep-04 1:09 
GeneralRe: MAPI in C# Pin
sreejith ss nair27-Sep-04 3:01
sreejith ss nair27-Sep-04 3:01 
GeneralRe: MAPI in C# Pin
Ashutosh j27-Sep-04 3:17
Ashutosh j27-Sep-04 3:17 
GeneralSQL server/ ADO.NET performance Pin
Paul Horstink27-Sep-04 0:39
Paul Horstink27-Sep-04 0:39 
GeneralRe: SQL server/ ADO.NET performance Pin
Steven Campbell27-Sep-04 4:29
Steven Campbell27-Sep-04 4:29 
GeneralNumeric range to regular expression converter Pin
gokselm27-Sep-04 0:27
gokselm27-Sep-04 0:27 
GeneralRe: Numeric range to regular expression converter Pin
sreejith ss nair27-Sep-04 0:31
sreejith ss nair27-Sep-04 0:31 
GeneralRe: Numeric range to regular expression converter Pin
gokselm27-Sep-04 1:02
gokselm27-Sep-04 1:02 

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.