Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to show the data in datagrid with dropdownbox Pin
Jacobb Michael1-Sep-09 23:48
Jacobb Michael1-Sep-09 23:48 
GeneralRe: how to show the data in datagrid with dropdownbox Pin
Manish792-Sep-09 0:07
Manish792-Sep-09 0:07 
GeneralRe: how to show the data in datagrid with dropdownbox Pin
Jacobb Michael2-Sep-09 5:41
Jacobb Michael2-Sep-09 5:41 
QuestionPlaying for medias using AxMediaPlayer [modified] Pin
Yonathan11111-Sep-09 23:19
professionalYonathan11111-Sep-09 23:19 
AnswerRe: axmediaplayer Pin
stancrm1-Sep-09 23:36
stancrm1-Sep-09 23:36 
QuestionImage Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:19
Programm3r1-Sep-09 23:19 
AnswerRe: Image Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:28
Programm3r1-Sep-09 23:28 
GeneralRe: Image Changed in PictureBox Event Question Pin
rsbiz20048-Sep-09 23:19
rsbiz20048-Sep-09 23:19 
' This picturebox has BeforeImageChanged and AfterImageChanged events.
' Taken from http://thedotnet.com/nntp/96040/showpost.aspx
'
Imports System
Imports System.Windows.Forms
Imports System.Drawing
'
Public Class MyPictureBox

Inherits PictureBox
Private _image As System.Drawing.Image = Nothing
Public Event BeforeImageChanged(ByVal sender As Object, ByVal e As EventArgsImageChanged)
Public Event AfterImageChanged(ByVal sender As Object, ByVal e As EventArgsImageChanged)

Public Shadows Property Image() As Image
Get
Return _image
End Get
Set(ByVal Value As Image)

If Not Value Is _image Then
If Me.DesignMode Then
MyBase.Image = Value
_image = Value
Else
Dim ea As New EventArgsImageChanged
If _image IsNot Nothing Then
RaiseEvent BeforeImageChanged(Me, ea)
If ea.Cancel Then
Exit Property
End If
End If
MyBase.Image = Value
_image = Value
RaiseEvent AfterImageChanged(Me, ea)
End If
End If
End Set
End Property
End Class
Public Class EventArgsImageChanged
Inherits EventArgs
Private _cancel As Boolean = False
Public Property Cancel() As Boolean
Get
Return _cancel
End Get
Set(ByVal Value As Boolean)
_cancel = Value
End Set
End Property
End Class
QuestionPaste Event Pin
cjb1101-Sep-09 21:48
cjb1101-Sep-09 21:48 
AnswerRe: Paste Event Pin
Hristo-Bojilov1-Sep-09 22:25
Hristo-Bojilov1-Sep-09 22:25 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 6:53
cjb1102-Sep-09 6:53 
GeneralRe: Paste Event Pin
Hristo-Bojilov2-Sep-09 9:43
Hristo-Bojilov2-Sep-09 9:43 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 10:40
cjb1102-Sep-09 10:40 
AnswerRe: Paste Event Pin
Jacobb Michael2-Sep-09 6:50
Jacobb Michael2-Sep-09 6:50 
QuestionThe stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama1-Sep-09 20:40
mbyamukama1-Sep-09 20:40 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Christian Graus1-Sep-09 21:03
protectorChristian Graus1-Sep-09 21:03 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan1-Sep-09 21:38
mveRichard MacCutchan1-Sep-09 21:38 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama6-Sep-09 20:09
mbyamukama6-Sep-09 20:09 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan7-Sep-09 0:53
mveRichard MacCutchan7-Sep-09 0:53 
QuestionLet "Console-Application" running Pin
softwarejaeger1-Sep-09 20:37
softwarejaeger1-Sep-09 20:37 
AnswerRe: Let "Console-Application" running Pin
SeMartens1-Sep-09 21:00
SeMartens1-Sep-09 21:00 
GeneralRe: Let "Console-Application" running Pin
Mycroft Holmes1-Sep-09 21:22
professionalMycroft Holmes1-Sep-09 21:22 
GeneralRe: Let "Console-Application" running Pin
SeMartens1-Sep-09 21:39
SeMartens1-Sep-09 21:39 
GeneralRe: Let "Console-Application" running Pin
PIEBALDconsult2-Sep-09 3:28
mvePIEBALDconsult2-Sep-09 3:28 
AnswerRe: Let "Console-Application" running Pin
Mirko19801-Sep-09 22:50
Mirko19801-Sep-09 22:50 

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.