private void StatusBar_PanelClick(object sender, StatusBarPanelClickEventArgs e) { if (e.StatusBarPanel == StatusBarPanel2 && e.Clicks == 2) { fContext.SwitchShieldState(); StatusBar.Invalidate(); } }
private void StatusBar_MouseDoubleClick(object sender, MouseEventArgs e) { fContext.SwitchShieldState(); UpdateShieldState(); e.Handled = true; }