public MainWindow() { InitializeComponent(); this.Closing += MainWindow_Closing; this.Closed += MainWindow_Closed; //ws = new TossServer(); this.WindowState = WindowState.Minimized; relayserver = new RelayService(string.Empty, string.Empty, 21007, Com.Huen.Libs.RunningType.ROONETS); }
private void CorePMS_Loaded(object sender, RoutedEventArgs e) { relayservice = new RelayService(util.PBXIP, RunningType.BOTH); relayservice.Device2CorePmsEvent += Relayservice_Device2CorePmsEvent; this.InitializeData(); }
protected override void OnStart(string[] args) { server = new RelayService(); }