コード例 #1
0
ファイル: Page.cs プロジェクト: dlebansais/Wrist
        private void ConnectQueryEvent(IDomain domain, ref bool IsConnected)
        {
            if (QueryEvent != null && (QueryObject == null || QueryObjectEvent == null))
            {
                IObject      Object      = null;
                IObjectEvent ObjectEvent = null;
                QueryEvent.Connect(domain, ref Object, ref ObjectEvent);
                QueryObject      = Object;
                QueryObjectEvent = ObjectEvent;
                QueryObjectEvent.SetIsProvidingCustomPageName(QueryEvent.EventSource, true);

                IsConnected = true;
                SetIsReachable();
            }
        }