Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: Frames in axWebBrowser control Pin
Arun Chembilath30-Apr-11 7:10
Arun Chembilath30-Apr-11 7:10 
GeneralDLL import and parameters Pin
gmar9-Sep-03 0:56
gmar9-Sep-03 0:56 
GeneralRe: DLL import and parameters Pin
Jagadeesh VN9-Sep-03 3:49
Jagadeesh VN9-Sep-03 3:49 
GeneralDragDrop registration failed Pin
Nick Seng8-Sep-03 18:24
Nick Seng8-Sep-03 18:24 
Generalusing activex/com listeners (callbacks) Pin
olivier.fillon@csiro.au8-Sep-03 15:47
olivier.fillon@csiro.au8-Sep-03 15:47 
GeneralRe: I have problem to drop image files to PictureBox control... Pin
Nick Parker8-Sep-03 15:38
protectorNick Parker8-Sep-03 15:38 
GeneralRe: I have problem to drop image files to PictureBox control... Pin
Donald_a9-Sep-03 3:36
Donald_a9-Sep-03 3:36 
GeneralStatus Bar with Custom Panels Pin
Clarke768-Sep-03 14:12
Clarke768-Sep-03 14:12 
I have a statusbar which I have to draw custom panels onto inorder to changed the text color of the panel when an event happens. I add these panels in when a user does a certain action. I'm having a problem though. Everytime a new custom panel is added, it obviously re-draws the statusbar, but it changes all the panels to the same name. To try and correct this I added a foreach in, but all that did was change all the panels to the same name and write each name in the panels callection on top of each other. Any ideas on how I can solve this problem? -Thanks-

private void statusBar1_DrawItem(object sender, StatusBarDrawItemEventArgs sbdevent)
{
StringFormat sf = new StringFormat();
sf.Alignment = StringAlignment.Center;
sf.LineAlignment = StringAlignment.Center;

Graphics g = sbdevent.Graphics;
StatusBar sb = (StatusBar)sender;
RectangleF rectf = new RectangleF(sbdevent.Bounds.X, sbdevent.Bounds.Y, sbdevent.Bounds.Width, sbdevent.Bounds.Height);
g.DrawRectangle(p, sbdevent.Bounds);

foreach( StatusBarPanel panel in this.statusBar1.Panels )
{
g.DrawString( panel.Text, sb.Font, regularColor, rectf, sf );
}
}
GeneralGet window content as bitmap Pin
sumeat8-Sep-03 14:10
sumeat8-Sep-03 14:10 
GeneralRe: Get window content as bitmap Pin
azusakt8-Sep-03 15:36
azusakt8-Sep-03 15:36 
Generaltcpclient stream read Pin
mikemilano8-Sep-03 13:12
mikemilano8-Sep-03 13:12 
GeneralRe: tcpclient stream read Pin
leppie8-Sep-03 16:05
leppie8-Sep-03 16:05 
GeneralRe: tcpclient stream read Pin
leppie8-Sep-03 16:05
leppie8-Sep-03 16:05 
GeneralRe: tcpclient stream read Pin
Nick Parker8-Sep-03 16:25
protectorNick Parker8-Sep-03 16:25 
GeneralRe: tcpclient stream read Pin
TimK8-Sep-03 16:19
TimK8-Sep-03 16:19 
GeneralExtand and access the internat Microsoft Office object structure Pin
gicio8-Sep-03 9:47
gicio8-Sep-03 9:47 
GeneralJust a detailed question Pin
jphuphilly8-Sep-03 9:28
jphuphilly8-Sep-03 9:28 
GeneralRe: Just a detailed question Pin
leppie8-Sep-03 10:50
leppie8-Sep-03 10:50 
Questionwhat is the difference between [,] & [][]? Pin
yyf8-Sep-03 8:32
yyf8-Sep-03 8:32 
AnswerRe: what is the difference between [,] & [][]? Pin
David Stone8-Sep-03 9:06
sitebuilderDavid Stone8-Sep-03 9:06 
GeneralRe: what is the difference between [,] & [][]? Pin
Anonymous12-Sep-03 6:09
Anonymous12-Sep-03 6:09 
QuestionHow to realloc? Pin
yyf8-Sep-03 8:30
yyf8-Sep-03 8:30 
AnswerRe: How to realloc? Pin
Daniel Turini8-Sep-03 9:18
Daniel Turini8-Sep-03 9:18 
AnswerRe: How to realloc? Pin
Nemanja Trifunovic8-Sep-03 9:30
Nemanja Trifunovic8-Sep-03 9:30 
Generaliterating controls on the form Pin
mcgahanfl8-Sep-03 5:05
mcgahanfl8-Sep-03 5:05 

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.