changed last change highlight colors
This commit is contained in:
parent
1d64a83d32
commit
4b1f773c6f
@ -330,12 +330,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelAgent, 1);
|
Grid.SetRowSpan(this.labelAgent, 1);
|
||||||
if(lastToUpdate == Extensions.ParticipantType.AGENCY)
|
if(lastToUpdate == Extensions.ParticipantType.AGENCY)
|
||||||
{
|
{
|
||||||
this.labelLastChangeAgency.Foreground = Brushes.Pink;
|
this.labelLastChangeAgency.Foreground = Brushes.White;
|
||||||
this.labelLastChangeAgency.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangeAgency.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangeAgency.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangeAgency.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangeAgency.FontWeight = FontWeights.Normal;
|
this.labelLastChangeAgency.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -375,12 +375,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelMooring, 1);
|
Grid.SetRowSpan(this.labelMooring, 1);
|
||||||
if (lastToUpdate == Extensions.ParticipantType.MOORING)
|
if (lastToUpdate == Extensions.ParticipantType.MOORING)
|
||||||
{
|
{
|
||||||
this.labelLastChangeMooring.Foreground = Brushes.Pink;
|
this.labelLastChangeMooring.Foreground = Brushes.White;
|
||||||
this.labelLastChangeMooring.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangeMooring.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangeMooring.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangeMooring.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangeMooring.FontWeight = FontWeights.Normal;
|
this.labelLastChangeMooring.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -409,12 +409,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelPortAuthority, 1);
|
Grid.SetRowSpan(this.labelPortAuthority, 1);
|
||||||
if (lastToUpdate == Extensions.ParticipantType.PORT_ADMINISTRATION)
|
if (lastToUpdate == Extensions.ParticipantType.PORT_ADMINISTRATION)
|
||||||
{
|
{
|
||||||
this.labelLastChangePortAuthority.Foreground = Brushes.Pink;
|
this.labelLastChangePortAuthority.Foreground = Brushes.White;
|
||||||
this.labelLastChangePortAuthority.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangePortAuthority.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangePortAuthority.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangePortAuthority.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangePortAuthority.FontWeight = FontWeights.Normal;
|
this.labelLastChangePortAuthority.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -438,12 +438,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelPilot, 1);
|
Grid.SetRowSpan(this.labelPilot, 1);
|
||||||
if (lastToUpdate == Extensions.ParticipantType.PILOT)
|
if (lastToUpdate == Extensions.ParticipantType.PILOT)
|
||||||
{
|
{
|
||||||
this.labelLastChangePilot.Foreground = Brushes.Pink;
|
this.labelLastChangePilot.Foreground = Brushes.White;
|
||||||
this.labelLastChangePilot.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangePilot.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangePilot.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangePilot.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangePilot.FontWeight = FontWeights.Normal;
|
this.labelLastChangePilot.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -467,12 +467,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelTug, 1);
|
Grid.SetRowSpan(this.labelTug, 1);
|
||||||
if (lastToUpdate == Extensions.ParticipantType.TUG)
|
if (lastToUpdate == Extensions.ParticipantType.TUG)
|
||||||
{
|
{
|
||||||
this.labelLastChangeTug.Foreground = Brushes.Pink;
|
this.labelLastChangeTug.Foreground = Brushes.White;
|
||||||
this.labelLastChangeTug.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangeTug.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangeTug.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangeTug.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangeTug.FontWeight = FontWeights.Normal;
|
this.labelLastChangeTug.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -500,12 +500,12 @@ namespace BreCalClient
|
|||||||
Grid.SetRowSpan(this.labelTerminal, 1);
|
Grid.SetRowSpan(this.labelTerminal, 1);
|
||||||
if (lastToUpdate == Extensions.ParticipantType.TERMINAL)
|
if (lastToUpdate == Extensions.ParticipantType.TERMINAL)
|
||||||
{
|
{
|
||||||
this.labelLastChangeTerminal.Foreground = Brushes.Pink;
|
this.labelLastChangeTerminal.Foreground = Brushes.White;
|
||||||
this.labelLastChangeTerminal.FontWeight = FontWeights.DemiBold;
|
this.labelLastChangeTerminal.FontWeight = FontWeights.DemiBold;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.labelLastChangeTerminal.Foreground = Brushes.WhiteSmoke;
|
this.labelLastChangeTerminal.Foreground = Brushes.LightGray;
|
||||||
this.labelLastChangeTerminal.FontWeight = FontWeights.Normal;
|
this.labelLastChangeTerminal.FontWeight = FontWeights.Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user