Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
AnswerRe: Graphics ..with c # Pin
Christian Graus2-May-07 14:45
protectorChristian Graus2-May-07 14:45 
GeneralRe: Graphics ..with c # Pin
mr jets2-May-07 14:58
mr jets2-May-07 14:58 
GeneralRe: Graphics ..with c # Pin
Christian Graus2-May-07 15:28
protectorChristian Graus2-May-07 15:28 
QuestionHow to get a mini dump? Pin
Super Lloyd2-May-07 13:33
Super Lloyd2-May-07 13:33 
AnswerRe: How to get a mini dump? Pin
Super Lloyd2-May-07 17:20
Super Lloyd2-May-07 17:20 
QuestionSelect from another select statement to a repeater Pin
simsen2-May-07 11:28
simsen2-May-07 11:28 
QuestionHow can I have my Cursor visiable? Pin
Khoramdin2-May-07 11:26
Khoramdin2-May-07 11:26 
AnswerRe: How can I have my Cursor visiable? Pin
AFSEKI7-May-07 5:56
AFSEKI7-May-07 5:56 
1) Before toggling to full screen mode, store a reference to your main window.

2) then handle mouse_move events

3) call Cursor.Draw(..) to draw it on the form as (source code from MSDN Library):

private void DrawCursorsOnForm(Cursor cursor)
{
// If the form's cursor is not the Hand cursor and the
// Current cursor is the Default, Draw the specified
// cursor on the form in normal size and twice normal size.
if(this.Cursor != Cursors.Hand &
Cursor.Current == Cursors.Default)
{
// Draw the cursor stretched.
Graphics graphics = this.CreateGraphics();
Rectangle rectangle = new Rectangle(
new Point(10,10), new Size(cursor.Size.Width * 2,
cursor.Size.Height * 2));
cursor.DrawStretched(graphics, rectangle);

// Draw the cursor in normal size.
rectangle.Location = new Point(
rectangle.Width + rectangle.Location.X,
rectangle.Height + rectangle.Location.Y);
rectangle.Size = cursor.Size;
cursor.Draw(graphics, rectangle);

// Dispose of the cursor.
cursor.Dispose();
}
}

this is the first idea I had after 11 hours of non-stop programming, hope it helps...
QuestionUpdate() database from DataSet Pin
aecordoba2-May-07 10:58
aecordoba2-May-07 10:58 
AnswerRe: Update() database from DataSet Pin
Paul Conrad2-May-07 11:03
professionalPaul Conrad2-May-07 11:03 
GeneralRe: Update() database from DataSet Pin
Giorgi Dalakishvili2-May-07 11:11
mentorGiorgi Dalakishvili2-May-07 11:11 
GeneralRe: Update() database from DataSet Pin
aecordoba2-May-07 12:52
aecordoba2-May-07 12:52 
GeneralRe: Update() database from DataSet Pin
PIEBALDconsult2-May-07 11:19
mvePIEBALDconsult2-May-07 11:19 
GeneralRe: Update() database from DataSet Pin
Paul Conrad2-May-07 11:26
professionalPaul Conrad2-May-07 11:26 
GeneralRe: Update() database from DataSet Pin
PIEBALDconsult2-May-07 11:43
mvePIEBALDconsult2-May-07 11:43 
GeneralRe: Update() database from DataSet Pin
Paul Conrad2-May-07 11:49
professionalPaul Conrad2-May-07 11:49 
GeneralRe: Update() database from DataSet Pin
Dave Kreskowiak2-May-07 16:18
mveDave Kreskowiak2-May-07 16:18 
GeneralRe: Update() database from DataSet Pin
PIEBALDconsult2-May-07 20:04
mvePIEBALDconsult2-May-07 20:04 
GeneralRe: Update() database from DataSet Pin
Dave Kreskowiak3-May-07 13:26
mveDave Kreskowiak3-May-07 13:26 
GeneralRe: Update() database from DataSet Pin
PIEBALDconsult4-May-07 16:58
mvePIEBALDconsult4-May-07 16:58 
GeneralRe: Update() database from DataSet Pin
Dave Kreskowiak5-May-07 3:32
mveDave Kreskowiak5-May-07 3:32 
GeneralRe: Update() database from DataSet Pin
PIEBALDconsult5-May-07 3:59
mvePIEBALDconsult5-May-07 3:59 
GeneralRe: Update() database from DataSet Pin
Dave Kreskowiak5-May-07 18:04
mveDave Kreskowiak5-May-07 18:04 
GeneralRe: Update() database from DataSet Pin
aecordoba2-May-07 12:57
aecordoba2-May-07 12:57 
AnswerRe: Update() database from DataSet Pin
PIEBALDconsult2-May-07 11:14
mvePIEBALDconsult2-May-07 11:14 

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.