Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Pin
ThatsAlok9-Feb-10 20:03
ThatsAlok9-Feb-10 20:03 
QuestionApplication Compatibility and Startup Questions Pin
BlitzPackage9-Feb-10 4:55
BlitzPackage9-Feb-10 4:55 
AnswerRe: Application Compatibility and Startup Questions Pin
Tony Richards9-Feb-10 8:00
Tony Richards9-Feb-10 8:00 
QuestionHow to programmably release a virtual COM Port "In Use"? Pin
Member 30175479-Feb-10 4:15
Member 30175479-Feb-10 4:15 
AnswerRe: How to programmably release a virtual COM Port "In Use"? Pin
slebusch3-Aug-10 5:25
slebusch3-Aug-10 5:25 
QuestionHow to query WiFi access point for list of users connected to it ? Pin
blood_hl9-Feb-10 3:36
blood_hl9-Feb-10 3:36 
Questioncreating custom control that contains DialogResult [modified] Pin
sajjad.aghapouer9-Feb-10 3:21
sajjad.aghapouer9-Feb-10 3:21 
AnswerRe: creating custom control that contains DialogResult Pin
OriginalGriff9-Feb-10 4:38
mveOriginalGriff9-Feb-10 4:38 
What is the problem - it seems to work for me:
public partial class LabelClick : Label
    {
    public LabelClick()
        {
        InitializeComponent();
        }
    [Browsable(true),
    DefaultValue(typeof(System.Windows.Forms.DialogResult))]
    public DialogResult DialogResult
    { get; set; }
    private void LabelClick_Click(object sender, EventArgs e)
        {
        DialogResult = DialogResult.OK;
        }
    }

And in the form:
private void labelClick1_Click(object sender, EventArgs e)
    {
    DialogResult = labelClick1.DialogResult;
    }
Closes my form and returns DialogResult to Form.ShowDialog
What is it doing (or not doing) for you?
If Barbie is so popular, why do you have to buy her friends?

Eagles may soar, but weasels don't get sucked into jet engines.

If at first you don't succeed, destroy all evidence that you tried.

AnswerRe: creating custom control that contains DialogResult Pin
OriginalGriff9-Feb-10 5:11
mveOriginalGriff9-Feb-10 5:11 
GeneralRe: creating custom control that contains DialogResult Pin
sajjad.aghapouer9-Feb-10 6:43
sajjad.aghapouer9-Feb-10 6:43 
GeneralRe: creating custom control that contains DialogResult Pin
OriginalGriff9-Feb-10 9:24
mveOriginalGriff9-Feb-10 9:24 
QuestionHow to record or capture voices from speaker or sound card on my computer win7, not from microphone Pin
serkanweb9-Feb-10 2:54
serkanweb9-Feb-10 2:54 
AnswerRe: How to record or capture voices from speaker or sound card on my computer win7, not from microphone Pin
serkanweb9-Feb-10 23:39
serkanweb9-Feb-10 23:39 
Questionregarding Microsoft Sync Framework Pin
Tridip Bhattacharjee9-Feb-10 2:47
professionalTridip Bhattacharjee9-Feb-10 2:47 
QuestionInsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 1:17
Nematjon Rahmanov9-Feb-10 1:17 
AnswerRe: InsertMenuItem WinAPI problem Pin
Luc Pattyn9-Feb-10 1:25
sitebuilderLuc Pattyn9-Feb-10 1:25 
QuestionRe: InsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 1:47
Nematjon Rahmanov9-Feb-10 1:47 
AnswerRe: InsertMenuItem WinAPI problem Pin
Covean9-Feb-10 2:08
Covean9-Feb-10 2:08 
GeneralRe: InsertMenuItem WinAPI problem Pin
Nematjon Rahmanov9-Feb-10 2:33
Nematjon Rahmanov9-Feb-10 2:33 
GeneralRe: InsertMenuItem WinAPI problem Pin
Covean9-Feb-10 2:49
Covean9-Feb-10 2:49 
GeneralRe: InsertMenuItem WinAPI problem Pin
Decco28-Feb-10 23:27
Decco28-Feb-10 23:27 
QuestionSorting Pin
sachees1238-Feb-10 23:59
sachees1238-Feb-10 23:59 
AnswerRe: Sorting Pin
monstale9-Feb-10 0:38
monstale9-Feb-10 0:38 
GeneralRe: Sorting Pin
ThatsAlok9-Feb-10 0:57
ThatsAlok9-Feb-10 0:57 
AnswerRe: Sorting Pin
ThatsAlok9-Feb-10 0:41
ThatsAlok9-Feb-10 0:41 

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.