Click here to Skip to main content
15,914,323 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exposing class library to COM Pin
Judah Gabriel Himango2-Feb-05 8:34
sponsorJudah Gabriel Himango2-Feb-05 8:34 
GeneralConverting int / long to byte[] Pin
Tristan Rhodes2-Feb-05 4:22
Tristan Rhodes2-Feb-05 4:22 
GeneralRe: Converting int / long to byte[] Pin
Some Idiot2-Feb-05 4:39
Some Idiot2-Feb-05 4:39 
GeneralRe: Converting int / long to byte[] Pin
Tristan Rhodes2-Feb-05 6:27
Tristan Rhodes2-Feb-05 6:27 
GeneralCalling Functions in Other Forms. Pin
Dwayner792-Feb-05 4:17
Dwayner792-Feb-05 4:17 
GeneralRe: Calling Functions in Other Forms. Pin
Michael Potter2-Feb-05 4:57
Michael Potter2-Feb-05 4:57 
GeneralRe: Calling Functions in Other Forms. Pin
Dwayner792-Feb-05 6:25
Dwayner792-Feb-05 6:25 
GeneralRe: Calling Functions in Other Forms. Pin
Michael Potter2-Feb-05 7:32
Michael Potter2-Feb-05 7:32 
This not MS way (they use EventArgs as the base) but here is a short snippet from one of my early project that may lead you in the right direction.

#namespace TabCode
{
public class TabChoice
{
     public string Text;
     public bool Active;	

     public TabChoice(string text, bool active)
     {
          Text = text;
          Active = active;
     }
}

public delegate void TabPanelChangeEvent(TabChoice choice);

public class TabPanel : Panel
{
     private ArrayList _choices;
     public TabPanelChangeEvent Change = null;

     private void FireChange(int index)
     {
          if (Change != null)
          {
               Change((TabChoice)_choices[index]);
          }
     }

     // Skipping alot of code for brevity.......
}
}

GeneralRe: Calling Functions in Other Forms. Pin
Dwayner792-Feb-05 8:10
Dwayner792-Feb-05 8:10 
GeneralRe: Calling Functions in Other Forms. Pin
Michael Potter2-Feb-05 10:08
Michael Potter2-Feb-05 10:08 
GeneralRe: Calling Functions in Other Forms. Pin
Dwayner792-Feb-05 11:19
Dwayner792-Feb-05 11:19 
GeneralRe: Calling Functions in Other Forms. Pin
Michael Potter2-Feb-05 11:36
Michael Potter2-Feb-05 11:36 
GeneralRe: Calling Functions in Other Forms. Pin
Dwayner793-Feb-05 1:37
Dwayner793-Feb-05 1:37 
GeneralRe: Calling Functions in Other Forms. Pin
Robert Rohde2-Feb-05 8:44
Robert Rohde2-Feb-05 8:44 
GeneralRe: Calling Functions in Other Forms. Pin
Dwayner792-Feb-05 11:21
Dwayner792-Feb-05 11:21 
GeneralImpersonation Pin
Esmo20002-Feb-05 4:12
Esmo20002-Feb-05 4:12 
GeneralRe: Impersonation Pin
Esmo20002-Feb-05 10:47
Esmo20002-Feb-05 10:47 
GeneralFades / Swipe in directX Pin
SquallBlade2-Feb-05 3:59
SquallBlade2-Feb-05 3:59 
GeneralNetworkStream - Asynchronous vs Synchronous Pin
Tristan Rhodes2-Feb-05 3:28
Tristan Rhodes2-Feb-05 3:28 
GeneralReally simple question... Pin
Gavin Jeffrey2-Feb-05 2:48
Gavin Jeffrey2-Feb-05 2:48 
GeneralRe: Really simple question... Pin
aswanee2-Feb-05 3:27
aswanee2-Feb-05 3:27 
GeneralRe: Really simple question... Pin
Dave Kreskowiak2-Feb-05 4:42
mveDave Kreskowiak2-Feb-05 4:42 
GeneralRTD (real Time Data) problem Pin
aswanee2-Feb-05 2:12
aswanee2-Feb-05 2:12 
GeneralRe: RTD (real Time Data) problem Pin
Dave Kreskowiak2-Feb-05 4:38
mveDave Kreskowiak2-Feb-05 4:38 
Questionhow to read an xml file Pin
Bhupendr2-Feb-05 1:13
Bhupendr2-Feb-05 1:13 

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.