Beispiel #1
0
        // **************************************************************

        // **************************************************************
        // Prepare the event data structure

        private void PrepareEventData(CbtEventArgs e)
        {
            e.Handle         = m_hwnd;
            e.Title          = m_title;
            e.ClassName      = m_class;
            e.IsDialogWindow = m_isDialog;
        }
Beispiel #2
0
 protected virtual void OnWindowActivated()
 {
     if (WindowActivated != null)
     {
         CbtEventArgs e = new CbtEventArgs();
         PrepareEventData(e);
         WindowActivated(this, e);
     }
 }