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

C#

 
GeneralRe: Volatile?? :confused: Pin
MarkB77711-Feb-08 16:30
MarkB77711-Feb-08 16:30 
GeneralRe: Volatile?? :confused: Pin
geekfromindia11-Feb-08 17:09
geekfromindia11-Feb-08 17:09 
GeneralRe: Volatile?? :confused: Pin
Guffa11-Feb-08 22:59
Guffa11-Feb-08 22:59 
GeneralRe: Volatile?? :confused: Pin
Daniel Grunwald12-Feb-08 0:25
Daniel Grunwald12-Feb-08 0:25 
Generalvoice chatting over lan or simpy between two pcs Pin
rao raja11-Feb-08 11:49
rao raja11-Feb-08 11:49 
GeneralRe: voice chatting over lan or simpy between two pcs Pin
led mike11-Feb-08 11:59
led mike11-Feb-08 11:59 
GeneralRe: voice chatting over lan or simpy between two pcs Pin
User 665811-Feb-08 11:59
User 665811-Feb-08 11:59 
GeneralProblem with DialogResult Pin
shea85111-Feb-08 11:10
shea85111-Feb-08 11:10 
Hello,

I'm working in MS Visual C# 2005 Express.

I recently stumbled upon a nice "vista-like" button class posted here on codeproject.
http://www.codeproject.com/KB/miscctrl/VistaButton.aspx[^]

It's worked fine for one of my projects, except that I cannot set the DialogResult on one of those custom buttons, like you can a regular button.

I'm trying to add it manually into the vistabutton User Control but I have no luck so far. This is what I have added:

private DialogResult dResult = DialogResult.OK;<br />
      <br />
      public DialogResult DialogResult<br />
      {<br />
          get { return DialogResult.OK; }<br />
          set { dResult = value; }<br />
      }


And i'm trying to use it like this in my designer code:

this.button8.DialogResult = System.Windows.Forms.DialogResult.OK;

I'm still a newb coder, can someone point out my errors? It compiles and runs fine.. but doesn't return the dialogresult
GeneralRe: Problem with DialogResult Pin
shea85111-Feb-08 11:32
shea85111-Feb-08 11:32 
GeneralRe: Problem with DialogResult Pin
DaveyM6911-Feb-08 11:51
professionalDaveyM6911-Feb-08 11:51 
GeneralRe: Problem with DialogResult Pin
shea85111-Feb-08 12:18
shea85111-Feb-08 12:18 
GeneralMy project is not reflecting current changes Pin
R.A.C11-Feb-08 9:45
R.A.C11-Feb-08 9:45 
GeneralRe: My project is not reflecting current changes Pin
Pete O'Hanlon11-Feb-08 10:06
mvePete O'Hanlon11-Feb-08 10:06 
GeneralRe: My project is not reflecting current changes Pin
Luc Pattyn11-Feb-08 10:38
sitebuilderLuc Pattyn11-Feb-08 10:38 
QuestionUDP Send function sends duplicate data Pin
Chase Davis11-Feb-08 9:34
Chase Davis11-Feb-08 9:34 
GeneralRe: UDP Send function sends duplicate data Pin
led mike11-Feb-08 10:01
led mike11-Feb-08 10:01 
GeneralRe: UDP Send function sends duplicate data Pin
Chase Davis11-Feb-08 11:09
Chase Davis11-Feb-08 11:09 
GeneralRe: UDP Send function sends duplicate data Pin
led mike11-Feb-08 11:16
led mike11-Feb-08 11:16 
GeneralRe: UDP Send function sends duplicate data Pin
Chase Davis11-Feb-08 12:30
Chase Davis11-Feb-08 12:30 
GeneralRe: UDP Send function sends duplicate data Pin
led mike12-Feb-08 9:30
led mike12-Feb-08 9:30 
Generalan application for showing shared files using c# and .net Pin
addemy11-Feb-08 7:24
addemy11-Feb-08 7:24 
GeneralRe: an application for showing shared files using c# and .net Pin
led mike11-Feb-08 7:51
led mike11-Feb-08 7:51 
GeneralRe: an application for showing shared files using c# and .net Pin
addemy11-Feb-08 7:59
addemy11-Feb-08 7:59 
GeneralRe: an application for showing shared files using c# and .net [modified] Pin
led mike11-Feb-08 8:13
led mike11-Feb-08 8:13 
Generalsystem.drawing.color [modified] Pin
s3rro11-Feb-08 7:11
s3rro11-Feb-08 7:11 

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.