Click here to Skip to main content
15,887,346 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem reading child by attribute Pin
Not Active20-Mar-10 4:37
mentorNot Active20-Mar-10 4:37 
GeneralRe: problem reading child by attribute Pin
Jassim Rahma20-Mar-10 4:40
Jassim Rahma20-Mar-10 4:40 
GeneralRe: problem reading child by attribute Pin
Not Active20-Mar-10 6:50
mentorNot Active20-Mar-10 6:50 
AnswerRe: problem reading child by attribute Pin
Rod Kemp20-Mar-10 19:46
Rod Kemp20-Mar-10 19:46 
QuestionHttpWebRequest exception handling Pin
Evgeni5719-Mar-10 19:35
Evgeni5719-Mar-10 19:35 
AnswerRe: HttpWebRequest exception handling Pin
OriginalGriff19-Mar-10 22:50
mveOriginalGriff19-Mar-10 22:50 
GeneralRe: HttpWebRequest exception handling Pin
Luc Pattyn20-Mar-10 3:10
sitebuilderLuc Pattyn20-Mar-10 3:10 
Questionmean Pin
v_neil8719-Mar-10 18:52
v_neil8719-Mar-10 18:52 
what the meaning of this code?

class MouseInvoker
{
#region Declaration
[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo);

private const int MOUSEEVENTF_LEFTDOWN = 0x02;
private const int MOUSEEVENTF_LEFTUP = 0x04;
private const int MOUSEEVENTF_RIGHTDOWN = 0x08;
private const int MOUSEEVENTF_RIGHTUP = 0x10;
#endregion

#region Move Cursor
public static void move(int X, int Y)
{
Cursor.Position = new Point(X, Y);
}
#endregion

#region Left Click
public static void leftClick(int X, int Y, int count)
{
for (int c = 0; c < count; c++)
{
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, X, Y, 0, 0);
System.Threading.Thread.Sleep(100);
}
}
#endregion

#region Right Click
public static void rightClick(int X, int Y, int count)
{
for (int c = 0; c < count; c++)
{
mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, X, Y, 0, 0);
System.Threading.Thread.Sleep(100);
}
}
#endregion
}
AnswerRe: mean Pin
Rod Kemp19-Mar-10 19:35
Rod Kemp19-Mar-10 19:35 
AnswerRe: mean Pin
v_neil8719-Mar-10 19:43
v_neil8719-Mar-10 19:43 
AnswerRe: mean Pin
Not Active19-Mar-10 19:53
mentorNot Active19-Mar-10 19:53 
QuestionGetting a value from a constructor Pin
av725419-Mar-10 7:22
av725419-Mar-10 7:22 
AnswerRe: Getting a value from a constructor Pin
PIEBALDconsult19-Mar-10 7:27
mvePIEBALDconsult19-Mar-10 7:27 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 2:08
av725420-Mar-10 2:08 
GeneralRe: Getting a value from a constructor Pin
OriginalGriff20-Mar-10 2:55
mveOriginalGriff20-Mar-10 2:55 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 5:32
av725420-Mar-10 5:32 
GeneralRe: Getting a value from a constructor Pin
OriginalGriff20-Mar-10 6:53
mveOriginalGriff20-Mar-10 6:53 
GeneralRe: Getting a value from a constructor Pin
Phillip Donegan23-Mar-10 6:46
Phillip Donegan23-Mar-10 6:46 
AnswerRe: Getting a value from a constructor Pin
jayantbramhankar19-Mar-10 8:30
jayantbramhankar19-Mar-10 8:30 
GeneralRe: Getting a value from a constructor [modified] Pin
PIEBALDconsult19-Mar-10 8:58
mvePIEBALDconsult19-Mar-10 8:58 
GeneralRe: Getting a value from a constructor Pin
AspDotNetDev19-Mar-10 9:12
protectorAspDotNetDev19-Mar-10 9:12 
GeneralRe: Getting a value from a constructor Pin
PIEBALDconsult19-Mar-10 9:40
mvePIEBALDconsult19-Mar-10 9:40 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 2:12
av725420-Mar-10 2:12 
AnswerRe: Getting a value from a constructor Pin
PIEBALDconsult20-Mar-10 3:29
mvePIEBALDconsult20-Mar-10 3:29 
Questionfrom C++ dll to microsoft C# in .NET Pin
pedefetoll19-Mar-10 4:40
pedefetoll19-Mar-10 4:40 

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.