Click here to Skip to main content
15,913,836 members
Home / Discussions / C#
   

C#

 
GeneralRe: Marshal.Copy Pin
oobimoo20-Sep-08 2:25
oobimoo20-Sep-08 2:25 
QuestionHow can i create a single instance while deploying an software? Pin
maifs20-Sep-08 1:01
maifs20-Sep-08 1:01 
AnswerRe: How can i create a single instance while deploying an software? Pin
Giorgi Dalakishvili20-Sep-08 1:05
mentorGiorgi Dalakishvili20-Sep-08 1:05 
Questionwhen user draw all the things on form he can save all it, in that position,in that size or in that color...How it is? Pin
maifs20-Sep-08 0:59
maifs20-Sep-08 0:59 
AnswerRe: when user draw all the things on form he can save all it, in that position,in that size or in that color...How it is? Pin
Giorgi Dalakishvili20-Sep-08 1:05
mentorGiorgi Dalakishvili20-Sep-08 1:05 
Questioncatch exception Pin
reza assar19-Sep-08 23:48
reza assar19-Sep-08 23:48 
QuestionCheckBox with DoubleClick Function Pin
desperC19-Sep-08 22:21
desperC19-Sep-08 22:21 
AnswerRe: CheckBox with DoubleClick Function Pin
DaveyM6919-Sep-08 23:01
professionalDaveyM6919-Sep-08 23:01 
Right click and Double click functionality are disabled in the source for the check box so you'll heve to create your own.

This should get you started
public class MyCheck : CheckBox
{
    [Browsable(true)]
    public new event MouseEventHandler MouseDoubleClick;
    public MyCheck()
    {
        SetStyle(ControlStyles.StandardClick |
                 ControlStyles.StandardDoubleClick, true);
    }
    protected override void OnMouseDoubleClick(MouseEventArgs e)
    {
        if (e.Button== MouseButtons.Right && MouseDoubleClick != null)
            MouseDoubleClick(this, e);
    }
}
You'll need to stop the right click from changing the CheckedState though and there's probably other functionality that maybe a little strange or broken so test it thoroughly.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Expect everything to be hard and then enjoy the things that come easy. (code-frog)

GeneralRe: CheckBox with DoubleClick Function Pin
desperC19-Sep-08 23:28
desperC19-Sep-08 23:28 
GeneralRe: CheckBox with DoubleClick Function Pin
DaveyM6919-Sep-08 23:54
professionalDaveyM6919-Sep-08 23:54 
QuestionWindows mobile automatic internet connection - C# Pin
trubarr19-Sep-08 22:16
trubarr19-Sep-08 22:16 
QuestionPlease I need your help...How to Work with Graphics in C# Pin
Programmer.Nick19-Sep-08 20:53
Programmer.Nick19-Sep-08 20:53 
AnswerRe: Please I need your help...How to Work with Graphics in C# Pin
DaveyM6919-Sep-08 22:24
professionalDaveyM6919-Sep-08 22:24 
GeneralRe: Please I need your help...How to Work with Graphics in C# Pin
Programmer.Nick19-Sep-08 22:50
Programmer.Nick19-Sep-08 22:50 
AnswerRe: Please I need your help...How to Work with Graphics in C# Pin
Harvey Saayman20-Sep-08 0:30
Harvey Saayman20-Sep-08 0:30 
GeneralRe: Please I need your help...How to Work with Graphics in C# Pin
Programmer.Nick20-Sep-08 1:44
Programmer.Nick20-Sep-08 1:44 
GeneralRe: Please I need your help...How to Work with Graphics in C# Pin
Harvey Saayman20-Sep-08 1:46
Harvey Saayman20-Sep-08 1:46 
QuestionHow to use asmx file Pin
potter_Anil19-Sep-08 19:46
potter_Anil19-Sep-08 19:46 
AnswerRe: How to use asmx file Pin
DaveyM6919-Sep-08 22:22
professionalDaveyM6919-Sep-08 22:22 
QuestionBackgroundworker with EventWaitHandle no respond???? Pin
mimimimilaw19-Sep-08 16:15
mimimimilaw19-Sep-08 16:15 
AnswerRe: Backgroundworker with EventWaitHandle no respond???? Pin
Nicholas Butler20-Sep-08 0:09
sitebuilderNicholas Butler20-Sep-08 0:09 
QuestionTreeView; adding children to parentNodes assistance needed. Pin
HellTriX19-Sep-08 15:22
HellTriX19-Sep-08 15:22 
AnswerRe: TreeView; adding children to parentNodes assistance needed. Pin
DaveyM6919-Sep-08 22:16
professionalDaveyM6919-Sep-08 22:16 
QuestionHow can we override OnFormClosing method ? Pin
Mohammad Dayyan19-Sep-08 13:09
Mohammad Dayyan19-Sep-08 13:09 
AnswerRe: How can we override OnFormClosing method ? Pin
Mbah Dhaim19-Sep-08 13:44
Mbah Dhaim19-Sep-08 13:44 

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.