Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
QuestionResize Controls at Runtime? Pin
dinh van hai2-Dec-05 20:48
dinh van hai2-Dec-05 20:48 
AnswerRe: Resize Controls at Runtime? Pin
Yanshof3-Dec-05 0:49
Yanshof3-Dec-05 0:49 
GeneralRe: Resize Controls at Runtime? Pin
dinh van hai4-Dec-05 15:57
dinh van hai4-Dec-05 15:57 
Questioncan i read content of a cell from dbgrid Pin
iman_kh2-Dec-05 20:24
iman_kh2-Dec-05 20:24 
Questionadding bit maps to menu items Pin
24891282-Dec-05 19:30
24891282-Dec-05 19:30 
AnswerRe: adding bit maps to menu items Pin
enjoycrack2-Dec-05 20:18
enjoycrack2-Dec-05 20:18 
Questionelliptical push buttons Pin
24891282-Dec-05 19:28
24891282-Dec-05 19:28 
AnswerRe: elliptical push buttons Pin
enjoycrack2-Dec-05 20:41
enjoycrack2-Dec-05 20:41 
Hi there,

You can develop your custom button control by writting your own control class that inherits from the standard button class System.Windows.Forms.Button and then you have to override the method OnPaint to paint your button
protected override void OnPaint(PaintEventArgs e)
{
//code to pain your button here
}

Hope this helps

<< >>
Questionwin32 api Pin
24891282-Dec-05 19:26
24891282-Dec-05 19:26 
AnswerRe: win32 api Pin
enjoycrack2-Dec-05 20:24
enjoycrack2-Dec-05 20:24 
AnswerRe: win32 api Pin
S. Senthil Kumar2-Dec-05 20:39
S. Senthil Kumar2-Dec-05 20:39 
Questionhow to scroll up/down the content in a tabpage by a custom button Pin
bc11182-Dec-05 18:55
bc11182-Dec-05 18:55 
AnswerRe: how to scroll up/down the content in a tabpage by a custom button Pin
naglbitur3-Dec-05 7:13
naglbitur3-Dec-05 7:13 
QuestionHow to refresh row background of listview control Pin
P. Gnana Prakash2-Dec-05 18:49
P. Gnana Prakash2-Dec-05 18:49 
QuestionAnyway around security warning when opening csproj in VS2005? Pin
Jim Bennett2-Dec-05 18:01
Jim Bennett2-Dec-05 18:01 
Questionconnection string in web.config file Pin
v.k.s2-Dec-05 17:07
v.k.s2-Dec-05 17:07 
AnswerRe: connection string in web.config file Pin
enjoycrack2-Dec-05 20:36
enjoycrack2-Dec-05 20:36 
AnswerRe: connection string in web.config file Pin
MudkiSekhon3-Dec-05 1:36
MudkiSekhon3-Dec-05 1:36 
QuestionMenuStrip ShortcutKeys Pin
khan20002-Dec-05 16:48
khan20002-Dec-05 16:48 
QuestionSysListView32 Events Pin
Clickok2-Dec-05 15:19
Clickok2-Dec-05 15:19 
QuestionDebug ARX in Autocad2006 Pin
GazzaGarray2-Dec-05 12:45
GazzaGarray2-Dec-05 12:45 
QuestionFile Operations Pin
dvsr2-Dec-05 11:50
dvsr2-Dec-05 11:50 
AnswerRe: File Operations Pin
S. Senthil Kumar2-Dec-05 23:23
S. Senthil Kumar2-Dec-05 23:23 
GeneralRe: File Operations Pin
dvsr5-Dec-05 3:46
dvsr5-Dec-05 3:46 
QuestionAssociating values to a combo box Pin
Caio19852-Dec-05 10:23
Caio19852-Dec-05 10:23 

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.