Beispiel #1
0
        private void AquariumControl_MouseMove(object sender, MouseEventArgs e)
        {
            foreach (ClientWindowFail1 window in _clientWindowList)
            {
                if (window.ClientSize.Contains(e.Location))
                {
                    this.Cursor   = Cursors.Hand;
                    _activeClient = window;
                    window.Paint();
                    _activeClient.MouseMoveOnWindow(e);
                    return;
                }
            }

            this.Cursor   = Cursors.Default;
            _activeClient = null;
        }
        private void AquariumControl_MouseMove(object sender, MouseEventArgs e)
        {
            foreach (ClientWindowFail1 window in _clientWindowList)
            {
                if (window.ClientSize.Contains(e.Location))
                {
                    this.Cursor = Cursors.Hand;
                    _activeClient = window;
                    window.Paint();
                    _activeClient.MouseMoveOnWindow(e);
                    return;
                }
            }

            this.Cursor = Cursors.Default;
            _activeClient = null;
        }
Beispiel #3
0
        //------------------------------- Public methods -------------------------//

        public void AddClientWindow(ClientWindowFail1 window)
        {
            _clientWindowList.Add(window);
            OnClientWindowAdded();
        }
 //------------------------------- Public methods -------------------------//
 public void AddClientWindow(ClientWindowFail1 window)
 {
     _clientWindowList.Add(window);
     OnClientWindowAdded();
 }