Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
QuestionCom Port Emulation Pin
Harvey Saayman18-Sep-08 0:56
Harvey Saayman18-Sep-08 0:56 
AnswerRe: Com Port Emulation Pin
Mbah Dhaim18-Sep-08 3:52
Mbah Dhaim18-Sep-08 3:52 
QuestionWorking With MCI Control? Pin
developer.ravish18-Sep-08 0:43
developer.ravish18-Sep-08 0:43 
AnswerRe: Working With MCI Control? Pin
Giorgi Dalakishvili18-Sep-08 0:53
mentorGiorgi Dalakishvili18-Sep-08 0:53 
AnswerRe: Working With MCI Control? Pin
Mogaambo18-Sep-08 1:21
Mogaambo18-Sep-08 1:21 
QuestionRound Button Pin
developer.ravish18-Sep-08 0:38
developer.ravish18-Sep-08 0:38 
AnswerRe: Round Button Pin
Giorgi Dalakishvili18-Sep-08 0:52
mentorGiorgi Dalakishvili18-Sep-08 0:52 
AnswerRe: Round Button Pin
developer.ravish18-Sep-08 21:51
developer.ravish18-Sep-08 21:51 
// This method will change the square button to a circular button by
// creating a new circle-shaped GraphicsPath object and setting it
// to the RoundButton objects region.
private void roundButton_Paint(object sender,
System.Windows.Forms.PaintEventArgs e)
{

System.Drawing.Drawing2D.GraphicsPath buttonPath =
new System.Drawing.Drawing2D.GraphicsPath();

// Set a new rectangle to the same size as the button's
// ClientRectangle property.
System.Drawing.Rectangle newRectangle = roundButton.ClientRectangle;

// Decrease the size of the rectangle.
newRectangle.Inflate(-10, -10);

// Draw the button's border.
e.Graphics.DrawEllipse(System.Drawing.Pens.Black, newRectangle);

// Increase the size of the rectangle to include the border.
newRectangle.Inflate( 1, 1);

// Create a circle within the new rectangle.
buttonPath.AddEllipse(newRectangle);

// Set the button's Region property to the newly created
// circle region.
roundButton.Region = new System.Drawing.Region(buttonPath);

}
QuestionC# code for summing up Pin
Angelinna18-Sep-08 0:04
Angelinna18-Sep-08 0:04 
GeneralRe: C# code for summing up Pin
Pete O'Hanlon18-Sep-08 0:37
mvePete O'Hanlon18-Sep-08 0:37 
GeneralRe: C# code for summing up Pin
Angelinna18-Sep-08 1:34
Angelinna18-Sep-08 1:34 
AnswerRe: C# code for summing up Pin
leppie18-Sep-08 0:38
leppie18-Sep-08 0:38 
AnswerRe: C# code for summing up Pin
Guffa18-Sep-08 1:31
Guffa18-Sep-08 1:31 
GeneralRe: C# code for summing up Pin
Angelinna18-Sep-08 1:37
Angelinna18-Sep-08 1:37 
GeneralRe: C# code for summing up Pin
Guffa18-Sep-08 2:24
Guffa18-Sep-08 2:24 
GeneralRe: C# code for summing up Pin
Pete O'Hanlon18-Sep-08 3:53
mvePete O'Hanlon18-Sep-08 3:53 
AnswerRe: C# code for summing up Pin
Alan Balkany18-Sep-08 4:21
Alan Balkany18-Sep-08 4:21 
GeneralRe: C# code for summing up Pin
Angelinna18-Sep-08 4:44
Angelinna18-Sep-08 4:44 
QuestionUsing Microsoft.Office.Interop.Excell.dll to modify .xls file Pin
mcnam17-Sep-08 23:26
mcnam17-Sep-08 23:26 
Questionvarchar(max) vs varchar(50) Pin
Mogaambo17-Sep-08 23:03
Mogaambo17-Sep-08 23:03 
AnswerRe: varchar(max) vs varchar(50) Pin
leppie17-Sep-08 23:08
leppie17-Sep-08 23:08 
AnswerRe: varchar(max) vs varchar(50) Pin
Mogaambo17-Sep-08 23:26
Mogaambo17-Sep-08 23:26 
GeneralRe: varchar(max) vs varchar(50) Pin
leppie17-Sep-08 23:42
leppie17-Sep-08 23:42 
GeneralRe: varchar(max) vs varchar(50) Pin
Pete O'Hanlon18-Sep-08 0:30
mvePete O'Hanlon18-Sep-08 0:30 
QuestionHow to show event of a user control in property window Pin
Guru Call17-Sep-08 22:50
Guru Call17-Sep-08 22:50 

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.