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

C#

 
Questionadding more than one control to the single cell in datagridview control [modified] Pin
myms.net19-Mar-09 1:51
myms.net19-Mar-09 1:51 
AnswerRe: adding more than one control to the single cell in datagridview control Pin
musefan19-Mar-09 2:20
musefan19-Mar-09 2:20 
GeneralRe: adding more than one control to the single cell in datagridview control Pin
myms.net19-Mar-09 2:24
myms.net19-Mar-09 2:24 
GeneralRe: adding more than one control to the single cell in datagridview control Pin
musefan19-Mar-09 2:37
musefan19-Mar-09 2:37 
GeneralRe: adding more than one control to the single cell in datagridview control Pin
myms.net19-Mar-09 2:45
myms.net19-Mar-09 2:45 
GeneralRe: adding more than one control to the single cell in datagridview control Pin
musefan19-Mar-09 2:48
musefan19-Mar-09 2:48 
QuestionThreading Questions - Object Ownership Pin
Jammer19-Mar-09 1:33
Jammer19-Mar-09 1:33 
AnswerRe: Threading Questions - Object Ownership Pin
Fayu19-Mar-09 3:09
Fayu19-Mar-09 3:09 
Change the signature for the OnThreadCompleted method and try the following.. I have not tested the code:

private void OnThreadCompleted(object sender, ThreadCompleteEventArgs e)
{
    System.ComponentModel.ISynchronizeInvoke sync;

    if (ThreadCompleted != null)
    {
        foreach (Delegate d in this.ThreadCompleted.GetInvocationList())
        {
            sync = d as System.ComponentModel.ISynchronizeInvoke;
            if (sync != null)
            {
                if (sync.InvokeRequired)
                {
                    ThreadCompleterEventHandler del = new ThreadCompleterEventHandler(OnThreadCompleted);
                    object[] args ={ sender, e };
                    sync.BeginInvoke(del, args);
                    return;
                }
            }
            this.ThreadCompleted(sender, e);
        }
    }
}

GeneralRe: Threading Questions - Object Ownership Pin
Jammer19-Mar-09 4:44
Jammer19-Mar-09 4:44 
GeneralRe: Threading Questions - Object Ownership Pin
Fayu19-Mar-09 5:33
Fayu19-Mar-09 5:33 
GeneralRe: Threading Questions - Object Ownership Pin
Jammer19-Mar-09 8:57
Jammer19-Mar-09 8:57 
GeneralRe: Threading Questions - Object Ownership Pin
Fayu19-Mar-09 9:44
Fayu19-Mar-09 9:44 
GeneralRe: Threading Questions - Object Ownership [modified] Pin
Fayu19-Mar-09 13:40
Fayu19-Mar-09 13:40 
QuestionUsing Rejex to validate user name Pin
shabya19-Mar-09 1:24
shabya19-Mar-09 1:24 
AnswerRe: Using Rejex to validate user name Pin
musefan19-Mar-09 1:40
musefan19-Mar-09 1:40 
GeneralRe: Using Rejex to validate user name Pin
shabya19-Mar-09 2:42
shabya19-Mar-09 2:42 
GeneralRe: Using Rejex to validate user name Pin
musefan19-Mar-09 2:46
musefan19-Mar-09 2:46 
GeneralRe: Using Rejex to validate user name Pin
Ian Shlasko19-Mar-09 3:27
Ian Shlasko19-Mar-09 3:27 
GeneralRe: Using Rejex to validate user name Pin
musefan19-Mar-09 3:31
musefan19-Mar-09 3:31 
GeneralRe: Using Rejex to validate user name Pin
shabya19-Mar-09 3:59
shabya19-Mar-09 3:59 
AnswerRe: Using Rejex to validate user name Pin
Eslam Afifi19-Mar-09 3:26
Eslam Afifi19-Mar-09 3:26 
GeneralRe: Using Rejex to validate user name Pin
shabya19-Mar-09 3:57
shabya19-Mar-09 3:57 
QuestionSerialization Pin
Paul Unsworth19-Mar-09 1:03
Paul Unsworth19-Mar-09 1:03 
AnswerRe: Serialization Pin
Cracked-Down19-Mar-09 1:10
Cracked-Down19-Mar-09 1:10 
AnswerRe: Serialization Pin
Cracked-Down19-Mar-09 1:23
Cracked-Down19-Mar-09 1:23 

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.