Beispiel #1
0
 // The following Initialize() method is called from the DTS constructor
 // Write code in "Initialize()" to make necessary initial connections to
 // the TelephoneController and TerminalController objects
 public static void Initialize(TelephoneController telephoneController, TerminalController terminalController)
 {
 }
 public MainMenuDialog(TerminalController terminal)
     : this()
 {
     this.terminal = terminal;
 }
 public void Set(TerminalController t) => _term = t;
 public TerminalDevice(TerminalController terminal)
 {
     this.terminal = terminal;
 }
Beispiel #5
0
 public TenantMenuDialog(TerminalController terminal) : this()
 {
     this.terminal = terminal;
 }
        public void ShowTenantMenuDialog(TerminalController terminalController)
        {
            TenantMenuDialog tenantMenuDialog = new TenantMenuDialog(terminalController);

            tenantMenuDialog.Show();
        }
        public void ShowMainMenuDialog(TerminalController terminalController)
        {
            MainMenuDialog mainMenuDialog = new MainMenuDialog(terminalController);

            mainMenuDialog.Show();
        }
Beispiel #8
0
 private void DTS_Load(object sender, EventArgs e)
 {
     terminalController = new TerminalController();
     terminalDevice     = new TerminalDevice(terminalController);
     terminalController.TerminalDevice = terminalDevice;
 }
 public TerminalDevice(TerminalController terminalController)
 {
     this.terminalController = terminalController;
 }
Beispiel #10
0
 // The following Initialize() method is called from the DTS constructor
 // Write code in "Initialize()" to make necessary initial connections to
 // the TelephoneController and TerminalController objects
 public static void Initialize(TelephoneController telephoneController, TerminalController terminalController)
 {
     Administrator admin      = new Administrator();
     List <Tenant> tenantList = new List <Tenant>();
 }