Beispiel #1
0
        public Form1(ClientCtrl ctrl)
        {
            InitializeComponent();
            this.ctrl = ctrl;

            ctrl.setForm(this);
            initData();
            ctrl.updateevent += userUpdate;
        }
Beispiel #2
0
        static void Main()
        {
            //Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            IServer    server      = new ServerProxy("127.0.0.1", 55555);
            ClientCtrl ctrl        = new ClientCtrl(server);
            Login      loginWindow = new Login(ctrl);

            Application.Run(loginWindow);
        }
Beispiel #3
0
 public Login(ClientCtrl ct)
 {
     InitializeComponent();
     this.ctrl = ct;
 }
Beispiel #4
0
 public RegistrationWindow(ClientCtrl ctrl)
 {
     InitializeComponent();
     this.ctrl = ctrl;
     initComboBoxes();
 }