Beispiel #1
0
        public LoginForm(MerlinClientController controller)
        {
            InitializeComponent();

            this.controller             = controller;
            this.controller.Getway_Get += GetwayGet;
            GetwayGet(this, null);
            this.controller.getGetway();
        }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MerlinClientController controller     = new MerlinClientController();
            MenuViewController     viewController = new MenuViewController(controller);

            controller.start();
            Application.Run();
        }
Beispiel #3
0
        public MenuViewController(MerlinClientController controller)
        {
            this.controller = controller;
            notifyIcon      = new NotifyIcon();
            LoadMenu();
            UpdateTrayIcon();
            notifyIcon.Visible           = true;
            notifyIcon.ContextMenu       = contextMenu;
            notifyIcon.MouseDoubleClick += notifyIcon_DoubleClick;
            notifyIcon.MouseClick       += notifyIcon_Click;

            this.controller.ShowPopForm += ShowPopForm;
        }
Beispiel #4
0
 public ClientForm(MerlinClientController controller)
 {
     InitializeComponent();
 }