Exemple #1
0
        private void serviceButton_Click(object sender, EventArgs e)
        {
            using (ServiceDialog dialog = new ServiceDialog(this.Icon))
            {
                dialog.ShowDialog();

                // refresh the P-states
                if (dialog.Applied)
                {
                    //Brazos merge p3 trough p7 inactive in BT
                    //BT also provides integer value to Load for PState, which shouldn't be needed
                    p0StateControl.LoadFromHardware();
                    p1StateControl.LoadFromHardware();
                    p2StateControl.LoadFromHardware();
                    p3StateControl.LoadFromHardware();
                    p4StateControl.LoadFromHardware();
                    p5StateControl.LoadFromHardware();
                    p6StateControl.LoadFromHardware();
                    p7StateControl.LoadFromHardware();
                    nbp0StateControl.LoadFromHardware();
                    nbp1StateControl.LoadFromHardware();
                    statusinfo.LoadFromHardware();
                }
            }
        }
Exemple #2
0
		private void serviceButton_Click(object sender, EventArgs e)
		{
			using (ServiceDialog dialog = new ServiceDialog(this.Icon))
			{
				dialog.ShowDialog();

				// refresh the P-states
				if (dialog.Applied)
				{
					//Brazos merge p3 trough p7 inactive in BT
					//BT also provides integer value to Load for PState, which shouldn't be needed
					p0StateControl.LoadFromHardware();
					p1StateControl.LoadFromHardware();
					p2StateControl.LoadFromHardware();
                    p3StateControl.LoadFromHardware();
                    p4StateControl.LoadFromHardware();
                    p5StateControl.LoadFromHardware();
                    p6StateControl.LoadFromHardware();
                    p7StateControl.LoadFromHardware();
                    nbp0StateControl.LoadFromHardware();
					nbp1StateControl.LoadFromHardware();
                    statusinfo.LoadFromHardware();
				}
			}
		}