Ejemplo n.º 1
0
    public void ReqTurnDown()
    {
        if (State != PanelState.Open)
        {
            throw new Exception("Error");
        }

        PanelControl pCtl = TaskControl as PanelControl;

        pCtl.ReqTurnDown();
        State = PanelState.TurnDown;

        // このタイミングで通知
        if (_OnReportPanelChange != null)
        {
            _OnReportPanelChange(X, Y, PanelState.Close);
        }

        SequenceManager.SendMessage(MessageType.PanelCloseStart, Index);
    }