/// <summary> /// Điều khiển nháy icon /// </summary> void Flash() { if (!_focus) { FlashWindow.Start(this); } }
private void frmClient_Activated(object sender, EventArgs e) { BackColor = Color.DarkOrange; txtMessage.Focus(); _focus = true; FlashWindow.Stop(this); }
private void frmServer_Activated(object sender, EventArgs e) { BackColor = Color.ForestGreen; txtMessage.Focus(); _focus = true; FlashWindow.Stop(this); }