Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to access stored procedure Pin
Wendelius3-Oct-08 21:33
mentorWendelius3-Oct-08 21:33 
AnswerRe: How to access stored procedure Pin
TALHAKOSEN4-Oct-08 3:40
TALHAKOSEN4-Oct-08 3:40 
AnswerRe: How to access stored procedure Pin
Nouman Bhatti4-Oct-08 10:08
Nouman Bhatti4-Oct-08 10:08 
AnswerRe: How to access stored procedure Pin
Jaffer Mumtaz4-Oct-08 20:17
Jaffer Mumtaz4-Oct-08 20:17 
AnswerRe: How to access stored procedure Pin
Ashwin. Shetty4-Oct-08 20:48
Ashwin. Shetty4-Oct-08 20:48 
QuestionNot working : Wmv file to Flv file using C# Pin
elango.sham3-Oct-08 20:24
elango.sham3-Oct-08 20:24 
QuestionHow to get mouse pointer of object after using Graphics.ScaleTransform()? Pin
cocoonwls3-Oct-08 18:08
cocoonwls3-Oct-08 18:08 
AnswerRe: How to get mouse pointer of object after using Graphics.ScaleTransform()? Pin
cocoonwls15-Oct-08 0:10
cocoonwls15-Oct-08 0:10 
Dear all,

Finally i am find out a way to do that, below is the sample code Laugh | :laugh:

//in pixel
PointF ScalingFactor = new PointF(1, 1);
//get world position, zoomvalue is float type
PointF viewPoint = new PointF((float)(e.X) * (ScalingFactor.X / zoomvalue),
                             (float)(e.Y) * (ScalingFactor.Y / zoomvalue));
//replace the exsiting MouseEventArgs(e) and this will send to mouse event args
MouseEventArgs WorldPosition = new MouseEventArgs(e.Button, 
                                                  e.Clicks, 
                                                  (int)viewPoint .X, 
                                                  (int)viewPoint .Y, 
                                                  e.Delta);


Note: Example code refrence from project "DrawToolsForRoman"

regards,
cocoonwls
QuestionWebBrowser Control and Images Pin
#realJSOP3-Oct-08 17:18
professional#realJSOP3-Oct-08 17:18 
AnswerRe: WebBrowser Control and Images Pin
Jaime Olivares3-Oct-08 19:21
Jaime Olivares3-Oct-08 19:21 
GeneralRe: WebBrowser Control and Images [modified] Pin
#realJSOP3-Oct-08 22:48
professional#realJSOP3-Oct-08 22:48 
GeneralRe: WebBrowser Control and Images Pin
Jaime Olivares4-Oct-08 2:16
Jaime Olivares4-Oct-08 2:16 
GeneralRe: WebBrowser Control and Images Pin
#realJSOP4-Oct-08 2:35
professional#realJSOP4-Oct-08 2:35 
GeneralRe: WebBrowser Control and Images Pin
Jaime Olivares4-Oct-08 2:50
Jaime Olivares4-Oct-08 2:50 
GeneralRe: WebBrowser Control and Images Pin
#realJSOP4-Oct-08 3:13
professional#realJSOP4-Oct-08 3:13 
GeneralRe: WebBrowser Control and Images Pin
Wendelius4-Oct-08 7:14
mentorWendelius4-Oct-08 7:14 
GeneralRe: WebBrowser Control and Images Pin
#realJSOP4-Oct-08 8:42
professional#realJSOP4-Oct-08 8:42 
QuestionCannot implicitly convert type 'System.Web.UI.Control' to 'System.IO.MemoryStream' Pin
technette3-Oct-08 13:51
technette3-Oct-08 13:51 
AnswerRe: Cannot implicitly convert type 'System.Web.UI.Control' to 'System.IO.MemoryStream' Pin
Jaime Olivares3-Oct-08 19:33
Jaime Olivares3-Oct-08 19:33 
Questioncompare 2 datetime and get hours Pin
Mohammed Elkholy3-Oct-08 9:36
Mohammed Elkholy3-Oct-08 9:36 
AnswerRe: compare 2 datetime and get hours Pin
J4amieC3-Oct-08 9:56
J4amieC3-Oct-08 9:56 
AnswerRe: compare 2 datetime and get hours Pin
J$3-Oct-08 9:59
J$3-Oct-08 9:59 
QuestionPut sound on own simple program Pin
MorganSim3-Oct-08 8:46
MorganSim3-Oct-08 8:46 
AnswerRe: Put sound on own simple program Pin
DaveyM693-Oct-08 9:04
professionalDaveyM693-Oct-08 9:04 
QuestionRe: Put sound on own simple program Pin
MorganSim3-Oct-08 10:22
MorganSim3-Oct-08 10:22 

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.