...
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Windows.Forms;
|
||||
using System.ServiceModel;
|
||||
using System.Web.Services.Description;
|
||||
using FCOMMON;
|
||||
using FBS0000;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
@@ -163,20 +164,20 @@ namespace Project
|
||||
}
|
||||
|
||||
|
||||
// Address
|
||||
string address = "net.tcp://localhost:57900/eetgw";
|
||||
//// Address
|
||||
//string address = "net.tcp://localhost:57900/eetgw";
|
||||
|
||||
// Binding : TCP 사용
|
||||
NetTcpBinding binding = new NetTcpBinding();
|
||||
//// Binding : TCP 사용
|
||||
//NetTcpBinding binding = new NetTcpBinding();
|
||||
|
||||
// Service Host 만들기
|
||||
host = new ServiceHost(typeof(MyService));
|
||||
//// Service Host 만들기
|
||||
//host = new ServiceHost(typeof(MyService));
|
||||
|
||||
// End Point 추가
|
||||
host.AddServiceEndpoint(typeof(IMyContract), binding, address);
|
||||
//// End Point 추가
|
||||
//host.AddServiceEndpoint(typeof(IMyContract), binding, address);
|
||||
|
||||
// Service Host 시작
|
||||
host.Open();
|
||||
//// Service Host 시작
|
||||
//host.Open();
|
||||
|
||||
}
|
||||
void Update_Site()
|
||||
@@ -1515,5 +1516,12 @@ namespace Project
|
||||
AddForm(formkey, new FPJ0000.fProjectListUser());
|
||||
|
||||
}
|
||||
|
||||
private void 전자실구매승인ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
string formkey = "PURCHAGECONFIRMADMIN";
|
||||
if (!ShowForm(formkey))
|
||||
AddForm(formkey, new FEQ0000.fPurchaseConfirm());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user