private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e) { ShowWindows.ShowTrayBatteryWin(this.Storage.ProcTrayId); }
private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e) { var label = sender as Label; ShowWindows.ShowTrayBatteryWin(Convert.ToInt32(label.Tag)); }