private void BtnChangeUICues(object sender, UICuesEventArgs uiCuesEventArgs) { if (uiCuesEventArgs.ChangeKeyboard) { showUnderLine = uiCuesEventArgs.ShowKeyboard; } }
/// <summary> /// Handles the ChangeUICues event of the FocusableControl control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.Forms.UICuesEventArgs"/> instance containing the event data.</param> private void FocusableControl_ChangeUICues(object sender, UICuesEventArgs e) { if (e.ChangeFocus || e.ChangeKeyboard) { Refresh(); } }
private void PictureBox1_ChangeUICues(object sender, UICuesEventArgs e) { try { AddImage(Image.FromFile(Properties.Settings.Default.urlPic)); } catch { } }
public void Ctor_UICues(UICues uicues) { var e = new UICuesEventArgs(uicues); Assert.Equal((uicues & UICues.ShowFocus) != 0, e.ShowFocus); Assert.Equal((uicues & UICues.ShowKeyboard) != 0, e.ShowKeyboard); Assert.Equal((uicues & UICues.ChangeFocus) != 0, e.ChangeFocus); Assert.Equal((uicues & UICues.ChangeKeyboard) != 0, e.ChangeKeyboard); Assert.Equal(uicues & UICues.Changed, e.Changed); }
protected override void OnChangeUICues(UICuesEventArgs e) { base.OnChangeUICues(e); //Debug.Print("OnChangeUICues: {0} {1}", e.ChangeFocus, e.ShowFocus); if (e.ChangeFocus) { this.drawFocusRect = e.ShowFocus; } }
/// <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) { Invalidate(); } // Call the base class's method so that registered delegates receive the event. base.OnChangeUICues(e); }
private void cmbDOCNO_ChangeUICues(object sender, UICuesEventArgs e) { if (txtday.Text == "" || txtday.Text == null) { cMessage.Error_NoData(); } else { GetDatMY(); } }
private void BtnPM_Click(object sender, UICuesEventArgs e) { if (!txtDisplay.Text.Contains("-")) { txtDisplay.Text = txtDisplay.Text.Remove(0, 1); } else { txtDisplay.Text = "-" + txtDisplay.Text; } }
void ownerForm_ChangeUICues(object sender, UICuesEventArgs e) { isUsingKeyboardAccel = e.ShowKeyboard; }
private void Form1_ChangeUICues(object sender, UICuesEventArgs e) { Console.WriteLine("ChangeUICues"); }
private void dgTmpOVCli_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)); }
private void plusBtn_ChangeUICues(object sender, UICuesEventArgs e) { }
private void userid_ChangeUICues(object sender, UICuesEventArgs e) { }
private void frmGenDifInv_ChangeUICues(object sender, UICuesEventArgs e) { }
private void panelSubMenu_ChangeUICues(object sender, UICuesEventArgs e) { //panelSubMenu.Visible = !Visible; //Visible = !Visible; }
private void listView_one_tables_ChangeUICues(object sender, UICuesEventArgs e) { }
private void btnChon_ChangeUICues(object sender, UICuesEventArgs e) { }
private void tabControl1_ChangeUICues(object sender, UICuesEventArgs e) { }
protected override void OnChangeUICues(UICuesEventArgs e) { ShowLocation(string.Format("OnChangeUICues (e=<{0}>) ", e)); base.OnChangeUICues(e);; }
protected override void OnChangeUICues(UICuesEventArgs e) { calls.Add(String.Format("OnChangeUICues")); base.OnChangeUICues(e); }
protected override void OnChangeUICues(UICuesEventArgs e) { calls.Add(String.Format("OnChangeUICues")); base.OnChangeUICues (e); }
private void textBoxPredkosc_ChangeUICues(object sender, UICuesEventArgs e) { }
private void checkBox9_ChangeUICues(object sender, UICuesEventArgs e) { }
private void tbName_ChangeUICues(object sender, UICuesEventArgs e) { //String winDir = Environment.GetFolderPath(Environment.SpecialFolder.System); //System.Diagnostics.Process p = System.Diagnostics.Process.Start(winDir + "\\osk.exe"); this.StartOSK(); }
public void inputText(object sender, UICuesEventArgs e) { }
public void MyJobTreeView_ChangeUICues(object sender, UICuesEventArgs e) { tvwOnWorkJob.Update(); DrawLine(); }
private void Form_Principal_ChangeUICues(object sender, UICuesEventArgs e) { }
private void BaseTextBoxChangeUiCues(object sender, UICuesEventArgs e) { base.OnChangeUICues(e); }
private void cmbAceptar_ChangeUICues(object sender, UICuesEventArgs e) { }
protected override void OnChangeUICues(UICuesEventArgs e) { base.OnChangeUICues(e); myUpToDate = false; this.Invalidate(); }
private void progressBarSplash_ChangeUICues(object sender, UICuesEventArgs e) { }