示例#1
0
        CPrinter()
        {
            proxy = new StoreDualServiceClient(new InstanceContext(this));
            proxy.Subscribe();

            // Register the exit handler
            SetConsoleCtrlHandler(Handler, true);
        }
示例#2
0
 private void StoreClientForm_Shown(object sender, EventArgs e)
 {
     proxy.Subscribe();
     addBooksToForm();
     addClientsToForm();
     addOrdersToForm();
     addRequestsToForm();
 }