Click here to Skip to main content
15,847,653 members
Home / Discussions / C#
   

C#

 
GeneralRe: Minimize all open programs Pin
anderslundsgard5-Apr-07 1:50
anderslundsgard5-Apr-07 1:50 
GeneralRe: Minimize all open programs Pin
originSH5-Apr-07 3:15
originSH5-Apr-07 3:15 
GeneralRe: Minimize all open programs Pin
anderslundsgard5-Apr-07 3:28
anderslundsgard5-Apr-07 3:28 
GeneralRe: Minimize all open programs Pin
originSH5-Apr-07 5:14
originSH5-Apr-07 5:14 
Questionhow to listen a connection from a specific IP address? Pin
F.E.L.I.X.4-Apr-07 23:16
F.E.L.I.X.4-Apr-07 23:16 
QuestionSome vb to c# Pin
akkram4-Apr-07 22:30
akkram4-Apr-07 22:30 
AnswerRe: Some vb to c# Pin
akkram4-Apr-07 23:18
akkram4-Apr-07 23:18 
AnswerRe: Some vb to c# Pin
Dave Doknjas5-Apr-07 13:50
Dave Doknjas5-Apr-07 13:50 
Hopefully the site you found is good.
Otherwise, here's the conversion produced by Instant C# (I added class headers, etc. to get it into somewhat compilable VB format first):

internal class UIController
{
public delegate void ExitApplicationEventHandler();
public event ExitApplicationEventHandler ExitApplication;

public void ExitApp(object sender, System.EventArgs e)
{
if (ExitApplication != null)
ExitApplication();
}
}

internal class WinForm
{
private UIController controller;

private void FormLoad()
{
this.controller = new UIController(this);
controller.ExitTheApp += new System.EventHandler(this.FormMainExit);
}

private void FormMainExit()
{
this.Close();
}
}


David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter, VB to C++ converter
Instant Python: C# to Python converter, VB to Python converter

Questionhow to overcome this exception --in ClickonceDeployment INVALIDDEPLOYMENTEXEPTION, --"Application in not installed" Pin
pashitech4-Apr-07 22:21
pashitech4-Apr-07 22:21 
Questionhow to enable & disable USB ports from .NET applications? Pin
abyclassic4-Apr-07 22:20
abyclassic4-Apr-07 22:20 
AnswerRe: how to enable & disable USB ports from .NET applications? Pin
Niiiissssshhhhhuuuuu4-Apr-07 23:34
Niiiissssshhhhhuuuuu4-Apr-07 23:34 
GeneralRe: how to enable & disable USB ports from .NET applications? Pin
abyclassic8-Apr-07 20:40
abyclassic8-Apr-07 20:40 
QuestionC# API Doc Generator Pin
Ollie19864-Apr-07 21:59
Ollie19864-Apr-07 21:59 
AnswerRe: C# API Doc Generator Pin
Stefan Troschuetz4-Apr-07 22:10
Stefan Troschuetz4-Apr-07 22:10 
QuestionDocking Form? Pin
Muhammad Nauman Yousuf4-Apr-07 21:48
Muhammad Nauman Yousuf4-Apr-07 21:48 
AnswerRe: Docking Form? Pin
__DanC__4-Apr-07 23:31
__DanC__4-Apr-07 23:31 
QuestionHow can i rename a file on ftp with .net1.1? Pin
Nafiseh Salmani4-Apr-07 21:34
Nafiseh Salmani4-Apr-07 21:34 
AnswerRe: How can i rename a file on ftp with .net1.1? Pin
andre_swnpl4-Apr-07 21:43
andre_swnpl4-Apr-07 21:43 
GeneralRe: How can i rename a file on ftp with .net1.1? Pin
Nafiseh Salmani4-Apr-07 21:56
Nafiseh Salmani4-Apr-07 21:56 
GeneralRe: How can i rename a file on ftp with .net1.1? Pin
andre_swnpl4-Apr-07 22:06
andre_swnpl4-Apr-07 22:06 
QuestionQuery. Pin
Nekshan4-Apr-07 20:52
Nekshan4-Apr-07 20:52 
AnswerRe: Query. Pin
andre_swnpl4-Apr-07 21:40
andre_swnpl4-Apr-07 21:40 
QuestionRegular Expression to remove single line comments Pin
irsh_is4-Apr-07 20:49
irsh_is4-Apr-07 20:49 
QuestionTo get the country names Pin
John.L.Ponratnam4-Apr-07 20:49
John.L.Ponratnam4-Apr-07 20:49 
AnswerRe: To get the country names Pin
Tamimi - Code4-Apr-07 21:38
Tamimi - Code4-Apr-07 21:38 

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.