Click here to Skip to main content
14,487,309 members
   

C#

 
AnswerRe: Control Hardware through Software Pin
Alex@UEA22-Jul-08 5:02
MemberAlex@UEA22-Jul-08 5:02 
QuestionHow to remove a AddIn from VStudio 2008 Pin
Tomerland22-Jul-08 3:37
MemberTomerland22-Jul-08 3:37 
AnswerRe: How to remove a AddIn from VStudio 2008 Pin
Rob Siklos22-Jul-08 8:30
MemberRob Siklos22-Jul-08 8:30 
QuestionProblem in Remoting Pin
stancrm22-Jul-08 3:33
Memberstancrm22-Jul-08 3:33 
QuestionLogConsole? Recommendations? Pin
tkrn22-Jul-08 2:36
Membertkrn22-Jul-08 2:36 
AnswerRe: LogConsole? Recommendations? Pin
Mustafa Ismail Mustafa22-Jul-08 3:05
MemberMustafa Ismail Mustafa22-Jul-08 3:05 
AnswerRe: LogConsole? Recommendations? Pin
wurzel_cidermaker22-Jul-08 4:29
Memberwurzel_cidermaker22-Jul-08 4:29 
QuestionEvent handling in C# Pin
TheComputerMan22-Jul-08 2:13
MemberTheComputerMan22-Jul-08 2:13 
Hi, I am a VB.NET programmer trying to get to grips with C# and it seems as far as I can see that events in VB are very different in C#

I have this in VB:

Public Class CGeneralParameters
    Implements IDisposable
    Public Event ClassError(ByVal e As ClassErrorData, ByVal CriticalError As Boolean, ByVal MustDisplay As Boolean)
    Private m_strConnectionString As String = ""
    Private m_sAppData As String = ""
    Private e As ClassErrorData

The code translator has done this to it:

<pre>public class CGeneralParameters : IDisposable 
{
    <big>private ClassErrorData e;</big>
    private bool CriticalError;
    private bool MustDisplay;
    private string m_strConnectionString = "";
    private string m_sAppData = "";
    <big>private ClassErrorData e;</big>
    public CGeneralParameters() 
    {


and has pushed the structure to the end of the class.

Can I use events in this DLL to pass errors back to the calling program, or shouyld I be looking at another way to do this?
AnswerRe: Event handling in C# Pin
Mustafa Ismail Mustafa22-Jul-08 2:31
MemberMustafa Ismail Mustafa22-Jul-08 2:31 
AnswerRe: Event handling in C# Pin
Dave Doknjas22-Jul-08 13:20
MemberDave Doknjas22-Jul-08 13:20 
Questionsocket programming Pin
AlexPizzano22-Jul-08 1:43
MemberAlexPizzano22-Jul-08 1:43 
AnswerRe: socket programming Pin
stancrm22-Jul-08 1:46
Memberstancrm22-Jul-08 1:46 
AnswerRe: socket programming Pin
nelsonpaixao22-Jul-08 13:15
Membernelsonpaixao22-Jul-08 13:15 
QuestionC++ code to access .NET component Pin
Sitaram Sukumar22-Jul-08 1:35
MemberSitaram Sukumar22-Jul-08 1:35 
AnswerRe: C++ code to access .NET component Pin
stancrm22-Jul-08 1:43
Memberstancrm22-Jul-08 1:43 
QuestionGeneral Question of thread Pin
Mogaambo22-Jul-08 1:21
MemberMogaambo22-Jul-08 1:21 
AnswerRe: General Question of thread Pin
N a v a n e e t h22-Jul-08 1:38
MemberN a v a n e e t h22-Jul-08 1:38 
AnswerRe: General Question of thread Pin
Guffa22-Jul-08 2:09
MemberGuffa22-Jul-08 2:09 
QuestionRefreshing DatagridView Pin
Creamboy22-Jul-08 1:16
MemberCreamboy22-Jul-08 1:16 
AnswerRe: Refreshing DatagridView Pin
Mustafa Ismail Mustafa22-Jul-08 2:34
MemberMustafa Ismail Mustafa22-Jul-08 2:34 
AnswerRe: Refreshing DatagridView Pin
nelsonpaixao22-Jul-08 13:22
Membernelsonpaixao22-Jul-08 13:22 
QuestionHow to get RGB color values of web cam image Pin
DC22522-Jul-08 1:14
MemberDC22522-Jul-08 1:14 
AnswerRe: How to get RGB color values of web cam image Pin
Luc Pattyn22-Jul-08 2:23
sitebuilderLuc Pattyn22-Jul-08 2:23 
RantRe: How to get RGB color values of web cam image Pin
Laleen Dharmasena29-Oct-12 17:59
MemberLaleen Dharmasena29-Oct-12 17:59 
QuestionQuestion Pass certain variables to method. Pin
Member 426786722-Jul-08 0:53
MemberMember 426786722-Jul-08 0:53 

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.