P
Paul C.
I am new to programming in C# using Mono (mcs). What .dll does this
"InitializeComponent()" method reside in?
Code:
// mcs web.cs -lib:C:\Program~1\Mono-1.0\lib -r:System.Data
-r:System.Web -r:System.Web.Services -r:System.Drawing
//
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Services;
namespace HelloService
{
public class HelloService : System.Web.Services.WebService
{
public HelloService()
{
//CODEGEN: This call is required by the ASP.NET Web Services
Designer
InitializeComponent();
}
[WebMethod]
public string SayHello(String strMyName)
{
return "Hello " + strMyName;
}
[WebMethod]
public string SayGoodBye()
{
return "Goodbye!";
}
}
}
"InitializeComponent()" method reside in?
Code:
// mcs web.cs -lib:C:\Program~1\Mono-1.0\lib -r:System.Data
-r:System.Web -r:System.Web.Services -r:System.Drawing
//
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Web;
using System.Web.Services;
namespace HelloService
{
public class HelloService : System.Web.Services.WebService
{
public HelloService()
{
//CODEGEN: This call is required by the ASP.NET Web Services
Designer
InitializeComponent();
}
[WebMethod]
public string SayHello(String strMyName)
{
return "Hello " + strMyName;
}
[WebMethod]
public string SayGoodBye()
{
return "Goodbye!";
}
}
}