Changing Code From VB to C#

OK, so it was a ready to go home for the weekend thing, we have Launch. Today's issue is how do I get it to open the form with the selected data I want. I think I have the code in VB, BUT the C# is still kicking my butt.

Brenda

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of brenda mohr
Sent: Friday, August 30, 2013 2:51 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Changing Code From VB to C#



Did you get anywhere with this? Mine Compiles, but nothing "Launches"....... sadness

Brenda

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of clederer@...<mailto:clederer%40att.net>
Sent: Thursday, August 15, 2013 10:36 AM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Changing Code From VB to C#

Working on a customization and the page is in C# when I only have the code in Visual Basic. Does anyone know how to convert this piece of code from VB to C#?

Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
'// ** Place Event Handling Code Here **
ProcessCaller.LaunchForm(oTrans, "UDRpt01")
End Sub

THIS IS WHAT I HAVE SO FAR:

private void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
}

ALL I NEED IS THIS LINE:

ProcessCaller.LaunchForm(oTrans, "UDRpt01")

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Working on a customization and the page is in C# when I only have the code in Visual Basic. Does anyone know how to convert this piece of code from VB to C#?

Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
'// ** Place Event Handling Code Here **
ProcessCaller.LaunchForm(oTrans, "UDRpt01")
End Sub


THIS IS WHAT I HAVE SO FAR:

private void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
}

ALL I NEED IS THIS LINE:

ProcessCaller.LaunchForm(oTrans, "UDRpt01")
here is a web site that has a code converter

http://www.developerfusion.com/tools/convert/csharp-to-vb/

this is what it gave me:

private void btnEpiCustom1_Click(object Sender, System.EventArgs Args)
{
ProcessCaller.LaunchForm(oTrans, "UDRpt01");
}



--- In vantage@yahoogroups.com, "clederer@..." <clederer@...> wrote:
>
> Working on a customization and the page is in C# when I only have the code in Visual Basic. Does anyone know how to convert this piece of code from VB to C#?
>
> Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
> '// ** Place Event Handling Code Here **
> ProcessCaller.LaunchForm(oTrans, "UDRpt01")
> End Sub
>
>
> THIS IS WHAT I HAVE SO FAR:
>
> private void epiButtonC1_Click(object sender, System.EventArgs args)
> {
> // ** Place Event Handling Code Here **
> }
>
> ALL I NEED IS THIS LINE:
>
> ProcessCaller.LaunchForm(oTrans, "UDRpt01")
>
The customization wizard will add the code for the click event including the addition/deletion of the event in initialize and destroy sections. And adding a semi-colon to the one line of code will complete it.

ProcessCaller.LaunchForm(oTrans, "UDRpt01");

Jim Kinneman
Encompass Solutions, Inc

--- In vantage@yahoogroups.com, "clederer@..." <clederer@...> wrote:
>
> Working on a customization and the page is in C# when I only have the code in Visual Basic. Does anyone know how to convert this piece of code from VB to C#?
>
> Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
> '// ** Place Event Handling Code Here **
> ProcessCaller.LaunchForm(oTrans, "UDRpt01")
> End Sub
>
>
> THIS IS WHAT I HAVE SO FAR:
>
> private void epiButtonC1_Click(object sender, System.EventArgs args)
> {
> // ** Place Event Handling Code Here **
> }
>
> ALL I NEED IS THIS LINE:
>
> ProcessCaller.LaunchForm(oTrans, "UDRpt01")
>
Did you get anywhere with this? Mine Compiles, but nothing "Launches"....... sadness

Brenda

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of clederer@...
Sent: Thursday, August 15, 2013 10:36 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Changing Code From VB to C#



Working on a customization and the page is in C# when I only have the code in Visual Basic. Does anyone know how to convert this piece of code from VB to C#?

Private Sub btnEpiCustom1_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom1.Click
'// ** Place Event Handling Code Here **
ProcessCaller.LaunchForm(oTrans, "UDRpt01")
End Sub

THIS IS WHAT I HAVE SO FAR:

private void epiButtonC1_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
}

ALL I NEED IS THIS LINE:

ProcessCaller.LaunchForm(oTrans, "UDRpt01")



[Non-text portions of this message have been removed]