Click here to Skip to main content
15,917,329 members
Home / Discussions / C#
   

C#

 
QuestionEnabling Event in Grid View [modified] Pin
D4u2-Sep-09 2:42
D4u2-Sep-09 2:42 
AnswerRe: Enabling Event in Grid View Pin
Richard MacCutchan2-Sep-09 5:34
mveRichard MacCutchan2-Sep-09 5:34 
Questionregarding patch development ?? Pin
Tridip Bhattacharjee2-Sep-09 0:21
professionalTridip Bhattacharjee2-Sep-09 0:21 
AnswerRe: regarding patch development ?? Pin
Christian Graus2-Sep-09 0:31
protectorChristian Graus2-Sep-09 0:31 
AnswerRe: regarding patch development ?? Pin
Nagy Vilmos2-Sep-09 1:40
professionalNagy Vilmos2-Sep-09 1:40 
AnswerRe: regarding patch development ?? Pin
Henry Minute2-Sep-09 2:25
Henry Minute2-Sep-09 2:25 
QuestionSplash Screen In C# ? :S Pin
Saad Shuja1-Sep-09 23:50
Saad Shuja1-Sep-09 23:50 
AnswerRe: Splash Screen In C# ? :S Pin
Programm3r2-Sep-09 0:07
Programm3r2-Sep-09 0:07 
AnswerRe: Splash Screen In C# ? :S Pin
stancrm2-Sep-09 0:33
stancrm2-Sep-09 0:33 
AnswerRe: Splash Screen In C# ? :S Pin
Swetha Srinivasan3-Sep-09 20:04
Swetha Srinivasan3-Sep-09 20:04 
GeneralRe: Splash Screen In C# ? :S Pin
Saad Shuja3-Sep-09 20:53
Saad Shuja3-Sep-09 20:53 
QuestionDataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
cuker11-Sep-09 23:28
cuker11-Sep-09 23:28 
AnswerRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
Eddy Vluggen2-Sep-09 1:04
professionalEddy Vluggen2-Sep-09 1:04 
GeneralRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
cuker16-Sep-09 20:38
cuker16-Sep-09 20:38 
GeneralRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
Eddy Vluggen6-Sep-09 20:51
professionalEddy Vluggen6-Sep-09 20:51 
Questionhow to show the data in datagrid with dropdownbox Pin
Manish791-Sep-09 23:27
Manish791-Sep-09 23:27 
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 
This works....

namespace Test
{

    public class MyPicturebox : System.Windows.Forms.PictureBox
    {

        //Image changed delegate
        public delegate void ImageChanged ( Object sender, EventArgs e );

        //event raised when image changed
        public event ImageChanged OnImageChange;

        //overridden/hidden Image property with event hooked up
        public new Image Image
        {
            get { return base.Image; }
            set
            {
                base.Image = value;
                if (OnImageChange != null)
                {
                    OnImageChange(this, new EventArgs());
                }
            }
        }

    }

    public partial class Form1 : Form
    {
        public Form1 ( )
        {
            InitializeComponent();
            PictureBox _PB = new PictureBox();
        }
    }
}



The only programmers that are better C# programmers, are those who look like this -> Green Alien | [Alien]



Java | [Coffee] Programm3r

My Blog: ^_^

GeneralRe: Image Changed in PictureBox Event Question Pin
rsbiz20048-Sep-09 23:19
rsbiz20048-Sep-09 23:19 
QuestionPaste Event Pin
cjb1101-Sep-09 21:48
cjb1101-Sep-09 21:48 

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.