Click here to Skip to main content
16,005,178 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question about form designer Pin
Ed.Poore24-Jan-07 12:40
Ed.Poore24-Jan-07 12:40 
QuestionSelectionStart error on custom TextBox... Pin
Lord Kixdemp24-Jan-07 10:04
Lord Kixdemp24-Jan-07 10:04 
AnswerRe: SelectionStart error on custom TextBox... Pin
Martin#24-Jan-07 10:20
Martin#24-Jan-07 10:20 
GeneralRe: SelectionStart error on custom TextBox... Pin
Lord Kixdemp24-Jan-07 11:58
Lord Kixdemp24-Jan-07 11:58 
GeneralRe: SelectionStart error on custom TextBox... Pin
Martin#24-Jan-07 19:42
Martin#24-Jan-07 19:42 
GeneralRe: SelectionStart error on custom TextBox... Pin
Lord Kixdemp27-Jan-07 16:41
Lord Kixdemp27-Jan-07 16:41 
QuestionChecking if a handler is sbuscribed to an event Pin
Dan Neely24-Jan-07 9:42
Dan Neely24-Jan-07 9:42 
AnswerRe: Checking if a handler is sbuscribed to an event Pin
Abisodun24-Jan-07 10:07
Abisodun24-Jan-07 10:07 
I think if you override the handler in a sub class you can use the new delegate to check for listeners.

public partial class myButton : Button
{
public myButton()
{
InitializeComponent();
}

public event ClickHandler Click1;
public delegate void ClickHandler(EventArgs e);

public myButton(IContainer container)
{
container.Add(this);

InitializeComponent();


}

protected override void OnClick(EventArgs e)
{
if (null != Click1)
Click1(e);

base.OnClick(e);
}

public bool HasListener
{
get { return (null != Click1); }
}
}


QuestionDatasets from SQL data Pin
~~~Johnny~~~24-Jan-07 9:09
~~~Johnny~~~24-Jan-07 9:09 
AnswerRe: Datasets from SQL data Pin
Christian Graus24-Jan-07 9:11
protectorChristian Graus24-Jan-07 9:11 
QuestionHow to call external application in C#.NET Pin
Eyungwah24-Jan-07 8:34
Eyungwah24-Jan-07 8:34 
AnswerRe: How to call external application in C#.NET Pin
Pete O'Hanlon24-Jan-07 8:37
mvePete O'Hanlon24-Jan-07 8:37 
AnswerRe: How to call external application in C#.NET Pin
dbrenth24-Jan-07 8:44
dbrenth24-Jan-07 8:44 
AnswerRe: How to call external application in C#.NET Pin
Eyungwah24-Jan-07 13:32
Eyungwah24-Jan-07 13:32 
GeneralRe: How to call external application in C#.NET Pin
Shajeel24-Jan-07 19:29
Shajeel24-Jan-07 19:29 
GeneralRe: How to call external application in C#.NET Pin
Seishin#25-Jan-07 3:27
Seishin#25-Jan-07 3:27 
QuestionHow to call external application in C#.NET Pin
Eyungwah24-Jan-07 8:28
Eyungwah24-Jan-07 8:28 
QuestionComparing large amounts of binary data Pin
sbpont24-Jan-07 8:27
sbpont24-Jan-07 8:27 
AnswerRe: Comparing large amounts of binary data Pin
Christian Graus24-Jan-07 9:09
protectorChristian Graus24-Jan-07 9:09 
AnswerRe: Comparing large amounts of binary data Pin
Guffa24-Jan-07 9:22
Guffa24-Jan-07 9:22 
AnswerRe: Comparing large amounts of binary data Pin
Luc Pattyn24-Jan-07 15:06
sitebuilderLuc Pattyn24-Jan-07 15:06 
QuestionRegistry Values Pin
CodeItWell24-Jan-07 8:22
CodeItWell24-Jan-07 8:22 
AnswerRe: Registry Values Pin
Martin#24-Jan-07 10:11
Martin#24-Jan-07 10:11 
AnswerRe: Registry Values Pin
Luc Pattyn24-Jan-07 16:25
sitebuilderLuc Pattyn24-Jan-07 16:25 
QuestionHidden Text From RichTextBox Pin
Abisodun24-Jan-07 7:34
Abisodun24-Jan-07 7:34 

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.