private void LayOutSideChange(ShowSide side) { if (side == ShowSide.Both) { SideTable.ColumnStyles[0].SizeType = SizeType.Percent; SideTable.ColumnStyles[0].Width = 50; SideTable.ColumnStyles[1].SizeType = SizeType.Percent; SideTable.ColumnStyles[1].Width = 50; return; } if (side == ShowSide.Port) { SideTable.ColumnStyles[0].SizeType = SizeType.Percent; SideTable.ColumnStyles[0].Width = 100; SideTable.ColumnStyles[1].SizeType = SizeType.Percent; SideTable.ColumnStyles[1].Width = 0; return; } if (side == ShowSide.Starboard) { SideTable.ColumnStyles[0].SizeType = SizeType.Percent; SideTable.ColumnStyles[0].Width = 0; SideTable.ColumnStyles[1].SizeType = SizeType.Percent; SideTable.ColumnStyles[1].Width = 100; return; } }
public void ShowGreeting(string msg, Point pos, ShowSide ss) { greetingMessage = msg; GreetingShowSide = ss; hideTimer.Interval = (msg.Length << 8) + BlendInTime; hideTimer.Enabled = true; Location = pos - new Size(Width >> 1, Height); Visible = true; }
public ChartOption() { Fq = Frequence.High; Side = ShowSide.Both; AutoTVG = true; FreezeTVG = true; TVG = 1; Gain = 9; Gamma = 1; PortA = 50; PortB = 50; PortC = 50; StarboardA = 50; StarboardB = 50; StarboardC = 50; StartColor = Color.Black; EndColor = Color.Gold; RawMax = 8192; bShowRangeLine = true; }
public ChartOption() { Fq = Frequence.High; Side = ShowSide.Both; AutoTVG = true; FreezeTVG =true; TVG = 1; Gain = 9; Gamma = 1; PortA =50; PortB = 50; PortC = 50; StarboardA = 50; StarboardB = 50; StarboardC = 50; StartColor = Color.Black; EndColor = Color.Gold; RawMax = 8192; bShowRangeLine = true; }