Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Access dataset update into Sql sever Pin
pekhaleyogesh17-Oct-07 20:14
pekhaleyogesh17-Oct-07 20:14 
AnswerRe: Access dataset update into Sql sever Pin
Tobias Schoenig17-Oct-07 19:57
Tobias Schoenig17-Oct-07 19:57 
GeneralRe: Access dataset update into Sql sever Pin
pekhaleyogesh17-Oct-07 20:14
pekhaleyogesh17-Oct-07 20:14 
GeneralRe: Access dataset update into Sql sever Pin
I.explore.code17-Oct-07 21:44
I.explore.code17-Oct-07 21:44 
QuestionClick event in DOM document Pin
A.Asif17-Oct-07 19:37
A.Asif17-Oct-07 19:37 
AnswerRe: Click event in DOM document Pin
Guffa17-Oct-07 19:49
Guffa17-Oct-07 19:49 
QuestionHow to move picturebox along with cursor movements Pin
Chintan.Desai17-Oct-07 19:19
Chintan.Desai17-Oct-07 19:19 
AnswerRe: How to move picturebox along with cursor movements Pin
Abhijit Jana17-Oct-07 19:35
professionalAbhijit Jana17-Oct-07 19:35 
Hi Chintan,
Here is ur soln~Laugh | :laugh: Laugh | :laugh:
Delcare these varibale as private
Private dragging As Boolean
Private beginX, beginY As Integer

Private Sub PictureBox1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown
dragging = True
beginX = e.X
beginY = e.Y
End Sub

Private Sub PictureBox1_MouseUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseUp
dragging = False
End Sub

Private Sub PictureBox1_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
If dragging = True Then
PictureBox1.Location = New Point(PictureBox1.Location.X + e.X - beginX, PictureBox1.Location.Y + e.Y - beginY)
Me.Refresh()
End If
End Sub

Good luck Cool | :cool: Cool | :cool:


Let me know when done !!!! Wink | ;)








Happy Programming
-----
Abhijit

GeneralRe: How to move picturebox along with cursor movements Pin
Chintan.Desai25-Oct-07 22:55
Chintan.Desai25-Oct-07 22:55 
QuestionHow can I add properties to a property? Pin
JoeRip17-Oct-07 19:05
JoeRip17-Oct-07 19:05 
AnswerRe: How can I add properties to a property? Pin
JoeRip17-Oct-07 19:21
JoeRip17-Oct-07 19:21 
AnswerRe: How can I add properties to a property? Pin
Guffa17-Oct-07 20:01
Guffa17-Oct-07 20:01 
AnswerRe: How can I add properties to a property? Pin
N a v a n e e t h17-Oct-07 19:41
N a v a n e e t h17-Oct-07 19:41 
GeneralRe: How can I add properties to a property? Pin
JoeRip17-Oct-07 19:45
JoeRip17-Oct-07 19:45 
GeneralRe: How can I add properties to a property? Pin
N a v a n e e t h17-Oct-07 19:54
N a v a n e e t h17-Oct-07 19:54 
Questionclasses Pin
kabutar17-Oct-07 19:02
kabutar17-Oct-07 19:02 
AnswerRe: classes Pin
Chintan.Desai17-Oct-07 19:33
Chintan.Desai17-Oct-07 19:33 
GeneralRe: classes Pin
kabutar17-Oct-07 19:35
kabutar17-Oct-07 19:35 
Questionhow to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 16:51
kkun17-Oct-07 16:51 
AnswerRe: how to get the innerHtml from iframe in C# ? Pin
N a v a n e e t h17-Oct-07 18:58
N a v a n e e t h17-Oct-07 18:58 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 20:52
kkun17-Oct-07 20:52 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
N a v a n e e t h17-Oct-07 22:21
N a v a n e e t h17-Oct-07 22:21 
GeneralRe: how to get the innerHtml from iframe in C# ? [modified] Pin
kkun17-Oct-07 22:43
kkun17-Oct-07 22:43 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
lmoelleb17-Oct-07 22:24
lmoelleb17-Oct-07 22:24 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 23:02
kkun17-Oct-07 23:02 

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.