Exemple #1
0
 private void UnzipOldPathBtn_ChangeUICues(object sender, UICuesEventArgs e)
 {
     this.UnzipOldPathBtn.FlatStyle = FlatStyle.Popup;
 }
	protected virtual void OnChangeUICues(UICuesEventArgs e)
			{
				UICuesEventHandler handler;
				handler = (UICuesEventHandler)
					(GetHandler(EventId.ChangeUICues));
				if(handler != null)
				{
					handler(this, e);
				}
			}
 protected override void OnChangeUICues(UICuesEventArgs e)
 {
     base.OnChangeUICues(e);
     myUpToDate = false;
     this.Invalidate();
 }
Exemple #4
0
 private void BaseTextBoxChangeUiCues(object sender, UICuesEventArgs e)
 {
     base.OnChangeUICues(e);
 }
Exemple #5
0
 private void metroTile1_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
        /// <include file='doc\ListBox.uex' path='docs/doc[@for="ListBox.OnChangeUICues"]/*' />
        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        protected override void OnChangeUICues(UICuesEventArgs e) {

            // ListBox seems to get a bit confused when the UI cues change for the first
            // time - it draws the focus rect when it shouldn't and vice-versa. So when
            // the UI cues change, we just do an extra invalidate to get it into the
            // right state.
            //
            Invalidate();

            base.OnChangeUICues(e);
        }
Exemple #7
0
        //protected override void OnEnabledChanged(EventArgs e)
        //{
        //    m_SuspendPaint = true;
        //    base.OnEnabledChanged(e);
        //    m_SuspendPaint = false;
        //    this.Invalidate();
        //}

		protected override void OnChangeUICues(UICuesEventArgs e)
		{
			base.OnChangeUICues(e);
			if(m_ShowFocusRectangle)
			{
				this.Refresh();
			}
		}
Exemple #8
0
		protected override void OnChangeUICues(UICuesEventArgs e )
		{
			ShowLocation (string.Format("OnChangeUICues (e=<{0}>) ", e));
			base.OnChangeUICues(e);;
		}
        /// <summary>
        /// Raises the ChangeUICues event.
        /// </summary>
        /// <param name="e">A UICuesEventArgs that contains the event data.</param>
        protected override void OnChangeUICues(UICuesEventArgs e)
        {
            //	Track whether focus is being shown.
            if (e.ChangeFocus)
            {
                showFocus = e.ShowFocus;
                Invalidate();
            }

            //	Call the base class's method so that registered delegates receive the event.
            base.OnChangeUICues(e);
        }
Exemple #10
0
        //protected override void OnEnabledChanged(EventArgs e)
        //{
        //    m_SuspendPaint = true;
        //    base.OnEnabledChanged(e);
        //    m_SuspendPaint = false;
        //}

        protected override void OnChangeUICues(UICuesEventArgs e)
        {
            if (m_ShowFocusRectangle)
            {
                if (e.ChangeFocus)
                    this.Invalidate();
            }
        }
Exemple #11
0
        private void dsoFramerWordControl1_ChangeUICues(object sender, UICuesEventArgs e) {

        }
        /// <summary>
        /// Extends BeginInvoke so that when a state object is not needed, null does not need to be passed.
        /// <example>
        /// uicueseventhandler.BeginInvoke(sender, e, callback);
        /// </example>
        /// </summary>
        public static IAsyncResult BeginInvoke(this UICuesEventHandler uicueseventhandler, Object sender, UICuesEventArgs e, AsyncCallback callback)
        {
            if(uicueseventhandler == null) throw new ArgumentNullException("uicueseventhandler");

            return uicueseventhandler.BeginInvoke(sender, e, callback, null);
        }
Exemple #13
0
 protected override void OnChangeUICues(UICuesEventArgs e)
 {
     throw null;
 }
 void ownerForm_ChangeUICues(object sender, UICuesEventArgs e)
 {
     isUsingKeyboardAccel = e.ShowKeyboard;
 }
Exemple #15
0
 //Allows changes using the desginer to be reflected immediately
 protected override void OnChangeUICues(UICuesEventArgs e)
 {
     base.OnChangeUICues(e);
     CloseBoxEnable(m_EnableCloseButton);
 }
Exemple #16
0
 private void zedGraphControl1_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
 private void btnNewPic_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
Exemple #18
0
		protected virtual void OnChangeUICues(UICuesEventArgs e) {
			UICuesEventHandler eh = (UICuesEventHandler)(Events [ChangeUICuesEvent]);
			if (eh != null)
				eh (this, e);
		}
 private void button1_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
Exemple #20
0
		protected override void OnChangeUICues (UICuesEventArgs e)
		{
			base.OnChangeUICues (e);
		}
 private void bill_payment_pnl_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
Exemple #22
0
        void CPPreview_ChangeUICues(object sender, UICuesEventArgs e)
        {
            Logging.LogLineIf(fTrace, "CPPreview_ChangeUICues(): entered.");

            Logging.LogLineIf(fTrace, "CPPreview_ChangeUICues(): exiting.");
        }
Exemple #23
0
 /// <summary>Override; see base.</summary>
 protected override void OnChangeUICues(UICuesEventArgs e)
 {
     if (e.ChangeKeyboard && (_mnemonic != '\0' || TabStop))
         Invalidate();
 }
 private void panel2_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
Exemple #25
0
 private void rBTous_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
 private void exit_pnl_ChangeUICues(object sender, UICuesEventArgs e)
 {
 }
 protected override void OnChangeUICues(UICuesEventArgs e)
 {
     base.Invalidate();
     base.OnChangeUICues(e);
 }