diff --git a/ElectronicObserver/App.config b/ElectronicObserver/App.config index 829cd6002..289539e79 100644 --- a/ElectronicObserver/App.config +++ b/ElectronicObserver/App.config @@ -1,4 +1,4 @@ - + @@ -6,16 +6,16 @@ - + - - + + - + diff --git a/ElectronicObserver/Data/AdmiralData.cs b/ElectronicObserver/Data/AdmiralData.cs index f66624089..65b45f1ea 100644 --- a/ElectronicObserver/Data/AdmiralData.cs +++ b/ElectronicObserver/Data/AdmiralData.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Data.Constants; namespace ElectronicObserver.Data { @@ -48,10 +49,15 @@ public int AdmiralID /// public int Rank => (int)RawData.api_rank; - /// - /// 提督経験値 + /// + /// 階級 /// - public int Exp => (int)RawData.api_experience; + public string RankString => getRank(Rank); + + /// + /// 提督経験値 + /// + public int Exp => (int)RawData.api_experience; /// /// 提督コメント @@ -127,11 +133,16 @@ public int Medals get { return (int)RawData.api_medals; } } - - /// - /// 資源の自然回復上限 + /// + /// Senka /// - public int MaxResourceRegenerationAmount => Level * 250 + 750; + public int? Senka + { get; set; } + + /// + /// 資源の自然回復上限 + /// + public int MaxResourceRegenerationAmount => Level * 250 + 750; public override void LoadFromRequest(string apiname, Dictionary data) diff --git a/ElectronicObserver/Data/Constants.cs b/ElectronicObserver/Data/Constants.cs index 29e008671..94df8ce88 100644 --- a/ElectronicObserver/Data/Constants.cs +++ b/ElectronicObserver/Data/Constants.cs @@ -8,1194 +8,1338 @@ namespace ElectronicObserver.Data { - public static class Constants - { - - #region 艦船・装備 - - /// - /// 艦船の速力を表す文字列を取得します。 - /// - public static string GetSpeed(int value) - { - switch (value) - { - case 0: - return ConstantsRes.Land; - case 5: - return ConstantsRes.Slow; - case 10: - return ConstantsRes.Fast; - case 15: - return "Fast+"; - case 20: - return "Fastest"; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 射程を表す文字列を取得します。 - /// - public static string GetRange(int value) - { - switch (value) - { - case 0: - return ConstantsRes.None; - case 1: - return ConstantsRes.Short; - case 2: - return ConstantsRes.Medium; - case 3: - return ConstantsRes.Long; - case 4: - return ConstantsRes.VeryLong; - case 5: - return ConstantsRes.VeryLong + "+"; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 艦船のレアリティを表す文字列を取得します。 - /// - public static string GetShipRarity(int value) - { - switch (value) - { - case 0: - return ConstantsRes.Red; - case 1: - return ConstantsRes.Indigo; - case 2: - return ConstantsRes.Blue; - case 3: - return ConstantsRes.Aqua; - case 4: - return ConstantsRes.Silver; - case 5: - return ConstantsRes.Gold; - case 6: - return ConstantsRes.Rainbow; - case 7: - return ConstantsRes.SRainbow; - case 8: - return ConstantsRes.Sakura; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 装備のレアリティを表す文字列を取得します。 - /// - public static string GetEquipmentRarity(int value) - { - switch (value) - { - case 0: - return ConstantsRes.Common; - case 1: - return ConstantsRes.Rare; - case 2: - return ConstantsRes.Holo; - case 3: - return ConstantsRes.SHolo; - case 4: - return ConstantsRes.SSHolo; - case 5: - return ConstantsRes.EXHolo; - case 6: - return ConstantsRes.SSHoloPlus; + public static class Constants + { + + #region 艦船・装備 + + /// + /// 艦船の速力を表す文字列を取得します。 + /// + public static string GetSpeed(int value) + { + switch (value) + { + case 0: + return ConstantsRes.Land; + case 5: + return ConstantsRes.Slow; + case 10: + return ConstantsRes.Fast; + case 15: + return "Fast+"; + case 20: + return "Fastest"; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 射程を表す文字列を取得します。 + /// + public static string GetRange(int value) + { + switch (value) + { + case 0: + return ConstantsRes.None; + case 1: + return ConstantsRes.Short; + case 2: + return ConstantsRes.Medium; + case 3: + return ConstantsRes.Long; + case 4: + return ConstantsRes.VeryLong; + case 5: + return ConstantsRes.VeryLong + "+"; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 艦船のレアリティを表す文字列を取得します。 + /// + public static string GetShipRarity(int value) + { + switch (value) + { + case 0: + return ConstantsRes.Red; + case 1: + return ConstantsRes.Indigo; + case 2: + return ConstantsRes.Blue; + case 3: + return ConstantsRes.Aqua; + case 4: + return ConstantsRes.Silver; + case 5: + return ConstantsRes.Gold; + case 6: + return ConstantsRes.Rainbow; + case 7: + return ConstantsRes.SRainbow; + case 8: + return ConstantsRes.Sakura; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 装備のレアリティを表す文字列を取得します。 + /// + public static string GetEquipmentRarity(int value) + { + switch (value) + { + case 0: + return ConstantsRes.Common; + case 1: + return ConstantsRes.Rare; + case 2: + return ConstantsRes.Holo; + case 3: + return ConstantsRes.SHolo; + case 4: + return ConstantsRes.SSHolo; + case 5: + return ConstantsRes.EXHolo; + case 6: + return ConstantsRes.SSHoloPlus; case 7: return "SS++"; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 装備のレアリティの画像インデックスを取得します。 - /// - public static int GetEquipmentRarityID(int value) - { - switch (value) - { - case 0: - return 1; - case 1: - return 2; - case 2: - return 3; - case 3: - return 4; - case 4: - return 5; - case 5: - return 6; - case 6: - return 7; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 装備のレアリティの画像インデックスを取得します。 + /// + public static int GetEquipmentRarityID(int value) + { + switch (value) + { + case 0: + return 1; + case 1: + return 2; + case 2: + return 3; + case 3: + return 4; + case 4: + return 5; + case 5: + return 6; + case 6: + return 7; case 7: return 8; - default: - return 0; - } - } - - - /// - /// 艦船のボイス設定フラグを表す文字列を取得します。 - /// - public static string GetVoiceFlag(int value) - { - - switch (value) - { - case 0: - return "-"; - case 1: - return ConstantsRes.Hourly; - case 2: - return ConstantsRes.Idle; - case 3: - return ConstantsRes.Idle + " + " + ConstantsRes.Hourly; - case 4: - return ConstantsRes.SpecialIdle; - case 5: - return ConstantsRes.Idle + " + " + ConstantsRes.SpecialIdle; - case 6: - return ConstantsRes.Hourly + " + " + ConstantsRes.SpecialIdle; - case 7: - return ConstantsRes.Idle + " + " + ConstantsRes.Hourly + " + " + ConstantsRes.SpecialIdle; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 艦船の損傷度合いを表す文字列を取得します。 - /// - /// 現在HP/最大HPで表される割合。 - /// 演習かどうか。 - /// 陸上基地かどうか。 - /// 退避中かどうか。 - /// - public static string GetDamageState(double hprate, bool isPractice = false, bool isLandBase = false, bool isEscaped = false) - { - - if ( isEscaped ) - return ConstantsRes.Retreated; - else if ( hprate <= 0.0 ) - return isPractice ? ConstantsRes.Withdrawn : ( !isLandBase ? ConstantsRes.Sunk : ConstantsRes.Destroyed ); - else if ( hprate <= 0.25 ) - return !isLandBase ? ConstantsRes.CriticalDamage : ConstantsRes.Damaged; - else if ( hprate <= 0.5 ) - return !isLandBase ? ConstantsRes.ModerateDamage : ConstantsRes.Injured; - else if ( hprate <= 0.75 ) - return !isLandBase ? ConstantsRes.LightDamage : ConstantsRes.Disorder; - else if ( hprate < 1.0 ) - return ConstantsRes.Healthy; - else - return ConstantsRes.Unhurt; - - } - - - /// - /// 基地航空隊の行動指示を表す文字列を取得します。 - /// - public static string GetBaseAirCorpsActionKind(int value) - { - switch (value) - { - case 0: - return ConstantsRes.Standby; - case 1: - return ConstantsRes.Mission; - case 2: - return ConstantsRes.AirDefense; - case 3: - return ConstantsRes.TakeCover; - case 4: - return ConstantsRes.Rest; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 艦種略号を取得します。 - /// - public static string GetShipClassClassification(ShipTypes shiptype) - { - switch (shiptype) - { - case ShipTypes.Escort: - return "DE"; - case ShipTypes.Destroyer: - return "DD"; - case ShipTypes.LightCruiser: - return "CL"; - case ShipTypes.TorpedoCruiser: - return "CLT"; - case ShipTypes.HeavyCruiser: - return "CA"; - case ShipTypes.AviationCruiser: - return "CAV"; - case ShipTypes.LightAircraftCarrier: - return "CVL"; - case ShipTypes.Battlecruiser: - return "FBB"; // ? FBB, CC? - case ShipTypes.Battleship: - return "BB"; - case ShipTypes.AviationBattleship: - return "BBV"; - case ShipTypes.AircraftCarrier: - return "CV"; - case ShipTypes.SuperDreadnoughts: - return "BB"; - case ShipTypes.Submarine: - return "SS"; - case ShipTypes.SubmarineAircraftCarrier: - return "SSV"; - case ShipTypes.Transport: - return "AP"; // ? AO? - case ShipTypes.SeaplaneTender: - return "AV"; - case ShipTypes.AmphibiousAssaultShip: - return "LHA"; - case ShipTypes.ArmoredAircraftCarrier: - return "CVB"; - case ShipTypes.RepairShip: - return "AR"; - case ShipTypes.SubmarineTender: - return "AS"; - case ShipTypes.TrainingCruiser: - return "CT"; - case ShipTypes.FleetOiler: - return "AO"; - default: - return "IX"; - } - } - - - /// - /// 艦型を表す文字列を取得します。 - /// - public static string GetShipClass(int id) - { - switch (id) - { - case 1: return "綾波型"; - case 2: return "伊勢型"; - case 3: return "加賀型"; - case 4: return "球磨型"; - case 5: return "暁型"; - case 6: return "金剛型"; - case 7: return "古鷹型"; - case 8: return "高雄型"; - case 9: return "最上型"; - case 10: return "初春型"; - case 11: return "祥鳳型"; - case 12: return "吹雪型"; - case 13: return "青葉型"; - case 14: return "赤城型"; - case 15: return "千歳型"; - case 16: return "川内型"; - case 17: return "蒼龍型"; - case 18: return "朝潮型"; - case 19: return "長門型"; - case 20: return "長良型"; - case 21: return "天龍型"; - case 22: return "島風型"; - case 23: return "白露型"; - case 24: return "飛鷹型"; - case 25: return "飛龍型"; - case 26: return "扶桑型"; - case 27: return "鳳翔型"; - case 28: return "睦月型"; - case 29: return "妙高型"; - case 30: return "陽炎型"; - case 31: return "利根型"; - case 32: return "龍驤型"; - case 33: return "翔鶴型"; - case 34: return "夕張型"; - case 35: return "海大VI型"; - case 36: return "巡潜乙型改二"; - case 37: return "大和型"; - case 38: return "夕雲型"; - case 39: return "巡潜乙型"; - case 40: return "巡潜3型"; - case 41: return "阿賀野型"; - case 42: return "「霧」"; - case 43: return "大鳳型"; - case 44: return "潜特型(伊400型潜水艦)"; - case 45: return "特種船丙型"; - case 46: return "三式潜航輸送艇"; - case 47: return "Bismarck級"; - case 48: return "Z1型"; - case 49: return "工作艦"; - case 50: return "大鯨型"; - case 51: return "龍鳳型"; - case 52: return "大淀型"; - case 53: return "雲龍型"; - case 54: return "秋月型"; - case 55: return "Admiral Hipper級"; - case 56: return "香取型"; - case 57: return "UボートIXC型"; - case 58: return "V.Veneto級"; - case 59: return "秋津洲型"; - case 60: return "改風早型"; - case 61: return "Maestrale級"; - case 62: return "瑞穂型"; - case 63: return "Graf Zeppelin級"; - case 64: return "Zara級"; - case 65: return "Iowa級"; - case 66: return "神風型"; - case 67: return "Queen Elizabeth級"; - case 68: return "Aquila級"; - case 69: return "Lexington級"; - case 70: return "C.Teste級"; - case 71: return "巡潜甲型改二"; - case 72: return "神威型"; - case 73: return "Гангут級"; - case 74: return "占守型"; - case 75: return "春日丸級"; - case 76: return "大鷹型"; - case 77: return "択捉型"; - case 78: return "Ark Royal級"; - case 79: return "Richelieu級"; - case 80: return "Guglielmo Marconi級"; - case 81: return "Ташкент級"; - case 82: return "J級"; - case 83: return "Casablanca級"; - case 84: return "Essex級"; - case 85: return "日振型"; - case 86: return "呂号潜水艦"; - case 87: return "John C.Butler級"; - case 88: return "Nelson級"; - case 89: return "Gotland級"; - case 90: return "日進型"; - case 91: return "Fletcher級"; - default: return "不明"; - } - } - - #endregion - - - #region 出撃 - - /// - /// マップ上のセルでのイベントを表す文字列を取得します。 - /// - public static string GetMapEventID(int value) - { - - switch (value) - { - - case 0: - return ConstantsRes.StartNode; - case 1: - return "No Event"; - case 2: - return "Resources"; - case 3: - return ConstantsRes.Maelstrom; - case 4: - return "Battle"; - case 5: - return "Boss"; - case 6: - return ConstantsRes.Imagination; - case 7: - return ConstantsRes.AirBattle; - case 8: - return ConstantsRes.LargeResourceNode; - case 9: - return ConstantsRes.LandNode; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// マップ上のセルでのイベント種別を表す文字列を取得します。 - /// - public static string GetMapEventKind(int value) - { - - switch (value) - { - case 0: - return ConstantsRes.NoBattle; - case 1: - return ConstantsRes.DayBattle; - case 2: - return ConstantsRes.NightBattle; - case 3: - return ConstantsRes.NightDayBattle; // 対通常? - case 4: - return ConstantsRes.AirBattle; - case 5: - return ConstantsRes.EnemyCombinedFleet; - case 6: - return ConstantsRes.AirRaid; - case 7: - return ConstantsRes.NightDayBattle; // 対連合 - case 8: - return "Radar"; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 海域難易度を表す文字列を取得します。 - /// - public static string GetDifficulty(int value) - { - - switch (value) - { - case -1: - return ConstantsRes.NoNode; - case 0: - return ConstantsRes.Unselected; - case 1: - return "Casual"; - case 2: - return "Easy"; - case 3: - return "Medium"; - case 4: - return "Hard"; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 海域難易度を表す数値を取得します。 - /// - public static int GetDifficulty(string value) - { - - switch (value) - { - case "未選択": + default: + return 0; + } + } + + + /// + /// 艦船のボイス設定フラグを表す文字列を取得します。 + /// + public static string GetVoiceFlag(int value) + { + + switch (value) + { + case 0: + return "-"; + case 1: + return ConstantsRes.Hourly; + case 2: + return ConstantsRes.Idle; + case 3: + return ConstantsRes.Idle + " + " + ConstantsRes.Hourly; + case 4: + return ConstantsRes.SpecialIdle; + case 5: + return ConstantsRes.Idle + " + " + ConstantsRes.SpecialIdle; + case 6: + return ConstantsRes.Hourly + " + " + ConstantsRes.SpecialIdle; + case 7: + return ConstantsRes.Idle + " + " + ConstantsRes.Hourly + " + " + ConstantsRes.SpecialIdle; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 艦船の損傷度合いを表す文字列を取得します。 + /// + /// 現在HP/最大HPで表される割合。 + /// 演習かどうか。 + /// 陸上基地かどうか。 + /// 退避中かどうか。 + /// + public static string GetDamageState(double hprate, bool isPractice = false, bool isLandBase = false, bool isEscaped = false) + { + + if (isEscaped) + return ConstantsRes.Retreated; + else if (hprate <= 0.0) + return isPractice ? ConstantsRes.Withdrawn : (!isLandBase ? ConstantsRes.Sunk : ConstantsRes.Destroyed); + else if (hprate <= 0.25) + return !isLandBase ? ConstantsRes.CriticalDamage : ConstantsRes.Damaged; + else if (hprate <= 0.5) + return !isLandBase ? ConstantsRes.ModerateDamage : ConstantsRes.Injured; + else if (hprate <= 0.75) + return !isLandBase ? ConstantsRes.LightDamage : ConstantsRes.Disorder; + else if (hprate < 1.0) + return ConstantsRes.Healthy; + else + return ConstantsRes.Unhurt; + + } + + + /// + /// 基地航空隊の行動指示を表す文字列を取得します。 + /// + public static string GetBaseAirCorpsActionKind(int value) + { + switch (value) + { + case 0: + return ConstantsRes.Standby; + case 1: + return ConstantsRes.Mission; + case 2: + return ConstantsRes.AirDefense; + case 3: + return ConstantsRes.TakeCover; + case 4: + return ConstantsRes.Rest; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 艦種略号を取得します。 + /// + public static string GetShipClassClassification(ShipTypes shiptype) + { + switch (shiptype) + { + case ShipTypes.Escort: + return "DE"; + case ShipTypes.Destroyer: + return "DD"; + case ShipTypes.LightCruiser: + return "CL"; + case ShipTypes.TorpedoCruiser: + return "CLT"; + case ShipTypes.HeavyCruiser: + return "CA"; + case ShipTypes.AviationCruiser: + return "CAV"; + case ShipTypes.LightAircraftCarrier: + return "CVL"; + case ShipTypes.Battlecruiser: + return "FBB"; // ? FBB, CC? + case ShipTypes.Battleship: + return "BB"; + case ShipTypes.AviationBattleship: + return "BBV"; + case ShipTypes.AircraftCarrier: + return "CV"; + case ShipTypes.SuperDreadnoughts: + return "BB"; + case ShipTypes.Submarine: + return "SS"; + case ShipTypes.SubmarineAircraftCarrier: + return "SSV"; + case ShipTypes.Transport: + return "AP"; // ? AO? + case ShipTypes.SeaplaneTender: + return "AV"; + case ShipTypes.AmphibiousAssaultShip: + return "LHA"; + case ShipTypes.ArmoredAircraftCarrier: + return "CVB"; + case ShipTypes.RepairShip: + return "AR"; + case ShipTypes.SubmarineTender: + return "AS"; + case ShipTypes.TrainingCruiser: + return "CT"; + case ShipTypes.FleetOiler: + return "AO"; + default: + return "IX"; + } + } + + + /// + /// 艦型を表す文字列を取得します。 + /// + public static string GetShipClass(int id) + { + switch (id) + { + case 1: return "綾波型"; + case 2: return "伊勢型"; + case 3: return "加賀型"; + case 4: return "球磨型"; + case 5: return "暁型"; + case 6: return "金剛型"; + case 7: return "古鷹型"; + case 8: return "高雄型"; + case 9: return "最上型"; + case 10: return "初春型"; + case 11: return "祥鳳型"; + case 12: return "吹雪型"; + case 13: return "青葉型"; + case 14: return "赤城型"; + case 15: return "千歳型"; + case 16: return "川内型"; + case 17: return "蒼龍型"; + case 18: return "朝潮型"; + case 19: return "長門型"; + case 20: return "長良型"; + case 21: return "天龍型"; + case 22: return "島風型"; + case 23: return "白露型"; + case 24: return "飛鷹型"; + case 25: return "飛龍型"; + case 26: return "扶桑型"; + case 27: return "鳳翔型"; + case 28: return "睦月型"; + case 29: return "妙高型"; + case 30: return "陽炎型"; + case 31: return "利根型"; + case 32: return "龍驤型"; + case 33: return "翔鶴型"; + case 34: return "夕張型"; + case 35: return "海大VI型"; + case 36: return "巡潜乙型改二"; + case 37: return "大和型"; + case 38: return "夕雲型"; + case 39: return "巡潜乙型"; + case 40: return "巡潜3型"; + case 41: return "阿賀野型"; + case 42: return "「霧」"; + case 43: return "大鳳型"; + case 44: return "潜特型(伊400型潜水艦)"; + case 45: return "特種船丙型"; + case 46: return "三式潜航輸送艇"; + case 47: return "Bismarck級"; + case 48: return "Z1型"; + case 49: return "工作艦"; + case 50: return "大鯨型"; + case 51: return "龍鳳型"; + case 52: return "大淀型"; + case 53: return "雲龍型"; + case 54: return "秋月型"; + case 55: return "Admiral Hipper級"; + case 56: return "香取型"; + case 57: return "UボートIXC型"; + case 58: return "V.Veneto級"; + case 59: return "秋津洲型"; + case 60: return "改風早型"; + case 61: return "Maestrale級"; + case 62: return "瑞穂型"; + case 63: return "Graf Zeppelin級"; + case 64: return "Zara級"; + case 65: return "Iowa級"; + case 66: return "神風型"; + case 67: return "Queen Elizabeth級"; + case 68: return "Aquila級"; + case 69: return "Lexington級"; + case 70: return "C.Teste級"; + case 71: return "巡潜甲型改二"; + case 72: return "神威型"; + case 73: return "Гангут級"; + case 74: return "占守型"; + case 75: return "春日丸級"; + case 76: return "大鷹型"; + case 77: return "択捉型"; + case 78: return "Ark Royal級"; + case 79: return "Richelieu級"; + case 80: return "Guglielmo Marconi級"; + case 81: return "Ташкент級"; + case 82: return "J級"; + case 83: return "Casablanca級"; + case 84: return "Essex級"; + case 85: return "日振型"; + case 86: return "呂号潜水艦"; + case 87: return "John C.Butler級"; + case 88: return "Nelson級"; + case 89: return "Gotland級"; + case 90: return "日進型"; + case 91: return "Fletcher級"; + default: return "不明"; + } + } + + #endregion + + + #region 出撃 + + /// + /// マップ上のセルでのイベントを表す文字列を取得します。 + /// + public static string GetMapEventID(int value) + { + + switch (value) + { + + case 0: + return ConstantsRes.StartNode; + case 1: + return "No Event"; + case 2: + return "Resources"; + case 3: + return ConstantsRes.Maelstrom; + case 4: + return "Battle"; + case 5: + return "Boss"; + case 6: + return ConstantsRes.Imagination; + case 7: + return ConstantsRes.AirBattle; + case 8: + return ConstantsRes.LargeResourceNode; + case 9: + return ConstantsRes.LandNode; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// マップ上のセルでのイベント種別を表す文字列を取得します。 + /// + public static string GetMapEventKind(int value) + { + + switch (value) + { + case 0: + return ConstantsRes.NoBattle; + case 1: + return ConstantsRes.DayBattle; + case 2: + return ConstantsRes.NightBattle; + case 3: + return ConstantsRes.NightDayBattle; // 対通常? + case 4: + return ConstantsRes.AirBattle; + case 5: + return ConstantsRes.EnemyCombinedFleet; + case 6: + return ConstantsRes.AirRaid; + case 7: + return ConstantsRes.NightDayBattle; // 対連合 + case 8: + return "Radar"; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 海域難易度を表す文字列を取得します。 + /// + public static string GetDifficulty(int value) + { + + switch (value) + { + case -1: + return ConstantsRes.NoNode; + case 0: + return ConstantsRes.Unselected; + case 1: + return "Casual"; + case 2: + return "Easy"; + case 3: + return "Medium"; + case 4: + return "Hard"; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 海域難易度を表す数値を取得します。 + /// + public static int GetDifficulty(string value) + { + + switch (value) + { + case "未選択": case "Unselected": - return 0; - case "丁": + return 0; + case "丁": case "Casual": - return 1; - case "丙": + return 1; + case "丙": case "Easy": - return 2; - case "乙": + return 2; + case "乙": case "Medium": - return 3; - case "甲": - case "Hard": - return 4; - default: - return -1; - } - - } - - /// - /// 空襲被害の状態を表す文字列を取得します。 - /// - public static string GetAirRaidDamage(int value) - { - switch (value) - { - case 1: - return "Resources damaged"; - case 2: - return "Resources and air squadron damaged"; - case 3: - return "Air squadron damaged"; - case 4: - return "No damage"; - default: - return "No air raid"; - } - } - - /// - /// 空襲被害の状態を表す文字列を取得します。(短縮版) - /// - public static string GetAirRaidDamageShort(int value) - { - switch (value) - { - case 1: - return "Resources damaged"; - case 2: - return "Base and resources"; - case 3: - return "Base damaged"; - case 4: - return "No damage"; - default: - return "-"; - } - } - - - #endregion - - - #region 戦闘 - - /// - /// 陣形を表す文字列を取得します。 - /// - public static string GetFormation(int id) - { - switch (id) - { - case 1: - return ConstantsRes.LineAhead; - case 2: - return ConstantsRes.DoubleLine; - case 3: - return ConstantsRes.Diamond; - case 4: - return ConstantsRes.Echelon; - case 5: - return ConstantsRes.LineAbreast; - case 6: - return "Vanguard"; - case 11: - return ConstantsRes.FirstPatrolFormation; - case 12: - return ConstantsRes.SecondPatrolFormation; - case 13: - return ConstantsRes.ThirdPatrolFormation; - case 14: - return ConstantsRes.FourthPatrolFormation; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 陣形を表す数値を取得します。 - /// - public static int GetFormation(string value) - { - switch (value) - { - case "単縦陣": + return 3; + case "甲": + case "Hard": + return 4; + default: + return -1; + } + + } + + /// + /// 空襲被害の状態を表す文字列を取得します。 + /// + public static string GetAirRaidDamage(int value) + { + switch (value) + { + case 1: + return "Resources damaged"; + case 2: + return "Resources and air squadron damaged"; + case 3: + return "Air squadron damaged"; + case 4: + return "No damage"; + default: + return "No air raid"; + } + } + + /// + /// 空襲被害の状態を表す文字列を取得します。(短縮版) + /// + public static string GetAirRaidDamageShort(int value) + { + switch (value) + { + case 1: + return "Resources damaged"; + case 2: + return "Base and resources"; + case 3: + return "Base damaged"; + case 4: + return "No damage"; + default: + return "-"; + } + } + + + #endregion + + + #region 戦闘 + + /// + /// 陣形を表す文字列を取得します。 + /// + public static string GetFormation(int id) + { + switch (id) + { + case 1: + return ConstantsRes.LineAhead; + case 2: + return ConstantsRes.DoubleLine; + case 3: + return ConstantsRes.Diamond; + case 4: + return ConstantsRes.Echelon; + case 5: + return ConstantsRes.LineAbreast; + case 6: + return "Vanguard"; + case 11: + return ConstantsRes.FirstPatrolFormation; + case 12: + return ConstantsRes.SecondPatrolFormation; + case 13: + return ConstantsRes.ThirdPatrolFormation; + case 14: + return ConstantsRes.FourthPatrolFormation; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 陣形を表す数値を取得します。 + /// + public static int GetFormation(string value) + { + switch (value) + { + case "単縦陣": case "Line Ahead": - return 1; - case "複縦陣": + return 1; + case "複縦陣": case "Double Line": - return 2; - case "輪形陣": + return 2; + case "輪形陣": case "Diamond": - return 3; - case "梯形陣": + return 3; + case "梯形陣": case "Echelon": - return 4; - case "単横陣": + return 4; + case "単横陣": case "Line Abreast": - return 5; - case "警戒陣": - case "Vanguard": - return 6; - case "第一警戒航行序列": + return 5; + case "警戒陣": + case "Vanguard": + return 6; + case "第一警戒航行序列": case "First Cruising Formation": - return 11; - case "第二警戒航行序列": + return 11; + case "第二警戒航行序列": case "Second Cruising Formation": - return 12; - case "第三警戒航行序列": + return 12; + case "第三警戒航行序列": case "Third Cruising Formation": - return 13; - case "第四警戒航行序列": + return 13; + case "第四警戒航行序列": case "Fourth Cruising Formation": - return 14; - default: - return -1; - } - } - - /// - /// 陣形を表す文字列(短縮版)を取得します。 - /// - public static string GetFormationShort(int id) - { - switch (id) - { - case 1: - return "LA"; - case 2: - return "DL"; - case 3: - return "Rin"; - case 4: - return "Ech"; - case 5: - return "LAb"; - case 6: - return "Van"; - case 11: - return "ASW"; - case 12: - return "For"; - case 13: - return "Rin"; - case 14: - return "Btl"; - default: - return "Unk"; - } - } - - /// - /// 交戦形態を表す文字列を取得します。 - /// - public static string GetEngagementForm(int id) - { - switch (id) - { - case 1: - return ConstantsRes.Parallel; - case 2: - return ConstantsRes.HeadOn; - case 3: - return "Green T"; - case 4: - return "Red T"; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 交戦形態を表す文字列を取得します。 - /// - public static string GetEngagementFormShort(int id) - { - switch (id) - { - case 1: - return ConstantsRes.Parallel; - case 2: - return ConstantsRes.HeadOn; - case 3: - return ConstantsRes.TAdvantage; - case 4: - return ConstantsRes.TDisadvantage; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 索敵結果を表す文字列を取得します。 - /// - public static string GetSearchingResult(int id) - { - switch (id) - { - case 1: - return ConstantsRes.Success; - case 2: - return ConstantsRes.SuccessNoReturn; - case 3: - return ConstantsRes.NoReturn; - case 4: - return ConstantsRes.Failure; - case 5: - return ConstantsRes.SuccessNoPlane; - case 6: - return ConstantsRes.FailureNoPlane; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 索敵結果を表す文字列(短縮版)を取得します。 - /// - public static string GetSearchingResultShort(int id) - { - switch (id) - { - case 1: - return ConstantsRes.Success; - case 2: - return ConstantsRes.Success + "△"; - case 3: - return ConstantsRes.NoReturn; - case 4: - return ConstantsRes.Failure; - case 5: - return ConstantsRes.Success; - case 6: - return ConstantsRes.Failure; - default: - return ConstantsRes.Unknown; - } - } - - /// - /// 制空戦の結果を表す文字列を取得します。 - /// - public static string GetAirSuperiority(int id) - { - switch (id) - { - case 0: - return ConstantsRes.AirParity; - case 1: - return ConstantsRes.AirSupremacy; - case 2: - return ConstantsRes.AirSuperiority; - case 3: - return ConstantsRes.AirDenialNew; - case 4: - return ConstantsRes.AirIncapability; - default: - return ConstantsRes.Unknown; - } - } - - - - /// - /// 昼戦攻撃種別を表す文字列を取得します。 - /// - public static string GetDayAttackKind(DayAttackKind id) - { - switch (id) - { - case DayAttackKind.NormalAttack: - return "Normal Attack"; - case DayAttackKind.Laser: - return "Laser Attack"; - case DayAttackKind.DoubleShelling: - return "DA"; - case DayAttackKind.CutinMainSub: - return "CI (MG+SG)"; - case DayAttackKind.CutinMainRadar: - return "CI (MG+Radar)"; - case DayAttackKind.CutinMainAP: - return "CI (MG+AP)"; - case DayAttackKind.CutinMainMain: - return "CI (MG+MG)"; - case DayAttackKind.CutinAirAttack: - return "CI (Carrier)"; - case DayAttackKind.SpecialNelson: - return "Nelson Touch"; - case DayAttackKind.SpecialNagato: - return "Full broadside... Sounds exciting!"; - case DayAttackKind.Shelling: - return "Shelling"; + return 14; + default: + return -1; + } + } + + /// + /// 陣形を表す文字列(短縮版)を取得します。 + /// + public static string GetFormationShort(int id) + { + switch (id) + { + case 1: + return "LA"; + case 2: + return "DL"; + case 3: + return "Rin"; + case 4: + return "Ech"; + case 5: + return "LAb"; + case 6: + return "Van"; + case 11: + return "ASW"; + case 12: + return "For"; + case 13: + return "Rin"; + case 14: + return "Btl"; + default: + return "Unk"; + } + } + + /// + /// 交戦形態を表す文字列を取得します。 + /// + public static string GetEngagementForm(int id) + { + switch (id) + { + case 1: + return ConstantsRes.Parallel; + case 2: + return ConstantsRes.HeadOn; + case 3: + return "Green T"; + case 4: + return "Red T"; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 交戦形態を表す文字列を取得します。 + /// + public static string GetEngagementFormShort(int id) + { + switch (id) + { + case 1: + return ConstantsRes.Parallel; + case 2: + return ConstantsRes.HeadOn; + case 3: + return ConstantsRes.TAdvantage; + case 4: + return ConstantsRes.TDisadvantage; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 索敵結果を表す文字列を取得します。 + /// + public static string GetSearchingResult(int id) + { + switch (id) + { + case 1: + return ConstantsRes.Success; + case 2: + return ConstantsRes.SuccessNoReturn; + case 3: + return ConstantsRes.NoReturn; + case 4: + return ConstantsRes.Failure; + case 5: + return ConstantsRes.SuccessNoPlane; + case 6: + return ConstantsRes.FailureNoPlane; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 索敵結果を表す文字列(短縮版)を取得します。 + /// + public static string GetSearchingResultShort(int id) + { + switch (id) + { + case 1: + return ConstantsRes.Success; + case 2: + return ConstantsRes.Success + "△"; + case 3: + return ConstantsRes.NoReturn; + case 4: + return ConstantsRes.Failure; + case 5: + return ConstantsRes.Success; + case 6: + return ConstantsRes.Failure; + default: + return ConstantsRes.Unknown; + } + } + + /// + /// 制空戦の結果を表す文字列を取得します。 + /// + public static string GetAirSuperiority(int id) + { + switch (id) + { + case 0: + return ConstantsRes.AirParity; + case 1: + return ConstantsRes.AirSupremacy; + case 2: + return ConstantsRes.AirSuperiority; + case 3: + return ConstantsRes.AirDenialNew; + case 4: + return ConstantsRes.AirIncapability; + default: + return ConstantsRes.Unknown; + } + } + + + + /// + /// 昼戦攻撃種別を表す文字列を取得します。 + /// + public static string GetDayAttackKind(DayAttackKind id) + { + switch (id) + { + case DayAttackKind.NormalAttack: + return "Normal Attack"; + case DayAttackKind.Laser: + return "Laser Attack"; + case DayAttackKind.DoubleShelling: + return "DA"; + case DayAttackKind.CutinMainSub: + return "CI (MG+SG)"; + case DayAttackKind.CutinMainRadar: + return "CI (MG+Radar)"; + case DayAttackKind.CutinMainAP: + return "CI (MG+AP)"; + case DayAttackKind.CutinMainMain: + return "CI (MG+MG)"; + case DayAttackKind.CutinAirAttack: + return "CI (Carrier)"; + case DayAttackKind.SpecialNelson: + return "Nelson Touch"; + case DayAttackKind.SpecialNagato: + return "Full broadside... Sounds exciting!"; + case DayAttackKind.Shelling: + return "Shelling"; case DayAttackKind.SpecialMutsu: return "長門、いい? いくわよ! 主砲一斉射ッ!"; case DayAttackKind.ZuiunMultiAngle: return "瑞雲立体攻撃"; case DayAttackKind.SeaAirMultiAngle: return "海空立体攻撃"; - case DayAttackKind.AirAttack: - return "Air Attack"; - case DayAttackKind.DepthCharge: - return "Depth Charge"; - case DayAttackKind.Torpedo: - return "Torpedo"; - case DayAttackKind.Rocket: - return "Rocket Artillery"; - case DayAttackKind.LandingDaihatsu: - return "Amphibious Attack (Daihatsu)"; - case DayAttackKind.LandingTokuDaihatsu: - return "Amphibious Attack(Toku Daihatsu)"; - case DayAttackKind.LandingDaihatsuTank: - return "Amphibious Attack(Daihatsu+Tank)"; - case DayAttackKind.LandingAmphibious: - return ConstantsRes.TankAttack; - case DayAttackKind.LandingTokuDaihatsuTank: - return "Amphibious Attack(Toku Daihatsu+Tank)"; - default: - return $"{ConstantsRes.Unknown}({(int)id})"; - } - } - - - /// - /// 夜戦攻撃種別を表す文字列を取得します。 - /// - public static string GetNightAttackKind(NightAttackKind id) - { - switch (id) - { - case NightAttackKind.NormalAttack: - return "Shelling"; - case NightAttackKind.DoubleShelling: - return "DA"; - case NightAttackKind.CutinMainTorpedo: - return "CI (MG+Torp)"; - case NightAttackKind.CutinTorpedoTorpedo: - return "CI (Torp×2)"; - case NightAttackKind.CutinMainSub: - return "CI (MG×2+SG)"; - case NightAttackKind.CutinMainMain: - return "CI (MG×3)"; - case NightAttackKind.CutinAirAttack: - return "CI (Carrier)"; - case NightAttackKind.CutinTorpedoRadar: - return "DD CI (MG+Torp+Radar)"; - case NightAttackKind.CutinTorpedoPicket: - return "DD CI (Torp+Lookout+Radar)"; - case NightAttackKind.SpecialNelson: - return "Nelson Touch"; - case NightAttackKind.SpecialNagato: - return "Full broadside... Sounds exciting!"; - case NightAttackKind.Shelling: - return "Shelling"; + case DayAttackKind.AirAttack: + return "Air Attack"; + case DayAttackKind.DepthCharge: + return "Depth Charge"; + case DayAttackKind.Torpedo: + return "Torpedo"; + case DayAttackKind.Rocket: + return "Rocket Artillery"; + case DayAttackKind.LandingDaihatsu: + return "Amphibious Attack (Daihatsu)"; + case DayAttackKind.LandingTokuDaihatsu: + return "Amphibious Attack(Toku Daihatsu)"; + case DayAttackKind.LandingDaihatsuTank: + return "Amphibious Attack(Daihatsu+Tank)"; + case DayAttackKind.LandingAmphibious: + return ConstantsRes.TankAttack; + case DayAttackKind.LandingTokuDaihatsuTank: + return "Amphibious Attack(Toku Daihatsu+Tank)"; + default: + return $"{ConstantsRes.Unknown}({(int)id})"; + } + } + + + /// + /// 夜戦攻撃種別を表す文字列を取得します。 + /// + public static string GetNightAttackKind(NightAttackKind id) + { + switch (id) + { + case NightAttackKind.NormalAttack: + return "Shelling"; + case NightAttackKind.DoubleShelling: + return "DA"; + case NightAttackKind.CutinMainTorpedo: + return "CI (MG+Torp)"; + case NightAttackKind.CutinTorpedoTorpedo: + return "CI (Torp×2)"; + case NightAttackKind.CutinMainSub: + return "CI (MG×2+SG)"; + case NightAttackKind.CutinMainMain: + return "CI (MG×3)"; + case NightAttackKind.CutinAirAttack: + return "CI (Carrier)"; + case NightAttackKind.CutinTorpedoRadar: + return "DD CI (MG+Torp+Radar)"; + case NightAttackKind.CutinTorpedoPicket: + return "DD CI (Torp+Lookout+Radar)"; + case NightAttackKind.SpecialNelson: + return "Nelson Touch"; + case NightAttackKind.SpecialNagato: + return "Full broadside... Sounds exciting!"; + case NightAttackKind.Shelling: + return "Shelling"; case NightAttackKind.SpecialMutsu: return "長門、いい? いくわよ! 主砲一斉射ッ!"; - case NightAttackKind.AirAttack: - return ConstantsRes.AirAttack; - case NightAttackKind.DepthCharge: - return ConstantsRes.DepthChargeAttack; - case NightAttackKind.Torpedo: - return ConstantsRes.TorpedoAttack; - case NightAttackKind.Rocket: - return ConstantsRes.RocketAttack; - case NightAttackKind.LandingDaihatsu: - return ConstantsRes.DaihatsuAttack; - case NightAttackKind.LandingTokuDaihatsu: - return "Amphibious Attack (Toku Daihatsu)"; - case NightAttackKind.LandingDaihatsuTank: - return "Amphibious Attack (Daihatsu+Tank)"; - case NightAttackKind.LandingAmphibious: - return ConstantsRes.TankAttack; - case NightAttackKind.LandingTokuDaihatsuTank: - return "Amphibious Attack (Toku Daihatsu+Tank)"; - default: - return $"{ConstantsRes.Unknown}({(int)id})"; - } - } - - - /// - /// 対空カットイン種別を表す文字列を取得します。 - /// - public static string GetAACutinKind(int id) - { - switch (id) - { - case 0: - return ConstantsRes.NoNode; - case 1: - return ConstantsRes.HA2 + "/" + ConstantsRes.Radar + " (Akizuki)"; - case 2: - return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Akizuki)"; - case 3: - return ConstantsRes.HA2 + " (Akizuki)"; - case 4: - return ConstantsRes.BigGun + "/" + ConstantsRes.Type3 + "/" + ConstantsRes.AADirector + "/" + ConstantsRes.Radar; - case 5: - return ConstantsRes.HAAAD + " x2/" + ConstantsRes.Radar; - case 6: - return ConstantsRes.BigGun + "/" + ConstantsRes.Type3 + "/" + ConstantsRes.AADirector; - case 7: - return ConstantsRes.HAGun + "/" + ConstantsRes.AADirector + "/" + ConstantsRes.Radar; - case 8: - return ConstantsRes.HAAAD + "/" + ConstantsRes.Radar; - case 9: - return ConstantsRes.HAGun + "/" + ConstantsRes.AADirector; - case 10: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Maya)"; - case 11: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Maya)"; - case 12: - return ConstantsRes.AAGun + "/" + ConstantsRes.AAGun + ConstantsRes.Radar; - case 14: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Isuzu)"; - case 15: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Isuzu)"; - case 16: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Kasumi)"; - case 17: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Kasumi)"; - case 18: - return ConstantsRes.AAGun + " (Satsuki)"; - case 19: - return ConstantsRes.HAGun + " (Non-piercing)/" + ConstantsRes.AAGun + " (Kinu)"; - case 20: - return ConstantsRes.AAGun + " (Kinu)"; - case 21: - return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Yura)"; - case 22: - return ConstantsRes.AAGun + " (Fumizuki)"; - case 23: - return ConstantsRes.AAGun + " (Unconcentrated) (UIT-25)"; - case 24: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Unconcentrated) (Tatsuta)"; - case 25: - return "Rocket Launcher Kai Ni/" + ConstantsRes.Radar + "/" + ConstantsRes.Type3 + " (Ise)"; - case 26: - return ConstantsRes.HAAAD + "/" + ConstantsRes.Radar + " (Musashi)"; - case 28: - return "Rocket Launcher Kai Ni/" + ConstantsRes.Radar + " (Ise)"; - case 29: - return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Hamakaze)"; - case 30: - return ConstantsRes.HAGun + " x3 (Tenryuu)"; - case 31: - return ConstantsRes.HAGun + " x2 (Tenryuu)"; - case 32: - return "Rocket Launcher x2 or FCR/Pom-pom Gun or Rocket Launcher/Pom-pom Gun (UK)"; - case 33: - return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Unconcentrated) (Gotland)"; - case 34: - return "5inch Single Gun Mk.30 Kai + GFCS x2 (Johnston)"; - case 35: - return "5inch Single Gun Mk.30 Kai x2 or + GFCS (Johnston)"; - case 36: - return "5inch Single Gun Mk.30 Kai x2/GFCS (Johnston)"; - case 37: - return "5inch Single Gun Mk.30 Kai x2 (Johnston)"; - default: - return $"{ConstantsRes.Unknown}({(int)id})"; - } - } - - - /// - /// 勝利ランクを表すIDを取得します。 - /// - public static int GetWinRank(string rank) - { - switch (rank.ToUpper()) - { - case "E": - return 1; - case "D": - return 2; - case "C": - return 3; - case "B": - return 4; - case "A": - return 5; - case "S": - return 6; - case "SS": - return 7; - default: - return 0; - } - } - - /// - /// 勝利ランクを表す文字列を取得します。 - /// - public static string GetWinRank(int rank) - { - switch (rank) - { - case 1: - return "E"; - case 2: - return "D"; - case 3: - return "C"; - case 4: - return "B"; - case 5: - return "A"; - case 6: - return "S"; - case 7: - return "SS"; - default: - return ConstantsRes.Unknown; - } - } - - #endregion - - - #region その他 - - /// - /// 資源の名前を取得します。 - /// - /// 資源のID。 - /// 資源の名前。 - public static string GetMaterialName(int materialID) - { - - switch (materialID) - { - case 1: - return ConstantsRes.Fuel; - case 2: - return ConstantsRes.Ammo; - case 3: - return ConstantsRes.Steel; - case 4: - return ConstantsRes.Baux; - case 5: - return ConstantsRes.Flamethrower; - case 6: - return ConstantsRes.Bucket; - case 7: - return ConstantsRes.DevMat; - case 8: - return ConstantsRes.ImpMat; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 階級を表す文字列を取得します。 - /// - public static string GetAdmiralRank(int id) - { - switch (id) - { - case 1: - return ConstantsRes.FleetAdmiral; - case 2: - return ConstantsRes.FourStarAdmiral; - case 3: - return ConstantsRes.ViceAdmiral; - case 4: - return ConstantsRes.RearAdmiral; - case 5: - return ConstantsRes.Captain; - case 6: - return ConstantsRes.Commander; - case 7: - return ConstantsRes.NoviceCommander; - case 8: - return ConstantsRes.LtCmdr; - case 9: - return ConstantsRes.ViceLtCmdr; - case 10: - return ConstantsRes.NoviceLtCmdr; - default: - return ConstantsRes.Admiral; - } - } - - - /// - /// 任務の発生タイプを表す文字列を取得します。 - /// - public static string GetQuestType(int id) - { - switch (id) - { - case 1: //デイリー - return ConstantsRes.Daily; - case 2: //ウィークリー - return ConstantsRes.Weekly; - case 3: //マンスリー - return ConstantsRes.Monthly; - case 4: //単発 - return "1"; - case 5: //その他(輸送5/空母3) - return ConstantsRes.QuestOther; - default: - return ConstantsRes.Question; - } - - } - - - /// - /// 任務のカテゴリを表す文字列を取得します。 - /// - public static string GetQuestCategory(int id) - { - switch (id) - { - case 1: - return ConstantsRes.Formation; - case 2: - return ConstantsRes.Sortie; - case 3: - return ConstantsRes.Practice; - case 4: - return ConstantsRes.Expedition; - case 5: - return ConstantsRes.Supply; //入渠も含むが、文字数の関係 - case 6: - return ConstantsRes.Construction; - case 7: - return ConstantsRes.Modernization; - case 8: - return ConstantsRes.Sortie; - case 9: - return ConstantsRes.Other; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 遠征の結果を表す文字列を取得します。 - /// - public static string GetExpeditionResult(int value) - { - switch (value) - { - case 0: - return ConstantsRes.Failure; - case 1: - return ConstantsRes.Success; - case 2: - return ConstantsRes.GreatSuccess; - default: - return ConstantsRes.Unknown; - } - } - - - /// - /// 連合艦隊の編成名を表す文字列を取得します。 - /// - public static string GetCombinedFleet(int value) - { - switch (value) - { - case 0: - return "Normal Fleet"; - case 1: - return "Carrier TF"; - case 2: - return "Surface TF"; - case 3: - return "Transport Fleet"; - default: - return "Unknown"; - } - } - - #endregion - - } - + case NightAttackKind.AirAttack: + return ConstantsRes.AirAttack; + case NightAttackKind.DepthCharge: + return ConstantsRes.DepthChargeAttack; + case NightAttackKind.Torpedo: + return ConstantsRes.TorpedoAttack; + case NightAttackKind.Rocket: + return ConstantsRes.RocketAttack; + case NightAttackKind.LandingDaihatsu: + return ConstantsRes.DaihatsuAttack; + case NightAttackKind.LandingTokuDaihatsu: + return "Amphibious Attack (Toku Daihatsu)"; + case NightAttackKind.LandingDaihatsuTank: + return "Amphibious Attack (Daihatsu+Tank)"; + case NightAttackKind.LandingAmphibious: + return ConstantsRes.TankAttack; + case NightAttackKind.LandingTokuDaihatsuTank: + return "Amphibious Attack (Toku Daihatsu+Tank)"; + default: + return $"{ConstantsRes.Unknown}({(int)id})"; + } + } + + + /// + /// 対空カットイン種別を表す文字列を取得します。 + /// + public static string GetAACutinKind(int id) + { + switch (id) + { + case 0: + return ConstantsRes.NoNode; + case 1: + return ConstantsRes.HA2 + "/" + ConstantsRes.Radar + " (Akizuki)"; + case 2: + return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Akizuki)"; + case 3: + return ConstantsRes.HA2 + " (Akizuki)"; + case 4: + return ConstantsRes.BigGun + "/" + ConstantsRes.Type3 + "/" + ConstantsRes.AADirector + "/" + ConstantsRes.Radar; + case 5: + return ConstantsRes.HAAAD + " x2/" + ConstantsRes.Radar; + case 6: + return ConstantsRes.BigGun + "/" + ConstantsRes.Type3 + "/" + ConstantsRes.AADirector; + case 7: + return ConstantsRes.HAGun + "/" + ConstantsRes.AADirector + "/" + ConstantsRes.Radar; + case 8: + return ConstantsRes.HAAAD + "/" + ConstantsRes.Radar; + case 9: + return ConstantsRes.HAGun + "/" + ConstantsRes.AADirector; + case 10: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Maya)"; + case 11: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Maya)"; + case 12: + return ConstantsRes.AAGun + "/" + ConstantsRes.AAGun + ConstantsRes.Radar; + case 14: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Isuzu)"; + case 15: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Isuzu)"; + case 16: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + "/" + ConstantsRes.Radar + " (Kasumi)"; + case 17: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Kasumi)"; + case 18: + return ConstantsRes.AAGun + " (Satsuki)"; + case 19: + return ConstantsRes.HAGun + " (Non-piercing)/" + ConstantsRes.AAGun + " (Kinu)"; + case 20: + return ConstantsRes.AAGun + " (Kinu)"; + case 21: + return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Yura)"; + case 22: + return ConstantsRes.AAGun + " (Fumizuki)"; + case 23: + return ConstantsRes.AAGun + " (Unconcentrated) (UIT-25)"; + case 24: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Unconcentrated) (Tatsuta)"; + case 25: + return "Rocket Launcher Kai Ni/" + ConstantsRes.Radar + "/" + ConstantsRes.Type3 + " (Ise)"; + case 26: + return ConstantsRes.HAAAD + "/" + ConstantsRes.Radar + " (Musashi)"; + case 28: + return "Rocket Launcher Kai Ni/" + ConstantsRes.Radar + " (Ise)"; + case 29: + return ConstantsRes.HAGun + "/" + ConstantsRes.Radar + " (Hamakaze)"; + case 30: + return ConstantsRes.HAGun + " x3 (Tenryuu)"; + case 31: + return ConstantsRes.HAGun + " x2 (Tenryuu)"; + case 32: + return "Rocket Launcher x2 or FCR/Pom-pom Gun or Rocket Launcher/Pom-pom Gun (UK)"; + case 33: + return ConstantsRes.HAGun + "/" + ConstantsRes.AAGun + " (Unconcentrated) (Gotland)"; + case 34: + return "5inch Single Gun Mk.30 Kai + GFCS x2 (Johnston)"; + case 35: + return "5inch Single Gun Mk.30 Kai x2 or + GFCS (Johnston)"; + case 36: + return "5inch Single Gun Mk.30 Kai x2/GFCS (Johnston)"; + case 37: + return "5inch Single Gun Mk.30 Kai x2 (Johnston)"; + default: + return $"{ConstantsRes.Unknown}({(int)id})"; + } + } + + + /// + /// 勝利ランクを表すIDを取得します。 + /// + public static int GetWinRank(string rank) + { + switch (rank.ToUpper()) + { + case "E": + return 1; + case "D": + return 2; + case "C": + return 3; + case "B": + return 4; + case "A": + return 5; + case "S": + return 6; + case "SS": + return 7; + default: + return 0; + } + } + + /// + /// 勝利ランクを表す文字列を取得します。 + /// + public static string GetWinRank(int rank) + { + switch (rank) + { + case 1: + return "E"; + case 2: + return "D"; + case 3: + return "C"; + case 4: + return "B"; + case 5: + return "A"; + case 6: + return "S"; + case 7: + return "SS"; + default: + return ConstantsRes.Unknown; + } + } + + #endregion + + + #region その他 + + /// + /// 資源の名前を取得します。 + /// + /// 資源のID。 + /// 資源の名前。 + public static string GetMaterialName(int materialID) + { + + switch (materialID) + { + case 1: + return ConstantsRes.Fuel; + case 2: + return ConstantsRes.Ammo; + case 3: + return ConstantsRes.Steel; + case 4: + return ConstantsRes.Baux; + case 5: + return ConstantsRes.Flamethrower; + case 6: + return ConstantsRes.Bucket; + case 7: + return ConstantsRes.DevMat; + case 8: + return ConstantsRes.ImpMat; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 階級を表す文字列を取得します。 + /// + public static string GetAdmiralRank(int id) + { + switch (id) + { + case 1: + return ConstantsRes.FleetAdmiral; + case 2: + return ConstantsRes.FourStarAdmiral; + case 3: + return ConstantsRes.ViceAdmiral; + case 4: + return ConstantsRes.RearAdmiral; + case 5: + return ConstantsRes.Captain; + case 6: + return ConstantsRes.Commander; + case 7: + return ConstantsRes.NoviceCommander; + case 8: + return ConstantsRes.LtCmdr; + case 9: + return ConstantsRes.ViceLtCmdr; + case 10: + return ConstantsRes.NoviceLtCmdr; + default: + return ConstantsRes.Admiral; + } + } + + + /// + /// 任務の発生タイプを表す文字列を取得します。 + /// + public static string GetQuestType(int id) + { + switch (id) + { + case 1: //デイリー + return ConstantsRes.Daily; + case 2: //ウィークリー + return ConstantsRes.Weekly; + case 3: //マンスリー + return ConstantsRes.Monthly; + case 4: //単発 + return "1"; + case 5: //その他(輸送5/空母3) + return ConstantsRes.QuestOther; + default: + return ConstantsRes.Question; + } + + } + + + /// + /// 任務のカテゴリを表す文字列を取得します。 + /// + public static string GetQuestCategory(int id) + { + switch (id) + { + case 1: + return ConstantsRes.Formation; + case 2: + return ConstantsRes.Sortie; + case 3: + return ConstantsRes.Practice; + case 4: + return ConstantsRes.Expedition; + case 5: + return ConstantsRes.Supply; //入渠も含むが、文字数の関係 + case 6: + return ConstantsRes.Construction; + case 7: + return ConstantsRes.Modernization; + case 8: + return ConstantsRes.Sortie; + case 9: + return ConstantsRes.Other; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 遠征の結果を表す文字列を取得します。 + /// + public static string GetExpeditionResult(int value) + { + switch (value) + { + case 0: + return ConstantsRes.Failure; + case 1: + return ConstantsRes.Success; + case 2: + return ConstantsRes.GreatSuccess; + default: + return ConstantsRes.Unknown; + } + } + + + /// + /// 連合艦隊の編成名を表す文字列を取得します。 + /// + public static string GetCombinedFleet(int value) + { + switch (value) + { + case 0: + return "Normal Fleet"; + case 1: + return "Carrier TF"; + case 2: + return "Surface TF"; + case 3: + return "Transport Fleet"; + default: + return "Unknown"; + } + } + + #endregion + + #region Servers + public class KCServer + { + public int Num { get; set; } + public string Name { get; set; } + public string Jp { get; set; } + public string Ip { get; set; } + + public KCServer(int num, string name, string jp, string ip) + { + this.Num = num; + this.Name = name; + this.Jp = jp; + this.Ip = ip; + } + } + + public static KCServer getKCServer(int num) + { + switch (num) + { + case 1: + return new KCServer(num, "Yokosuka Naval District", "横須賀鎮守府", "203.104.209.71"); + case 2: + return new KCServer(num, "Kure Naval District", "呉鎮守府", "203.104.209.87"); + case 3: + return new KCServer(num, "Sasebo Naval District", "佐世保鎮守府", "125.6.184.215"); + case 4: + return new KCServer(num, "Maizuru Naval District", "舞鶴鎮守府", "203.104.209.183"); + case 5: + return new KCServer(num, "Ominato Guard District", "大湊警備府", "203.104.209.150"); + case 6: + return new KCServer(num, "Truk Anchorage", "トラック泊地", "203.104.209.134"); + case 7: + return new KCServer(num, "Lingga Anchorage", "リンガ泊地", "203.104.209.167"); + case 8: + return new KCServer(num, "Rabaul Naval Base", "ラバウル基地", "203.104.209.199"); + case 9: + return new KCServer(num, "Shortland Anchorage", "ショートランド泊地", "125.6.189.7"); + case 10: + return new KCServer(num, "Buin Naval Base", "ブイン基地", "125.6.189.39"); + case 11: + return new KCServer(num, "Tawi-Tawi Anchorage", "タウイタウイ泊地", "125.6.189.71"); + case 12: + return new KCServer(num, "Palau Anchorage", "パラオ泊地", "125.6.189.103"); + case 13: + return new KCServer(num, "Brunei Anchorage", "ブルネイ泊地", "125.6.189.135"); + case 14: + return new KCServer(num, "Hitokappu Bay Anchorage", "単冠湾泊地", "125.6.189.167"); + case 15: + return new KCServer(num, "Paramushir Anchorage", "幌筵泊地", "125.6.189.215"); + case 16: + return new KCServer(num, "Sukumo Bay Anchorage", "宿毛湾泊地", "125.6.189.247"); + case 17: + return new KCServer(num, "Kanoya Airfield", "鹿屋基地", "203.104.209.23"); + case 18: + return new KCServer(num, "Iwagawa Airfield", "岩川基地", "203.104.209.39"); + case 19: + return new KCServer(num, "Saiki Bay Anchorage", "佐伯湾泊地", "203.104.209.55"); + case 20: + return new KCServer(num, "Hashirajima Anchorage", "柱島泊地", "203.104.209.102"); + default: + return new KCServer(0, "", "", ""); + } + } + + public static KCServer getKCServer(string ip) + { + switch (ip) + { + case "203.104.209.71": + return getKCServer(1); + case "203.104.209.87": + return getKCServer(2); + case "125.6.184.215": + return getKCServer(3); + case "203.104.209.183": + return getKCServer(4); + case "203.104.209.150": + return getKCServer(5); + case "203.104.209.134": + return getKCServer(6); + case "203.104.209.167": + return getKCServer(7); + case "203.104.209.199": + return getKCServer(8); + case "125.6.189.7": + return getKCServer(9); + case "125.6.189.39": + return getKCServer(10); + case "125.6.189.71": + return getKCServer(11); + case "125.6.189.103": + return getKCServer(12); + case "125.6.189.135": + return getKCServer(13); + case "125.6.189.167": + return getKCServer(14); + case "125.6.189.215": + return getKCServer(15); + case "125.6.189.247": + return getKCServer(16); + case "203.104.209.23": + return getKCServer(17); + case "203.104.209.39": + return getKCServer(18); + case "203.104.209.55": + return getKCServer(19); + case "203.104.209.102": + return getKCServer(20); + default: + return new KCServer(0, "", "", ""); + } + } + + public static string getRank(int num) + { + switch (num) + { + case 1: + return "Marshal Admiral"; + case 2: + return "Admiral"; + case 3: + return "Vice-Admiral"; + case 4: + return "Rear-Admiral"; + case 5: + return "Captain"; + case 6: + return "Commander"; + case 7: + return "Commander (Novice)"; + case 8: + return "Lieutenant-Commander"; + case 9: + return "Vice Lieutenant-Commander"; + case 10: + return "Lieutenant-Commander (Novice)"; + default: + return ""; + } + } + + #endregion + } } diff --git a/ElectronicObserver/Data/KCDatabase.cs b/ElectronicObserver/Data/KCDatabase.cs index 491afe36d..a1f486a16 100644 --- a/ElectronicObserver/Data/KCDatabase.cs +++ b/ElectronicObserver/Data/KCDatabase.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Data.Constants; namespace ElectronicObserver.Data { @@ -154,6 +155,11 @@ public sealed class KCDatabase /// public IDDictionary RelocatedEquipments { get; private set; } + /// + /// Current server + /// + public KCServer Server { get; set; } + private KCDatabase() { @@ -180,7 +186,7 @@ private KCDatabase() ShipGroup = new ShipGroupManager(); BaseAirCorps = new IDDictionary(); RelocatedEquipments = new IDDictionary(); - } + } public void Load() diff --git a/ElectronicObserver/ElectronicObserver.csproj b/ElectronicObserver/ElectronicObserver.csproj index 33db03565..cda6718b5 100644 --- a/ElectronicObserver/ElectronicObserver.csproj +++ b/ElectronicObserver/ElectronicObserver.csproj @@ -74,6 +74,9 @@ MinimumRecommendedRules.ruleset + + ..\packages\DiscordRichPresence.1.0.121\lib\net35\DiscordRPC.dll + ..\Libraries\DynamicJson.dll @@ -89,6 +92,9 @@ ..\packages\Nekoxy.1.5.3.21\lib\net45\Nekoxy.dll True + + ..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll + @@ -245,6 +251,7 @@ True NotifierRes.resx + diff --git a/ElectronicObserver/Observer/APIObserver.cs b/ElectronicObserver/Observer/APIObserver.cs index 45e34b10c..f7a6380ec 100644 --- a/ElectronicObserver/Observer/APIObserver.cs +++ b/ElectronicObserver/Observer/APIObserver.cs @@ -1,4 +1,5 @@ using Codeplex.Data; +using ElectronicObserver.Data; using ElectronicObserver.Observer.kcsapi; using ElectronicObserver.Utility; using ElectronicObserver.Utility.Mathematics; @@ -7,11 +8,14 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Net.WebSockets; using System.Text; using System.Text.RegularExpressions; +using System.Threading; using System.Threading.Tasks; using System.Web; using System.Windows.Forms; +using static ElectronicObserver.Data.Constants; namespace ElectronicObserver.Observer { @@ -49,8 +53,8 @@ public sealed class APIObserver private APIObserver() { - APIList = new APIDictionary - { + APIList = new APIDictionary + { new kcsapi.api_start2.getData(), new kcsapi.api_get_member.basic(), new kcsapi.api_get_member.slot_item(), @@ -226,12 +230,25 @@ void HttpProxy_AfterSessionComplete(Session session) string baseurl = session.Request.PathAndQuery; - //debug - //Utility.Logger.Add( 1, baseurl ); + //debug + //Utility.Logger.Add( 1, baseurl ); + + + if (baseurl == ("/gadgets/makeRequest")) + { + KCDatabase db = KCDatabase.Instance; + if (db.Server is null) + { + string body = session.Response.BodyAsString; + string url = body.Split('/')[2]; + url = url.Split('\\')[0]; + db.Server = getKCServer(url); + } + } - // request - if (baseurl.Contains("/kcsapi/")) + // request + if (baseurl.Contains("/kcsapi/")) { string url = baseurl; @@ -255,7 +272,6 @@ void HttpProxy_AfterSessionComplete(Session session) //response //保存 - if (c.SaveReceivedData) { @@ -266,7 +282,7 @@ void HttpProxy_AfterSessionComplete(Session session) Directory.CreateDirectory(c.SaveDataPath); - if (c.SaveResponse && baseurl.Contains("/kcsapi/")) + if (c.SaveResponse && baseurl.Contains("/kcsapi/")) { // 非同期で書き出し処理するので取っておく @@ -451,7 +467,11 @@ public void LoadResponse(string path, string data) { ResponseReceived(shortpath, json); APIList.OnResponseReceived(shortpath, json); - } + } else if (shortpath.Contains("api_req_ranking")) { + shortpath = "api_req_ranking/getlist"; + ResponseReceived(shortpath, json.api_data); + APIList.OnResponseReceived(shortpath, json.api_data); + } else if (json.IsDefined("api_data")) { ResponseReceived(shortpath, json.api_data); @@ -509,27 +529,27 @@ private void SaveRequest(string url, string body) private void SaveResponse(string url, string body) { - try - { + try + { - string tpath = string.Format("{0}\\{1}S@{2}.json", Utility.Configuration.Config.Connection.SaveDataPath, DateTimeHelper.GetTimeStamp(), url.Substring(url.LastIndexOf("/kcsapi/") + 8).Replace("/", "@")); + string tpath = string.Format("{0}\\{1}S@{2}.json", Utility.Configuration.Config.Connection.SaveDataPath, DateTimeHelper.GetTimeStamp(), url.Substring(url.LastIndexOf("/kcsapi/") + 8).Replace("/", "@")); - using (var sw = new System.IO.StreamWriter(tpath, false, Encoding.UTF8)) - { - sw.Write(body); - } + using (var sw = new System.IO.StreamWriter(tpath, false, Encoding.UTF8)) + { + sw.Write(body); + } - } - catch (Exception ex) - { + } + catch (Exception ex) + { - Utility.ErrorReporter.SendErrorReport( ex, LoggerRes.FailedSaveAPI ); + Utility.ErrorReporter.SendErrorReport(ex, LoggerRes.FailedSaveAPI); - } + } - } + } } diff --git a/ElectronicObserver/Observer/DiscordRPC.cs b/ElectronicObserver/Observer/DiscordRPC.cs new file mode 100644 index 000000000..84c3599b2 --- /dev/null +++ b/ElectronicObserver/Observer/DiscordRPC.cs @@ -0,0 +1,99 @@ +using DiscordRPC; +using DiscordRPC.Logging; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ElectronicObserver.Observer +{ + class DiscordRPC + { + #region Singleton + + private static readonly DiscordRPC instance = new DiscordRPC(); + + public static DiscordRPC Instance => instance; + + #endregion + + private DiscordRpcClient client; + + private int count; + + public DiscordFormat data { get; set; } + + private DiscordRPC() + { + // Store the client id somewhere + client = new DiscordRpcClient("391369077991538698"); + + //Set the logger + client.Logger = new ConsoleLogger() { Level = LogLevel.Warning }; + + //Connect to the RPC + client.Initialize(); + + StartRPCUpdate(); + } + + private void SetActivity() + { + if (!Utility.Configuration.Config.Control.EnableDiscordRPC) return; + + string state = ""; + + if (data.bot != null) + { + state = data.bot[++count % data.bot.Count]; + } + + //Set the rich presence + //Call this as many times as you want and anywhere in your code. + client.SetPresence(new RichPresence() + { + Details = data.top, + State = state, + Assets = new Assets() + { + LargeImageKey = "kc_logo_512x512", + LargeImageText = data.large, + SmallImageText = data.small, + } + }); + } + + private void StartRPCUpdate() + { + data = new DiscordFormat() + { + bot = new List(), + top = "Loading Integration...", + large = "Kantai Collection", + small = "Idle" + }; + + data.bot.Add("Rank data not loaded"); + + SetActivity(); + + Task task = Task.Run(async () => { + for (; ; ) + { + await Task.Delay(15000); + SetActivity(); + } + }); + } + + public class DiscordFormat + { + public string top { get; set; } + public List bot { get; set; } + public string large { get; set; } + public string small { get; set; } + public string timestamp { get; set; } + } + } +} diff --git a/ElectronicObserver/Observer/kcsapi/api_port/port.cs b/ElectronicObserver/Observer/kcsapi/api_port/port.cs index 2f764b7a9..29ef5cd72 100644 --- a/ElectronicObserver/Observer/kcsapi/api_port/port.cs +++ b/ElectronicObserver/Observer/kcsapi/api_port/port.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Observer.DiscordRPC; namespace ElectronicObserver.Observer.kcsapi.api_port { @@ -36,9 +37,9 @@ public override void OnResponseReceived(dynamic data) db.Ships.Add(a); } - - - //api_ndock + + + //api_ndock foreach (var elem in data.api_ndock) { @@ -61,9 +62,34 @@ public override void OnResponseReceived(dynamic data) db.Fleet.LoadFromResponse(APIName, data.api_deck_port); db.Fleet.CombinedFlag = data.api_combined_flag() ? (int)data.api_combined_flag : 0; + if (Utility.Configuration.Config.Control.EnableDiscordRPC) + { + DiscordFormat dataForWS = Instance.data; + dataForWS.top = Utility.Configuration.Config.Control.DiscordRPCMessage.Replace("{{secretary}}", db.Fleet[1].MembersInstance[0].Name); + + dataForWS.bot = new List(); + + if (db.Admiral.Senka != null) + { + dataForWS.bot.Add(string.Format("Rank {0} on {1}", db.Admiral.Senka, db.Server.Name)); + } + else + { + dataForWS.bot.Add("Rank data not loaded"); + } + + if (Utility.Configuration.Config.Control.DiscordRPCShowFCM) + dataForWS.bot.Add(new StringBuilder("First class medals: ").Append(db.Admiral.Medals).ToString()); + + + dataForWS.large = string.Format("{0} (HQ Level {1})", db.Admiral.AdmiralName, db.Admiral.Level); + + dataForWS.small = db.Admiral.RankString; + } - // 基地航空隊 配置転換系の処理 - if (data.api_plane_info() && data.api_plane_info.api_base_convert_slot()) + + // 基地航空隊 配置転換系の処理 + if (data.api_plane_info() && data.api_plane_info.api_base_convert_slot()) { var prev = db.RelocatedEquipments.Keys.ToArray(); diff --git a/ElectronicObserver/Observer/kcsapi/api_req_map/next.cs b/ElectronicObserver/Observer/kcsapi/api_req_map/next.cs index 67b12e130..7a51903c6 100644 --- a/ElectronicObserver/Observer/kcsapi/api_req_map/next.cs +++ b/ElectronicObserver/Observer/kcsapi/api_req_map/next.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Observer.DiscordRPC; namespace ElectronicObserver.Observer.kcsapi.api_req_map { @@ -13,8 +14,16 @@ public class next : APIBase public override void OnResponseReceived(dynamic data) { + KCDatabase db = KCDatabase.Instance; - KCDatabase.Instance.Battle.LoadFromResponse(APIName, data); + db.Battle.LoadFromResponse(APIName, data); + + if (Utility.Configuration.Config.Control.EnableDiscordRPC) + { + DiscordFormat dataForWS = Instance.data; + dataForWS.top = string.Format("Node {0}-{1} {2}", db.Battle.Compass.MapAreaID, db.Battle.Compass.MapInfoID, db.Battle.Compass.DestinationID); + + } base.OnResponseReceived((object)data); diff --git a/ElectronicObserver/Observer/kcsapi/api_req_map/start.cs b/ElectronicObserver/Observer/kcsapi/api_req_map/start.cs index 52171758b..13d0da563 100644 --- a/ElectronicObserver/Observer/kcsapi/api_req_map/start.cs +++ b/ElectronicObserver/Observer/kcsapi/api_req_map/start.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Observer.DiscordRPC; namespace ElectronicObserver.Observer.kcsapi.api_req_map { @@ -14,9 +15,17 @@ public class start : APIBase public override void OnResponseReceived(dynamic data) { - KCDatabase.Instance.Battle.LoadFromResponse(APIName, data); + KCDatabase db = KCDatabase.Instance; - base.OnResponseReceived((object)data); + db.Battle.LoadFromResponse(APIName, data); + + if (Utility.Configuration.Config.Control.EnableDiscordRPC) + { + DiscordFormat dataForWS = Instance.data; + dataForWS.top = string.Format("Node {0}-{1} {2}", db.Battle.Compass.MapAreaID, db.Battle.Compass.MapInfoID, db.Battle.Compass.DestinationID); + } + + base.OnResponseReceived((object)data); // 表示順の関係上、UIの更新をしてからデータを更新する diff --git a/ElectronicObserver/Observer/kcsapi/api_req_practice/battle.cs b/ElectronicObserver/Observer/kcsapi/api_req_practice/battle.cs index 78434e934..1792dee07 100644 --- a/ElectronicObserver/Observer/kcsapi/api_req_practice/battle.cs +++ b/ElectronicObserver/Observer/kcsapi/api_req_practice/battle.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using static ElectronicObserver.Observer.DiscordRPC; namespace ElectronicObserver.Observer.kcsapi.api_req_practice { @@ -23,11 +24,16 @@ public override void OnRequestReceived(Dictionary data) public override void OnResponseReceived(dynamic data) { + KCDatabase.Instance.Battle.LoadFromResponse(APIName, data); - KCDatabase.Instance.Battle.LoadFromResponse(APIName, data); + if (Utility.Configuration.Config.Control.EnableDiscordRPC) + { + DiscordFormat dataForWS = Instance.data; + dataForWS.top = "Doing PVP"; + } - base.OnResponseReceived((object)data); + base.OnResponseReceived((object)data); } public override string APIName => "api_req_practice/battle"; diff --git a/ElectronicObserver/Observer/kcsapi/api_req_ranking/getlist.cs b/ElectronicObserver/Observer/kcsapi/api_req_ranking/getlist.cs index e3ba20562..f9bbea2ba 100644 --- a/ElectronicObserver/Observer/kcsapi/api_req_ranking/getlist.cs +++ b/ElectronicObserver/Observer/kcsapi/api_req_ranking/getlist.cs @@ -1,7 +1,9 @@ -using System; +using ElectronicObserver.Data; +using System; using System.Collections.Generic; using System.Linq; using System.Text; +using System.Text.RegularExpressions; using System.Threading.Tasks; namespace ElectronicObserver.Observer.kcsapi.api_req_ranking @@ -9,8 +11,31 @@ namespace ElectronicObserver.Observer.kcsapi.api_req_ranking public class getlist : APIBase { + public override void OnResponseReceived(dynamic data) + { + KCDatabase db = KCDatabase.Instance; - public override string APIName => "api_req_ranking/getlist"; - } + string pattern = new StringBuilder("\"api_.{12}\":[0-9]*,\"api_.{12}\":\"").AppendFormat("{0}\"", db.Admiral.AdmiralName).ToString(); + Regex regex = new Regex(pattern); + + try + { + string rankData = regex.Match(data.ToString()).Value; + rankData = rankData.Split(',')[0].Split(':')[1].Replace('"', '\0'); + db.Admiral.Senka = int.Parse(rankData); + } + catch (Exception ex) + { //ファイルがロックされている; 頻繁に出るのでエラーレポートを残さない + + Utility.Logger.Add(3, LoggerRes.FailedSaveAPI + ex.Message); + } + + base.OnResponseReceived((object)data); + } + + public override string APIName => "api_req_ranking/getlist"; + + public override bool IsResponseSupported => true; + } } diff --git a/ElectronicObserver/Utility/Configuration.cs b/ElectronicObserver/Utility/Configuration.cs index 2cab5b923..277ed2b0d 100644 --- a/ElectronicObserver/Utility/Configuration.cs +++ b/ElectronicObserver/Utility/Configuration.cs @@ -120,9 +120,7 @@ public class ConfigConnection : ConfigPartBase /// public string DownstreamProxy { get; set; } - - - public ConfigConnection() + public ConfigConnection() { Port = 40620; @@ -138,7 +136,7 @@ public ConfigConnection() UpstreamProxyAddress = "127.0.0.1"; UseSystemProxy = false; DownstreamProxy = ""; - } + } } /// 通信 @@ -643,7 +641,22 @@ public class ConfigControl : ConfigPartBase /// public bool ShowExpeditionAlertDialog { get; set; } - public ConfigControl() + /// + /// Enable Discord RPC + /// + public bool EnableDiscordRPC { get; set; } + + /// + /// Discord RPC message to display use {{secretary}} to insert secretary name + /// + public string DiscordRPCMessage { get; set; } + + /// + /// Set if the Discord rich presence shouuld show your number of first class medals + /// + public bool DiscordRPCShowFCM { get; set; } + + public ConfigControl() { ConditionBorder = 40; RecordAutoSaving = 1; @@ -654,7 +667,10 @@ public ConfigControl() ShowSallyAreaAlertDialog = true; ExpCheckerExpUnit = 2268; ShowExpeditionAlertDialog = true; - } + EnableDiscordRPC = false; + DiscordRPCMessage = "Headpatting {{secretary}}"; + DiscordRPCShowFCM = true; + } } /// 動作 [DataMember] diff --git a/ElectronicObserver/Window/Dialog/DialogConfiguration.Designer.cs b/ElectronicObserver/Window/Dialog/DialogConfiguration.Designer.cs index 7280e91b1..3fa392fcc 100644 --- a/ElectronicObserver/Window/Dialog/DialogConfiguration.Designer.cs +++ b/ElectronicObserver/Window/Dialog/DialogConfiguration.Designer.cs @@ -30,6 +30,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ElectronicObserver.Window.Control.StatusBarModule statusBarModule1 = new ElectronicObserver.Window.Control.StatusBarModule(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogConfiguration)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); @@ -60,7 +61,8 @@ private void InitializeComponent() this.UI_JapaneseShipTypes = new System.Windows.Forms.CheckBox(); this.UI_JapaneseShipNames = new System.Windows.Forms.CheckBox(); this.UI_NodeNumbering = new System.Windows.Forms.CheckBox(); - + this.label21 = new System.Windows.Forms.Label(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.UI_RenderingTestChanger = new System.Windows.Forms.TrackBar(); this.UI_RenderingTest = new ElectronicObserver.Window.Control.ShipStatusHP(); @@ -84,6 +86,10 @@ private void InitializeComponent() this.Log_LogLevel = new System.Windows.Forms.NumericUpDown(); this.label6 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); + this.Control_DiscordRPCShowFCM = new System.Windows.Forms.CheckBox(); + this.Control_EnableDiscordRPC = new System.Windows.Forms.CheckBox(); + this.label22 = new System.Windows.Forms.Label(); + this.Control_DiscordRPCMessage = new System.Windows.Forms.TextBox(); this.Control_ShowExpeditionAlertDialog = new System.Windows.Forms.CheckBox(); this.Control_ShowSallyAreaAlertDialog = new System.Windows.Forms.CheckBox(); this.Control_PowerEngagementForm = new System.Windows.Forms.ComboBox(); @@ -251,8 +257,6 @@ private void InitializeComponent() this.APIListBrowser = new System.Windows.Forms.OpenFileDialog(); this.Log_PlayTime = new System.Windows.Forms.Label(); this.PlayTimeTimer = new System.Windows.Forms.Timer(this.components); - this.label21 = new System.Windows.Forms.Label(); - this.comboBox1 = new System.Windows.Forms.ComboBox(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Connection_UpstreamProxyPort)).BeginInit(); @@ -301,1109 +305,1214 @@ private void InitializeComponent() this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Controls.Add(this.tabPage3); - this.tabControl1.Controls.Add(this.tabPage4); - this.tabControl1.Controls.Add(this.tabPage5); - this.tabControl1.Controls.Add(this.tabPage6); - this.tabControl1.Controls.Add(this.tabPage7); - this.tabControl1.Controls.Add(this.tabPage11); - this.tabControl1.Controls.Add(this.tabPage17); - this.tabControl1.Location = new System.Drawing.Point(0, 0); - this.tabControl1.Multiline = true; - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(704, 400); - this.tabControl1.TabIndex = 0; - // - // tabPage1 - // - this.tabPage1.Controls.Add(this.label19); - this.tabPage1.Controls.Add(this.Connection_UpstreamProxyAddress); - this.tabPage1.Controls.Add(this.Connection_DownstreamProxyLabel); - this.tabPage1.Controls.Add(this.Connection_DownstreamProxy); - this.tabPage1.Controls.Add(this.Connection_UseSystemProxy); - this.tabPage1.Controls.Add(this.Connection_UpstreamProxyPort); - this.tabPage1.Controls.Add(this.Connection_UseUpstreamProxy); - this.tabPage1.Controls.Add(this.Connection_RegisterAsSystemProxy); - this.tabPage1.Controls.Add(this.Connection_OutputConnectionScript); - this.tabPage1.Controls.Add(this.label4); - this.tabPage1.Controls.Add(this.Connection_PanelSaveData); - this.tabPage1.Controls.Add(this.Connection_SaveReceivedData); - this.tabPage1.Controls.Add(this.Connection_Port); - this.tabPage1.Controls.Add(this.label1); - this.tabPage1.Location = new System.Drawing.Point(4, 24); - this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(696, 372); - this.tabPage1.TabIndex = 0; - this.tabPage1.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Communication; - this.tabPage1.UseVisualStyleBackColor = true; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.ForeColor = System.Drawing.Color.Red; - this.label19.Location = new System.Drawing.Point(32, 278); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(285, 15); - this.label19.TabIndex = 13; - this.label19.Text = "* Network settings will take effect after restart"; - // - // Connection_UpstreamProxyAddress - // - this.Connection_UpstreamProxyAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.tabControl1.Controls.Add(this.tabPage1); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.tabPage3); + this.tabControl1.Controls.Add(this.tabPage4); + this.tabControl1.Controls.Add(this.tabPage5); + this.tabControl1.Controls.Add(this.tabPage6); + this.tabControl1.Controls.Add(this.tabPage7); + this.tabControl1.Controls.Add(this.tabPage11); + this.tabControl1.Controls.Add(this.tabPage17); + this.tabControl1.Location = new System.Drawing.Point(0, 0); + this.tabControl1.Multiline = true; + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(704, 400); + this.tabControl1.TabIndex = 0; + // + // tabPage1 + // + this.tabPage1.Controls.Add(this.label19); + this.tabPage1.Controls.Add(this.Connection_UpstreamProxyAddress); + this.tabPage1.Controls.Add(this.Connection_DownstreamProxyLabel); + this.tabPage1.Controls.Add(this.Connection_DownstreamProxy); + this.tabPage1.Controls.Add(this.Connection_UseSystemProxy); + this.tabPage1.Controls.Add(this.Connection_UpstreamProxyPort); + this.tabPage1.Controls.Add(this.Connection_UseUpstreamProxy); + this.tabPage1.Controls.Add(this.Connection_RegisterAsSystemProxy); + this.tabPage1.Controls.Add(this.Connection_OutputConnectionScript); + this.tabPage1.Controls.Add(this.label4); + this.tabPage1.Controls.Add(this.Connection_PanelSaveData); + this.tabPage1.Controls.Add(this.Connection_SaveReceivedData); + this.tabPage1.Controls.Add(this.Connection_Port); + this.tabPage1.Controls.Add(this.label1); + this.tabPage1.Location = new System.Drawing.Point(4, 24); + this.tabPage1.Name = "tabPage1"; + this.tabPage1.Padding = new System.Windows.Forms.Padding(3); + this.tabPage1.Size = new System.Drawing.Size(696, 372); + this.tabPage1.TabIndex = 0; + this.tabPage1.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Communication; + this.tabPage1.UseVisualStyleBackColor = true; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.ForeColor = System.Drawing.Color.Red; + this.label19.Location = new System.Drawing.Point(32, 278); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(284, 15); + this.label19.TabIndex = 13; + this.label19.Text = "* Network settings will take effect after restart"; + // + // Connection_UpstreamProxyAddress + // + this.Connection_UpstreamProxyAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Connection_UpstreamProxyAddress.Location = new System.Drawing.Point(250, 35); - this.Connection_UpstreamProxyAddress.Name = "Connection_UpstreamProxyAddress"; - this.Connection_UpstreamProxyAddress.Size = new System.Drawing.Size(432, 23); - this.Connection_UpstreamProxyAddress.TabIndex = 12; - this.ToolTipInfo.SetToolTip(this.Connection_UpstreamProxyAddress, "Specify address of the upstream proxy. \r\nThe default value is 127.0.0.1."); - // - // Connection_DownstreamProxyLabel - // - this.Connection_DownstreamProxyLabel.AutoSize = true; - this.Connection_DownstreamProxyLabel.Location = new System.Drawing.Point(6, 67); - this.Connection_DownstreamProxyLabel.Name = "Connection_DownstreamProxyLabel"; - this.Connection_DownstreamProxyLabel.Size = new System.Drawing.Size(124, 15); - this.Connection_DownstreamProxyLabel.TabIndex = 11; - this.Connection_DownstreamProxyLabel.Text = "Downstream proxy:"; - // - // Connection_DownstreamProxy - // - this.Connection_DownstreamProxy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Connection_UpstreamProxyAddress.Location = new System.Drawing.Point(250, 35); + this.Connection_UpstreamProxyAddress.Name = "Connection_UpstreamProxyAddress"; + this.Connection_UpstreamProxyAddress.Size = new System.Drawing.Size(432, 23); + this.Connection_UpstreamProxyAddress.TabIndex = 12; + this.ToolTipInfo.SetToolTip(this.Connection_UpstreamProxyAddress, "Specify address of the upstream proxy. \r\nThe default value is 127.0.0.1."); + // + // Connection_DownstreamProxyLabel + // + this.Connection_DownstreamProxyLabel.AutoSize = true; + this.Connection_DownstreamProxyLabel.Location = new System.Drawing.Point(6, 67); + this.Connection_DownstreamProxyLabel.Name = "Connection_DownstreamProxyLabel"; + this.Connection_DownstreamProxyLabel.Size = new System.Drawing.Size(124, 15); + this.Connection_DownstreamProxyLabel.TabIndex = 11; + this.Connection_DownstreamProxyLabel.Text = "Downstream proxy:"; + // + // Connection_DownstreamProxy + // + this.Connection_DownstreamProxy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Connection_DownstreamProxy.Location = new System.Drawing.Point(164, 64); - this.Connection_DownstreamProxy.Name = "Connection_DownstreamProxy"; - this.Connection_DownstreamProxy.Size = new System.Drawing.Size(518, 23); - this.Connection_DownstreamProxy.TabIndex = 10; - this.ToolTipInfo.SetToolTip(this.Connection_DownstreamProxy, - "Specify the downstream proxy settings.\r\nThis setting will override the upstream proxy settings.\r\nFor advanced users only."); - // - // Connection_UseSystemProxy - // - this.Connection_UseSystemProxy.AutoSize = true; - this.Connection_UseSystemProxy.Location = new System.Drawing.Point(147, 7); - this.Connection_UseSystemProxy.Name = "Connection_UseSystemProxy"; - this.Connection_UseSystemProxy.Size = new System.Drawing.Size(135, 19); - this.Connection_UseSystemProxy.TabIndex = 9; - this.Connection_UseSystemProxy.Text = "Use system proxy"; - this.ToolTipInfo.SetToolTip(this.Connection_UseSystemProxy, global::ElectronicObserver.Window.Dialog.ConfigRes.UseSystemProxyTooltip); - this.Connection_UseSystemProxy.UseVisualStyleBackColor = true; - // - // Connection_UpstreamProxyPort - // - this.Connection_UpstreamProxyPort.Location = new System.Drawing.Point(164, 35); - this.Connection_UpstreamProxyPort.Maximum = new decimal(new int[] { + this.Connection_DownstreamProxy.Location = new System.Drawing.Point(164, 64); + this.Connection_DownstreamProxy.Name = "Connection_DownstreamProxy"; + this.Connection_DownstreamProxy.Size = new System.Drawing.Size(518, 23); + this.Connection_DownstreamProxy.TabIndex = 10; + this.ToolTipInfo.SetToolTip(this.Connection_DownstreamProxy, "Specify the downstream proxy settings.\r\nThis setting will override the upstream p" + + "roxy settings.\r\nFor advanced users only."); + // + // Connection_UseSystemProxy + // + this.Connection_UseSystemProxy.AutoSize = true; + this.Connection_UseSystemProxy.Location = new System.Drawing.Point(147, 7); + this.Connection_UseSystemProxy.Name = "Connection_UseSystemProxy"; + this.Connection_UseSystemProxy.Size = new System.Drawing.Size(132, 19); + this.Connection_UseSystemProxy.TabIndex = 9; + this.Connection_UseSystemProxy.Text = "Use system proxy"; + this.ToolTipInfo.SetToolTip(this.Connection_UseSystemProxy, global::ElectronicObserver.Window.Dialog.ConfigRes.UseSystemProxyTooltip); + this.Connection_UseSystemProxy.UseVisualStyleBackColor = true; + // + // Connection_UpstreamProxyPort + // + this.Connection_UpstreamProxyPort.Location = new System.Drawing.Point(164, 35); + this.Connection_UpstreamProxyPort.Maximum = new decimal(new int[] { 65535, 0, 0, 0}); - this.Connection_UpstreamProxyPort.Name = "Connection_UpstreamProxyPort"; - this.Connection_UpstreamProxyPort.Size = new System.Drawing.Size(80, 23); - this.Connection_UpstreamProxyPort.TabIndex = 4; - this.Connection_UpstreamProxyPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.Connection_UpstreamProxyPort, "Specify port number of the local proxy server."); - // - // Connection_UseUpstreamProxy - // - this.Connection_UseUpstreamProxy.AutoSize = true; - this.Connection_UseUpstreamProxy.Location = new System.Drawing.Point(6, 36); - this.Connection_UseUpstreamProxy.Name = "Connection_UseUpstreamProxy"; - this.Connection_UseUpstreamProxy.Size = new System.Drawing.Size(152, 19); - this.Connection_UseUpstreamProxy.TabIndex = 3; - this.Connection_UseUpstreamProxy.Text = "Use local proxy:"; - this.ToolTipInfo.SetToolTip(this.Connection_UseUpstreamProxy, "Use local proxy server.\r\nEnable if you want to route the connection through\r\nthird-party application (e.g: MyFleetGirls)."); - this.Connection_UseUpstreamProxy.UseVisualStyleBackColor = true; - // - // Connection_RegisterAsSystemProxy - // - this.Connection_RegisterAsSystemProxy.AutoSize = true; - this.Connection_RegisterAsSystemProxy.Enabled = false; - this.Connection_RegisterAsSystemProxy.Location = new System.Drawing.Point(288, 7); - this.Connection_RegisterAsSystemProxy.Name = "Connection_RegisterAsSystemProxy"; - this.Connection_RegisterAsSystemProxy.Size = new System.Drawing.Size(152, 19); - this.Connection_RegisterAsSystemProxy.TabIndex = 2; - this.Connection_RegisterAsSystemProxy.Text = "Register as system proxy."; - this.ToolTipInfo.SetToolTip(this.Connection_RegisterAsSystemProxy, global::ElectronicObserver.Window.Dialog.ConfigRes.RegSystemProxyHint); - this.Connection_RegisterAsSystemProxy.UseVisualStyleBackColor = true; - this.Connection_RegisterAsSystemProxy.Visible = false; - // - // Connection_OutputConnectionScript - // - this.Connection_OutputConnectionScript.Location = new System.Drawing.Point(6, 181); - this.Connection_OutputConnectionScript.Name = "Connection_OutputConnectionScript"; - this.Connection_OutputConnectionScript.Size = new System.Drawing.Size(200, 23); - this.Connection_OutputConnectionScript.TabIndex = 8; - this.Connection_OutputConnectionScript.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.OutputProxyScript; - this.Connection_OutputConnectionScript.UseVisualStyleBackColor = true; - this.Connection_OutputConnectionScript.Click += new System.EventHandler(this.Connection_OutputConnectionScript_Click); - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(138, 95); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(201, 15); - this.label4.TabIndex = 6; - this.label4.Text = ConfigRes.MayIncreaseSize; - // - // Connection_PanelSaveData - // - this.Connection_PanelSaveData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Connection_UpstreamProxyPort.Name = "Connection_UpstreamProxyPort"; + this.Connection_UpstreamProxyPort.Size = new System.Drawing.Size(80, 23); + this.Connection_UpstreamProxyPort.TabIndex = 4; + this.Connection_UpstreamProxyPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.Connection_UpstreamProxyPort, "Specify port number of the local proxy server."); + // + // Connection_UseUpstreamProxy + // + this.Connection_UseUpstreamProxy.AutoSize = true; + this.Connection_UseUpstreamProxy.Location = new System.Drawing.Point(6, 36); + this.Connection_UseUpstreamProxy.Name = "Connection_UseUpstreamProxy"; + this.Connection_UseUpstreamProxy.Size = new System.Drawing.Size(120, 19); + this.Connection_UseUpstreamProxy.TabIndex = 3; + this.Connection_UseUpstreamProxy.Text = "Use local proxy:"; + this.ToolTipInfo.SetToolTip(this.Connection_UseUpstreamProxy, "Use local proxy server.\r\nEnable if you want to route the connection through\r\nthir" + + "d-party application (e.g: MyFleetGirls)."); + this.Connection_UseUpstreamProxy.UseVisualStyleBackColor = true; + // + // Connection_RegisterAsSystemProxy + // + this.Connection_RegisterAsSystemProxy.AutoSize = true; + this.Connection_RegisterAsSystemProxy.Enabled = false; + this.Connection_RegisterAsSystemProxy.Location = new System.Drawing.Point(288, 7); + this.Connection_RegisterAsSystemProxy.Name = "Connection_RegisterAsSystemProxy"; + this.Connection_RegisterAsSystemProxy.Size = new System.Drawing.Size(178, 19); + this.Connection_RegisterAsSystemProxy.TabIndex = 2; + this.Connection_RegisterAsSystemProxy.Text = "Register as system proxy."; + this.ToolTipInfo.SetToolTip(this.Connection_RegisterAsSystemProxy, global::ElectronicObserver.Window.Dialog.ConfigRes.RegSystemProxyHint); + this.Connection_RegisterAsSystemProxy.UseVisualStyleBackColor = true; + this.Connection_RegisterAsSystemProxy.Visible = false; + // + // Connection_OutputConnectionScript + // + this.Connection_OutputConnectionScript.Location = new System.Drawing.Point(6, 181); + this.Connection_OutputConnectionScript.Name = "Connection_OutputConnectionScript"; + this.Connection_OutputConnectionScript.Size = new System.Drawing.Size(200, 23); + this.Connection_OutputConnectionScript.TabIndex = 8; + this.Connection_OutputConnectionScript.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.OutputProxyScript; + this.Connection_OutputConnectionScript.UseVisualStyleBackColor = true; + this.Connection_OutputConnectionScript.Click += new System.EventHandler(this.Connection_OutputConnectionScript_Click); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(138, 95); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(201, 15); + this.label4.TabIndex = 6; + this.label4.Text = "*膨大なサイズになる可能性があります。"; + // + // Connection_PanelSaveData + // + this.Connection_PanelSaveData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Connection_PanelSaveData.Controls.Add(this.Connection_ApplyVersion); - this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveOtherFile); - this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveResponse); - this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveRequest); - this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveDataPathSearch); - this.Connection_PanelSaveData.Controls.Add(this.label3); - this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveDataPath); - this.Connection_PanelSaveData.Location = new System.Drawing.Point(8, 119); - this.Connection_PanelSaveData.Name = "Connection_PanelSaveData"; - this.Connection_PanelSaveData.Size = new System.Drawing.Size(680, 56); - this.Connection_PanelSaveData.TabIndex = 7; - // - // Connection_ApplyVersion - // - this.Connection_ApplyVersion.AutoSize = true; - this.Connection_ApplyVersion.Location = new System.Drawing.Point(237, 32); - this.Connection_ApplyVersion.Name = "Connection_ApplyVersion"; - this.Connection_ApplyVersion.Size = new System.Drawing.Size(68, 19); - this.Connection_ApplyVersion.TabIndex = 9; - this.Connection_ApplyVersion.Text = "Version"; - this.ToolTipInfo.SetToolTip(this.Connection_ApplyVersion, global::ElectronicObserver.Window.Dialog.ConfigRes.AddVersionToFile); - this.Connection_ApplyVersion.UseVisualStyleBackColor = true; - // - // Connection_SaveOtherFile - // - this.Connection_SaveOtherFile.AutoSize = true; - this.Connection_SaveOtherFile.Location = new System.Drawing.Point(172, 32); - this.Connection_SaveOtherFile.Name = "Connection_SaveOtherFile"; - this.Connection_SaveOtherFile.Size = new System.Drawing.Size(59, 19); - this.Connection_SaveOtherFile.TabIndex = 8; - this.Connection_SaveOtherFile.Text = "Other"; - this.ToolTipInfo.SetToolTip(this.Connection_SaveOtherFile, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAllConnectionFiles); - this.Connection_SaveOtherFile.UseVisualStyleBackColor = true; - // - // Connection_SaveResponse - // - this.Connection_SaveResponse.AutoSize = true; - this.Connection_SaveResponse.Location = new System.Drawing.Point(85, 32); - this.Connection_SaveResponse.Name = "Connection_SaveResponse"; - this.Connection_SaveResponse.Size = new System.Drawing.Size(81, 19); - this.Connection_SaveResponse.TabIndex = 6; - this.Connection_SaveResponse.Text = "Response"; - this.ToolTipInfo.SetToolTip(this.Connection_SaveResponse, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAPIResponses); - this.Connection_SaveResponse.UseVisualStyleBackColor = true; - // - // Connection_SaveRequest - // - this.Connection_SaveRequest.AutoSize = true; - this.Connection_SaveRequest.Location = new System.Drawing.Point(6, 32); - this.Connection_SaveRequest.Name = "Connection_SaveRequest"; - this.Connection_SaveRequest.Size = new System.Drawing.Size(73, 19); - this.Connection_SaveRequest.TabIndex = 5; - this.Connection_SaveRequest.Text = "Request"; - this.ToolTipInfo.SetToolTip(this.Connection_SaveRequest, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAPIRequests); - this.Connection_SaveRequest.UseVisualStyleBackColor = true; - // - // Connection_SaveDataPathSearch - // - this.Connection_SaveDataPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.Connection_SaveDataPathSearch.Location = new System.Drawing.Point(589, 3); - this.Connection_SaveDataPathSearch.Name = "Connection_SaveDataPathSearch"; - this.Connection_SaveDataPathSearch.Size = new System.Drawing.Size(85, 23); - this.Connection_SaveDataPathSearch.TabIndex = 4; - this.Connection_SaveDataPathSearch.Text = "Browse..."; - this.Connection_SaveDataPathSearch.UseVisualStyleBackColor = true; - this.Connection_SaveDataPathSearch.Click += new System.EventHandler(this.Connection_SaveDataPathSearch_Click); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(3, 6); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(48, 15); - this.label3.TabIndex = 2; - this.label3.Text = ConfigRes.SaveLocation + ":"; - // - // Connection_SaveDataPath - // - this.Connection_SaveDataPath.AllowDrop = true; - this.Connection_SaveDataPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Connection_PanelSaveData.Controls.Add(this.Connection_ApplyVersion); + this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveOtherFile); + this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveResponse); + this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveRequest); + this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveDataPathSearch); + this.Connection_PanelSaveData.Controls.Add(this.label3); + this.Connection_PanelSaveData.Controls.Add(this.Connection_SaveDataPath); + this.Connection_PanelSaveData.Location = new System.Drawing.Point(8, 119); + this.Connection_PanelSaveData.Name = "Connection_PanelSaveData"; + this.Connection_PanelSaveData.Size = new System.Drawing.Size(680, 56); + this.Connection_PanelSaveData.TabIndex = 7; + // + // Connection_ApplyVersion + // + this.Connection_ApplyVersion.AutoSize = true; + this.Connection_ApplyVersion.Location = new System.Drawing.Point(237, 32); + this.Connection_ApplyVersion.Name = "Connection_ApplyVersion"; + this.Connection_ApplyVersion.Size = new System.Drawing.Size(68, 19); + this.Connection_ApplyVersion.TabIndex = 9; + this.Connection_ApplyVersion.Text = "Version"; + this.ToolTipInfo.SetToolTip(this.Connection_ApplyVersion, global::ElectronicObserver.Window.Dialog.ConfigRes.AddVersionToFile); + this.Connection_ApplyVersion.UseVisualStyleBackColor = true; + // + // Connection_SaveOtherFile + // + this.Connection_SaveOtherFile.AutoSize = true; + this.Connection_SaveOtherFile.Location = new System.Drawing.Point(172, 32); + this.Connection_SaveOtherFile.Name = "Connection_SaveOtherFile"; + this.Connection_SaveOtherFile.Size = new System.Drawing.Size(59, 19); + this.Connection_SaveOtherFile.TabIndex = 8; + this.Connection_SaveOtherFile.Text = "Other"; + this.ToolTipInfo.SetToolTip(this.Connection_SaveOtherFile, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAllConnectionFiles); + this.Connection_SaveOtherFile.UseVisualStyleBackColor = true; + // + // Connection_SaveResponse + // + this.Connection_SaveResponse.AutoSize = true; + this.Connection_SaveResponse.Location = new System.Drawing.Point(85, 32); + this.Connection_SaveResponse.Name = "Connection_SaveResponse"; + this.Connection_SaveResponse.Size = new System.Drawing.Size(81, 19); + this.Connection_SaveResponse.TabIndex = 6; + this.Connection_SaveResponse.Text = "Response"; + this.ToolTipInfo.SetToolTip(this.Connection_SaveResponse, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAPIResponses); + this.Connection_SaveResponse.UseVisualStyleBackColor = true; + // + // Connection_SaveRequest + // + this.Connection_SaveRequest.AutoSize = true; + this.Connection_SaveRequest.Location = new System.Drawing.Point(6, 32); + this.Connection_SaveRequest.Name = "Connection_SaveRequest"; + this.Connection_SaveRequest.Size = new System.Drawing.Size(73, 19); + this.Connection_SaveRequest.TabIndex = 5; + this.Connection_SaveRequest.Text = "Request"; + this.ToolTipInfo.SetToolTip(this.Connection_SaveRequest, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveAPIRequests); + this.Connection_SaveRequest.UseVisualStyleBackColor = true; + // + // Connection_SaveDataPathSearch + // + this.Connection_SaveDataPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Connection_SaveDataPathSearch.Location = new System.Drawing.Point(589, 3); + this.Connection_SaveDataPathSearch.Name = "Connection_SaveDataPathSearch"; + this.Connection_SaveDataPathSearch.Size = new System.Drawing.Size(85, 23); + this.Connection_SaveDataPathSearch.TabIndex = 4; + this.Connection_SaveDataPathSearch.Text = "Browse..."; + this.Connection_SaveDataPathSearch.UseVisualStyleBackColor = true; + this.Connection_SaveDataPathSearch.Click += new System.EventHandler(this.Connection_SaveDataPathSearch_Click); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(3, 6); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(48, 15); + this.label3.TabIndex = 2; + this.label3.Text = "保存先:"; + // + // Connection_SaveDataPath + // + this.Connection_SaveDataPath.AllowDrop = true; + this.Connection_SaveDataPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Connection_SaveDataPath.Location = new System.Drawing.Point(94, 3); - this.Connection_SaveDataPath.Name = "Connection_SaveDataPath"; - this.Connection_SaveDataPath.Size = new System.Drawing.Size(485, 23); - this.Connection_SaveDataPath.TabIndex = 3; - this.Connection_SaveDataPath.TextChanged += new System.EventHandler(this.Connection_SaveDataPath_TextChanged); - // - // Connection_SaveReceivedData - // - this.Connection_SaveReceivedData.AutoSize = true; - this.Connection_SaveReceivedData.Location = new System.Drawing.Point(6, 94); - this.Connection_SaveReceivedData.Name = "Connection_SaveReceivedData"; - this.Connection_SaveReceivedData.Size = new System.Drawing.Size(126, 19); - this.Connection_SaveReceivedData.TabIndex = 5; - this.Connection_SaveReceivedData.Text = "Save API data"; - this.Connection_SaveReceivedData.UseVisualStyleBackColor = true; - this.Connection_SaveReceivedData.CheckedChanged += new System.EventHandler(this.Connection_SaveReceivedData_CheckedChanged); - // - // Connection_Port - // - this.Connection_Port.Location = new System.Drawing.Point(61, 6); - this.Connection_Port.Maximum = new decimal(new int[] { + this.Connection_SaveDataPath.Location = new System.Drawing.Point(94, 3); + this.Connection_SaveDataPath.Name = "Connection_SaveDataPath"; + this.Connection_SaveDataPath.Size = new System.Drawing.Size(485, 23); + this.Connection_SaveDataPath.TabIndex = 3; + this.Connection_SaveDataPath.TextChanged += new System.EventHandler(this.Connection_SaveDataPath_TextChanged); + // + // Connection_SaveReceivedData + // + this.Connection_SaveReceivedData.AutoSize = true; + this.Connection_SaveReceivedData.Location = new System.Drawing.Point(6, 94); + this.Connection_SaveReceivedData.Name = "Connection_SaveReceivedData"; + this.Connection_SaveReceivedData.Size = new System.Drawing.Size(109, 19); + this.Connection_SaveReceivedData.TabIndex = 5; + this.Connection_SaveReceivedData.Text = "Save API data"; + this.Connection_SaveReceivedData.UseVisualStyleBackColor = true; + this.Connection_SaveReceivedData.CheckedChanged += new System.EventHandler(this.Connection_SaveReceivedData_CheckedChanged); + // + // Connection_Port + // + this.Connection_Port.Location = new System.Drawing.Point(61, 6); + this.Connection_Port.Maximum = new decimal(new int[] { 65535, 0, 0, 0}); - this.Connection_Port.Name = "Connection_Port"; - this.Connection_Port.Size = new System.Drawing.Size(80, 23); - this.Connection_Port.TabIndex = 1; - this.Connection_Port.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.Connection_Port, global::ElectronicObserver.Window.Dialog.ConfigRes.ConnectionPort); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(8, 8); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(40, 15); - this.label1.TabIndex = 0; - this.label1.Text = ConfigRes.Port + ":"; - // - // tabPage2 - // - this.tabPage2.Controls.Add(this.UI_JapaneseEquipmentTypes); - this.tabPage2.Controls.Add(this.UI_JapaneseEquipmentNames); - this.tabPage2.Controls.Add(this.UI_JapaneseShipTypes); - this.tabPage2.Controls.Add(this.UI_JapaneseShipNames); - this.tabPage2.Controls.Add(this.UI_NodeNumbering); - this.tabPage2.Controls.Add(this.label21); - this.tabPage2.Controls.Add(this.comboBox1); - - this.tabPage2.Controls.Add(this.tableLayoutPanel1); - this.tabPage2.Controls.Add(this.UI_IsLayoutFixed); - this.tabPage2.Controls.Add(this.UI_BarColorMorphing); - this.tabPage2.Controls.Add(this.UI_SubFontSelect); - this.tabPage2.Controls.Add(this.UI_SubFont); - this.tabPage2.Controls.Add(this.label8); - this.tabPage2.Controls.Add(this.UI_MainFontSelect); - this.tabPage2.Controls.Add(this.UI_MainFont); - this.tabPage2.Controls.Add(this.label5); - this.tabPage2.Location = new System.Drawing.Point(4, 24); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(696, 372); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "UI"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // UI_JapaneseEquipmentTypes - // - this.UI_JapaneseEquipmentTypes.AutoSize = true; - this.UI_JapaneseEquipmentTypes.Location = new System.Drawing.Point( 194, 154 ); - this.UI_JapaneseEquipmentTypes.Name = "UI_JapaneseEquipmentTypes"; - this.UI_JapaneseEquipmentTypes.Size = new System.Drawing.Size( 207, 19 ); - this.UI_JapaneseEquipmentTypes.TabIndex = 15; - this.UI_JapaneseEquipmentTypes.Text = "Use JP equipment types"; - this.UI_JapaneseEquipmentTypes.UseVisualStyleBackColor = true; - // - // UI_JapaneseEquipmentNames - // - this.UI_JapaneseEquipmentNames.AutoSize = true; - this.UI_JapaneseEquipmentNames.Location = new System.Drawing.Point( 194, 129 ); - this.UI_JapaneseEquipmentNames.Name = "UI_JapaneseEquipmentNames"; - this.UI_JapaneseEquipmentNames.Size = new System.Drawing.Size( 214, 19 ); - this.UI_JapaneseEquipmentNames.TabIndex = 14; - this.UI_JapaneseEquipmentNames.Text = "Use JP equipment names"; - this.UI_JapaneseEquipmentNames.UseVisualStyleBackColor = true; - // - // UI_JapaneseShipTypes - // - this.UI_JapaneseShipTypes.AutoSize = true; - this.UI_JapaneseShipTypes.Location = new System.Drawing.Point( 9, 154 ); - this.UI_JapaneseShipTypes.Name = "UI_JapaneseShipTypes"; - this.UI_JapaneseShipTypes.Size = new System.Drawing.Size( 168, 19 ); - this.UI_JapaneseShipTypes.TabIndex = 13; - this.UI_JapaneseShipTypes.Text = "Use JP ship types"; - this.UI_JapaneseShipTypes.UseVisualStyleBackColor = true; - // - // UI_JapaneseShipNames - // - this.UI_JapaneseShipNames.AutoSize = true; - this.UI_JapaneseShipNames.Location = new System.Drawing.Point( 9, 129 ); - this.UI_JapaneseShipNames.Name = "UI_JapaneseShipNames"; - this.UI_JapaneseShipNames.Size = new System.Drawing.Size( 175, 19 ); - this.UI_JapaneseShipNames.TabIndex = 12; - this.UI_JapaneseShipNames.Text = "Use JP ship names"; - this.UI_JapaneseShipNames.UseVisualStyleBackColor = true; - // - // UI_NodeNumbering - // - this.UI_NodeNumbering.AutoSize = true; - this.UI_NodeNumbering.Location = new System.Drawing.Point(9, 179); - this.UI_NodeNumbering.Name = "UI_JapaneseShipTypes"; - this.UI_NodeNumbering.Size = new System.Drawing.Size(168, 19); - this.UI_NodeNumbering.TabIndex = 13; - this.UI_NodeNumbering.Text = "Use letter for node assignment"; - this.UI_NodeNumbering.UseVisualStyleBackColor = true; - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.AutoSize = true; - this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Controls.Add(this.UI_RenderingTestChanger, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.UI_RenderingTest, 0, 0); - this.tableLayoutPanel1.Location = new System.Drawing.Point(250, 64); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel1.Size = new System.Drawing.Size(168, 57); - this.tableLayoutPanel1.TabIndex = 15; - // - // UI_RenderingTestChanger - // - this.UI_RenderingTestChanger.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Connection_Port.Name = "Connection_Port"; + this.Connection_Port.Size = new System.Drawing.Size(80, 23); + this.Connection_Port.TabIndex = 1; + this.Connection_Port.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.Connection_Port, global::ElectronicObserver.Window.Dialog.ConfigRes.ConnectionPort); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(8, 8); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(40, 15); + this.label1.TabIndex = 0; + this.label1.Text = "ポート:"; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.UI_JapaneseEquipmentTypes); + this.tabPage2.Controls.Add(this.UI_JapaneseEquipmentNames); + this.tabPage2.Controls.Add(this.UI_JapaneseShipTypes); + this.tabPage2.Controls.Add(this.UI_JapaneseShipNames); + this.tabPage2.Controls.Add(this.UI_NodeNumbering); + this.tabPage2.Controls.Add(this.label21); + this.tabPage2.Controls.Add(this.comboBox1); + this.tabPage2.Controls.Add(this.tableLayoutPanel1); + this.tabPage2.Controls.Add(this.UI_IsLayoutFixed); + this.tabPage2.Controls.Add(this.UI_BarColorMorphing); + this.tabPage2.Controls.Add(this.UI_SubFontSelect); + this.tabPage2.Controls.Add(this.UI_SubFont); + this.tabPage2.Controls.Add(this.label8); + this.tabPage2.Controls.Add(this.UI_MainFontSelect); + this.tabPage2.Controls.Add(this.UI_MainFont); + this.tabPage2.Controls.Add(this.label5); + this.tabPage2.Location = new System.Drawing.Point(4, 24); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(3); + this.tabPage2.Size = new System.Drawing.Size(696, 372); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "UI"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // UI_JapaneseEquipmentTypes + // + this.UI_JapaneseEquipmentTypes.AutoSize = true; + this.UI_JapaneseEquipmentTypes.Location = new System.Drawing.Point(194, 154); + this.UI_JapaneseEquipmentTypes.Name = "UI_JapaneseEquipmentTypes"; + this.UI_JapaneseEquipmentTypes.Size = new System.Drawing.Size(166, 19); + this.UI_JapaneseEquipmentTypes.TabIndex = 15; + this.UI_JapaneseEquipmentTypes.Text = "Use JP equipment types"; + this.UI_JapaneseEquipmentTypes.UseVisualStyleBackColor = true; + // + // UI_JapaneseEquipmentNames + // + this.UI_JapaneseEquipmentNames.AutoSize = true; + this.UI_JapaneseEquipmentNames.Location = new System.Drawing.Point(194, 129); + this.UI_JapaneseEquipmentNames.Name = "UI_JapaneseEquipmentNames"; + this.UI_JapaneseEquipmentNames.Size = new System.Drawing.Size(173, 19); + this.UI_JapaneseEquipmentNames.TabIndex = 14; + this.UI_JapaneseEquipmentNames.Text = "Use JP equipment names"; + this.UI_JapaneseEquipmentNames.UseVisualStyleBackColor = true; + // + // UI_JapaneseShipTypes + // + this.UI_JapaneseShipTypes.AutoSize = true; + this.UI_JapaneseShipTypes.Location = new System.Drawing.Point(9, 154); + this.UI_JapaneseShipTypes.Name = "UI_JapaneseShipTypes"; + this.UI_JapaneseShipTypes.Size = new System.Drawing.Size(127, 19); + this.UI_JapaneseShipTypes.TabIndex = 13; + this.UI_JapaneseShipTypes.Text = "Use JP ship types"; + this.UI_JapaneseShipTypes.UseVisualStyleBackColor = true; + // + // UI_JapaneseShipNames + // + this.UI_JapaneseShipNames.AutoSize = true; + this.UI_JapaneseShipNames.Location = new System.Drawing.Point(9, 129); + this.UI_JapaneseShipNames.Name = "UI_JapaneseShipNames"; + this.UI_JapaneseShipNames.Size = new System.Drawing.Size(134, 19); + this.UI_JapaneseShipNames.TabIndex = 12; + this.UI_JapaneseShipNames.Text = "Use JP ship names"; + this.UI_JapaneseShipNames.UseVisualStyleBackColor = true; + // + // UI_NodeNumbering + // + this.UI_NodeNumbering.AutoSize = true; + this.UI_NodeNumbering.Location = new System.Drawing.Point(9, 179); + this.UI_NodeNumbering.Name = "UI_NodeNumbering"; + this.UI_NodeNumbering.Size = new System.Drawing.Size(207, 19); + this.UI_NodeNumbering.TabIndex = 13; + this.UI_NodeNumbering.Text = "Use letter for node assignment"; + this.UI_NodeNumbering.UseVisualStyleBackColor = true; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(8, 222); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(53, 15); + this.label21.TabIndex = 16; + this.label21.Text = "Theme:"; + // + // comboBox1 + // + this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "Light", + "Dark", + "Custom"}); + this.comboBox1.Location = new System.Drawing.Point(71, 222); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(80, 23); + this.comboBox1.TabIndex = 17; + this.ToolTipInfo.SetToolTip(this.comboBox1, "Use the specified color theme.\nChanges will take effect after restart.\nCustom opt" + + "ion will use color values from Settings\\ColorScheme.json"); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoSize = true; + this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tableLayoutPanel1.ColumnCount = 1; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel1.Controls.Add(this.UI_RenderingTestChanger, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.UI_RenderingTest, 0, 0); + this.tableLayoutPanel1.Location = new System.Drawing.Point(250, 64); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.Size = new System.Drawing.Size(168, 57); + this.tableLayoutPanel1.TabIndex = 15; + // + // UI_RenderingTestChanger + // + this.UI_RenderingTestChanger.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.UI_RenderingTestChanger.AutoSize = false; - this.UI_RenderingTestChanger.BackColor = System.Drawing.SystemColors.Window; - this.UI_RenderingTestChanger.Location = new System.Drawing.Point(3, 29); - this.UI_RenderingTestChanger.Name = "UI_RenderingTestChanger"; - this.UI_RenderingTestChanger.Size = new System.Drawing.Size(162, 25); - this.UI_RenderingTestChanger.TabIndex = 14; - this.UI_RenderingTestChanger.TickStyle = System.Windows.Forms.TickStyle.None; - this.UI_RenderingTestChanger.Scroll += new System.EventHandler(this.UI_RenderingTestChanger_Scroll); - // - // UI_RenderingTest - // - this.UI_RenderingTest.AutoSize = true; - this.UI_RenderingTest.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - statusBarModule1.BarColor0Begin = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - statusBarModule1.BarColor0End = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - statusBarModule1.MaximumValue = 500; - statusBarModule1.PrevValue = 401; - statusBarModule1.Value = 401; - this.UI_RenderingTest.HPBar = statusBarModule1; - this.UI_RenderingTest.Location = new System.Drawing.Point(16, 3); - this.UI_RenderingTest.MainFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.UI_RenderingTest.Margin = new System.Windows.Forms.Padding(16, 3, 16, 3); - this.UI_RenderingTest.MaximumValue = 500; - this.UI_RenderingTest.Name = "UI_RenderingTest"; - this.UI_RenderingTest.PrevValue = 401; - this.UI_RenderingTest.RepairTime = new System.DateTime(2017, 6, 18, 0, 0, 59, 159); - this.UI_RenderingTest.RepairTimeShowMode = ElectronicObserver.Window.Control.ShipStatusHPRepairTimeShowMode.Invisible; - this.UI_RenderingTest.Size = new System.Drawing.Size(136, 20); - this.UI_RenderingTest.TabIndex = 12; - this.UI_RenderingTest.Text = "Rendering Test: "; - this.ToolTipInfo.SetToolTip(this.UI_RenderingTest, "This is a preview.\r\nUse the slider below to adjust the value."); - this.UI_RenderingTest.Value = 401; - // - // UI_IsLayoutFixed - // - this.UI_IsLayoutFixed.AutoSize = true; - this.UI_IsLayoutFixed.Location = new System.Drawing.Point(8, 89); - this.UI_IsLayoutFixed.Name = "UI_IsLayoutFixed"; - this.UI_IsLayoutFixed.Size = new System.Drawing.Size(141, 19); - this.UI_IsLayoutFixed.TabIndex = 13; - this.UI_IsLayoutFixed.Text = "Use fixed font height"; - this.ToolTipInfo.SetToolTip(this.UI_IsLayoutFixed, "Apply the same height for all UI fonts.\r\nIf disabled, the font height may differ for each UI elements."); - this.UI_IsLayoutFixed.UseVisualStyleBackColor = true; - // - // UI_BarColorMorphing - // - this.UI_BarColorMorphing.AutoSize = true; - this.UI_BarColorMorphing.Location = new System.Drawing.Point(8, 64); - this.UI_BarColorMorphing.Name = "UI_BarColorMorphing"; - this.UI_BarColorMorphing.Size = new System.Drawing.Size(167, 19); - this.UI_BarColorMorphing.TabIndex = 11; - this.UI_BarColorMorphing.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.UI_BarColorMorphing; - this.ToolTipInfo.SetToolTip(this.UI_BarColorMorphing, "Use color gradient on color bar such as HP, etc."); - this.UI_BarColorMorphing.UseVisualStyleBackColor = true; - this.UI_BarColorMorphing.CheckedChanged += new System.EventHandler(this.UI_BarColorMorphing_CheckedChanged); - // - // UI_SubFontSelect - // - this.UI_SubFontSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.UI_SubFontSelect.Location = new System.Drawing.Point(656, 35); - this.UI_SubFontSelect.Name = "UI_SubFontSelect"; - this.UI_SubFontSelect.Size = new System.Drawing.Size(32, 23); - this.UI_SubFontSelect.TabIndex = 7; - this.UI_SubFontSelect.Text = "..."; - this.UI_SubFontSelect.UseVisualStyleBackColor = true; - this.UI_SubFontSelect.Click += new System.EventHandler(this.UI_SubFontSelect_Click); - // - // UI_SubFont - // - this.UI_SubFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.UI_RenderingTestChanger.AutoSize = false; + this.UI_RenderingTestChanger.BackColor = System.Drawing.SystemColors.Window; + this.UI_RenderingTestChanger.Location = new System.Drawing.Point(3, 29); + this.UI_RenderingTestChanger.Name = "UI_RenderingTestChanger"; + this.UI_RenderingTestChanger.Size = new System.Drawing.Size(162, 25); + this.UI_RenderingTestChanger.TabIndex = 14; + this.UI_RenderingTestChanger.TickStyle = System.Windows.Forms.TickStyle.None; + this.UI_RenderingTestChanger.Scroll += new System.EventHandler(this.UI_RenderingTestChanger_Scroll); + // + // UI_RenderingTest + // + this.UI_RenderingTest.AutoSize = true; + this.UI_RenderingTest.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + statusBarModule1.BarColor0Begin = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + statusBarModule1.BarColor0End = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + statusBarModule1.MaximumValue = 500; + statusBarModule1.PrevValue = 401; + statusBarModule1.Value = 401; + this.UI_RenderingTest.HPBar = statusBarModule1; + this.UI_RenderingTest.Location = new System.Drawing.Point(16, 3); + this.UI_RenderingTest.MainFontColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.UI_RenderingTest.Margin = new System.Windows.Forms.Padding(16, 3, 16, 3); + this.UI_RenderingTest.MaximumValue = 500; + this.UI_RenderingTest.Name = "UI_RenderingTest"; + this.UI_RenderingTest.PrevValue = 401; + this.UI_RenderingTest.RepairFontColor = System.Drawing.Color.Empty; + this.UI_RenderingTest.RepairTime = new System.DateTime(2017, 6, 18, 0, 0, 59, 159); + this.UI_RenderingTest.RepairTimeShowMode = ElectronicObserver.Window.Control.ShipStatusHPRepairTimeShowMode.Invisible; + this.UI_RenderingTest.Size = new System.Drawing.Size(136, 20); + this.UI_RenderingTest.SubFontColor = System.Drawing.Color.Empty; + this.UI_RenderingTest.TabIndex = 12; + this.UI_RenderingTest.Text = "Rendering Test: "; + this.ToolTipInfo.SetToolTip(this.UI_RenderingTest, "This is a preview.\r\nUse the slider below to adjust the value."); + this.UI_RenderingTest.Value = 401; + // + // UI_IsLayoutFixed + // + this.UI_IsLayoutFixed.AutoSize = true; + this.UI_IsLayoutFixed.Location = new System.Drawing.Point(8, 89); + this.UI_IsLayoutFixed.Name = "UI_IsLayoutFixed"; + this.UI_IsLayoutFixed.Size = new System.Drawing.Size(147, 19); + this.UI_IsLayoutFixed.TabIndex = 13; + this.UI_IsLayoutFixed.Text = "Use fixed font height"; + this.ToolTipInfo.SetToolTip(this.UI_IsLayoutFixed, "Apply the same height for all UI fonts.\r\nIf disabled, the font height may differ " + + "for each UI elements."); + this.UI_IsLayoutFixed.UseVisualStyleBackColor = true; + // + // UI_BarColorMorphing + // + this.UI_BarColorMorphing.AutoSize = true; + this.UI_BarColorMorphing.Location = new System.Drawing.Point(8, 64); + this.UI_BarColorMorphing.Name = "UI_BarColorMorphing"; + this.UI_BarColorMorphing.Size = new System.Drawing.Size(167, 19); + this.UI_BarColorMorphing.TabIndex = 11; + this.UI_BarColorMorphing.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.UI_BarColorMorphing; + this.ToolTipInfo.SetToolTip(this.UI_BarColorMorphing, "Use color gradient on color bar such as HP, etc."); + this.UI_BarColorMorphing.UseVisualStyleBackColor = true; + this.UI_BarColorMorphing.CheckedChanged += new System.EventHandler(this.UI_BarColorMorphing_CheckedChanged); + // + // UI_SubFontSelect + // + this.UI_SubFontSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.UI_SubFontSelect.Location = new System.Drawing.Point(656, 35); + this.UI_SubFontSelect.Name = "UI_SubFontSelect"; + this.UI_SubFontSelect.Size = new System.Drawing.Size(32, 23); + this.UI_SubFontSelect.TabIndex = 7; + this.UI_SubFontSelect.Text = "..."; + this.UI_SubFontSelect.UseVisualStyleBackColor = true; + this.UI_SubFontSelect.Click += new System.EventHandler(this.UI_SubFontSelect_Click); + // + // UI_SubFont + // + this.UI_SubFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.UI_SubFont.Location = new System.Drawing.Point(92, 35); - this.UI_SubFont.Name = "UI_SubFont"; - this.UI_SubFont.Size = new System.Drawing.Size(558, 23); - this.UI_SubFont.TabIndex = 5; - this.UI_SubFont.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UI_SubFont_KeyDown); - this.UI_SubFont.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.UI_SubFont_PreviewKeyDown); - this.UI_SubFont.Validating += new System.ComponentModel.CancelEventHandler(this.UI_SubFont_Validating); - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(8, 38); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(64, 15); - this.label8.TabIndex = 4; - this.label8.Text = ConfigRes.Subfont + ":"; - // - // UI_MainFontSelect - // - this.UI_MainFontSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.UI_MainFontSelect.Location = new System.Drawing.Point(656, 6); - this.UI_MainFontSelect.Name = "UI_MainFontSelect"; - this.UI_MainFontSelect.Size = new System.Drawing.Size(32, 23); - this.UI_MainFontSelect.TabIndex = 3; - this.UI_MainFontSelect.Text = "..."; - this.UI_MainFontSelect.UseVisualStyleBackColor = true; - this.UI_MainFontSelect.Click += new System.EventHandler(this.UI_MainFontSelect_Click); - // - // UI_MainFont - // - this.UI_MainFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.UI_SubFont.Location = new System.Drawing.Point(92, 35); + this.UI_SubFont.Name = "UI_SubFont"; + this.UI_SubFont.Size = new System.Drawing.Size(558, 23); + this.UI_SubFont.TabIndex = 5; + this.UI_SubFont.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UI_SubFont_KeyDown); + this.UI_SubFont.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.UI_SubFont_PreviewKeyDown); + this.UI_SubFont.Validating += new System.ComponentModel.CancelEventHandler(this.UI_SubFont_Validating); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(8, 38); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(64, 15); + this.label8.TabIndex = 4; + this.label8.Text = "サブフォント:"; + // + // UI_MainFontSelect + // + this.UI_MainFontSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.UI_MainFontSelect.Location = new System.Drawing.Point(656, 6); + this.UI_MainFontSelect.Name = "UI_MainFontSelect"; + this.UI_MainFontSelect.Size = new System.Drawing.Size(32, 23); + this.UI_MainFontSelect.TabIndex = 3; + this.UI_MainFontSelect.Text = "..."; + this.UI_MainFontSelect.UseVisualStyleBackColor = true; + this.UI_MainFontSelect.Click += new System.EventHandler(this.UI_MainFontSelect_Click); + // + // UI_MainFont + // + this.UI_MainFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.UI_MainFont.Location = new System.Drawing.Point(92, 6); - this.UI_MainFont.Name = "UI_MainFont"; - this.UI_MainFont.Size = new System.Drawing.Size(558, 23); - this.UI_MainFont.TabIndex = 1; - this.UI_MainFont.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UI_MainFont_KeyDown); - this.UI_MainFont.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.UI_MainFont_PreviewKeyDown); - this.UI_MainFont.Validating += new System.ComponentModel.CancelEventHandler(this.UI_MainFont_Validating); - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(8, 9); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(71, 15); - this.label5.TabIndex = 0; - this.label5.Text = ConfigRes.Mainfont + ":"; - // - // tabPage3 - // - this.tabPage3.Controls.Add(this.Log_SaveLogImmediately); - this.tabPage3.Controls.Add(this.Log_SaveBattleLog); - this.tabPage3.Controls.Add(this.Log_ShowSpoiler); - this.tabPage3.Controls.Add(this.label12); - this.tabPage3.Controls.Add(this.label11); - this.tabPage3.Controls.Add(this.Log_FileEncodingID); - this.tabPage3.Controls.Add(this.Log_SaveErrorReport); - this.tabPage3.Controls.Add(this.Log_SaveLogFlag); - this.tabPage3.Controls.Add(this.Log_LogLevel); - this.tabPage3.Controls.Add(this.label6); - this.tabPage3.Location = new System.Drawing.Point(4, 24); - this.tabPage3.Name = "tabPage3"; - this.tabPage3.Padding = new System.Windows.Forms.Padding(3); - this.tabPage3.Size = new System.Drawing.Size(696, 372); - this.tabPage3.TabIndex = 2; - this.tabPage3.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Log; - this.tabPage3.UseVisualStyleBackColor = true; - - // - // Log_SaveLogImmediately - // - this.Log_SaveLogImmediately.AutoSize = true; - this.Log_SaveLogImmediately.Location = new System.Drawing.Point(153, 6); - this.Log_SaveLogImmediately.Name = "Log_SaveLogImmediately"; - this.Log_SaveLogImmediately.Size = new System.Drawing.Size(140, 19); - this.Log_SaveLogImmediately.TabIndex = 9; - this.Log_SaveLogImmediately.Text = "Write log immediately"; - this.ToolTipInfo.SetToolTip(this.Log_SaveLogImmediately, "Write log to file immediately instead of caching it until program exit.\r\nIf disabled, logs are saved only when exiting the program."); - this.Log_SaveLogImmediately.UseVisualStyleBackColor = true; - // - // Log_SaveBattleLog - // - this.Log_SaveBattleLog.AutoSize = true; - this.Log_SaveBattleLog.Location = new System.Drawing.Point(8, 140); - this.Log_SaveBattleLog.Name = "Log_SaveBattleLog"; - this.Log_SaveBattleLog.Size = new System.Drawing.Size(120, 19); - this.Log_SaveBattleLog.TabIndex = 8; - this.Log_SaveBattleLog.Text = "Save battle history"; - this.ToolTipInfo.SetToolTip(this.Log_SaveBattleLog, "Save battle history as text file.\r\nBattle histories are saved in the BattleLog subfolder." ); - this.Log_SaveBattleLog.UseVisualStyleBackColor = true; - // - // Log_ShowSpoiler - // - this.Log_ShowSpoiler.AutoSize = true; - this.Log_ShowSpoiler.Location = new System.Drawing.Point(197, 32); - this.Log_ShowSpoiler.Name = "Log_ShowSpoiler"; - this.Log_ShowSpoiler.Size = new System.Drawing.Size(115, 19); - this.Log_ShowSpoiler.TabIndex = 3; - this.Log_ShowSpoiler.Text = "Show spoilers"; - this.ToolTipInfo.SetToolTip(this.Log_ShowSpoiler, "Show developed items and dropped ships in the log.\r\nDisable this setting to hide the information."); - this.Log_ShowSpoiler.UseVisualStyleBackColor = true; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(5, 111); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(318, 15); - this.label12.TabIndex = 7; - this.label12.Text = ConfigRes.CorruptLogs; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(5, 88); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(57, 15); - this.label11.TabIndex = 5; - this.label11.Text = ConfigRes.Enocding; - // - // Log_FileEncodingID - // - this.Log_FileEncodingID.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.Log_FileEncodingID.FormattingEnabled = true; - this.Log_FileEncodingID.Items.AddRange(new object[] { + this.UI_MainFont.Location = new System.Drawing.Point(92, 6); + this.UI_MainFont.Name = "UI_MainFont"; + this.UI_MainFont.Size = new System.Drawing.Size(558, 23); + this.UI_MainFont.TabIndex = 1; + this.UI_MainFont.KeyDown += new System.Windows.Forms.KeyEventHandler(this.UI_MainFont_KeyDown); + this.UI_MainFont.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.UI_MainFont_PreviewKeyDown); + this.UI_MainFont.Validating += new System.ComponentModel.CancelEventHandler(this.UI_MainFont_Validating); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(8, 9); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(71, 15); + this.label5.TabIndex = 0; + this.label5.Text = "メインフォント:"; + // + // tabPage3 + // + this.tabPage3.Controls.Add(this.Log_SaveLogImmediately); + this.tabPage3.Controls.Add(this.Log_SaveBattleLog); + this.tabPage3.Controls.Add(this.Log_ShowSpoiler); + this.tabPage3.Controls.Add(this.label12); + this.tabPage3.Controls.Add(this.label11); + this.tabPage3.Controls.Add(this.Log_FileEncodingID); + this.tabPage3.Controls.Add(this.Log_SaveErrorReport); + this.tabPage3.Controls.Add(this.Log_SaveLogFlag); + this.tabPage3.Controls.Add(this.Log_LogLevel); + this.tabPage3.Controls.Add(this.label6); + this.tabPage3.Location = new System.Drawing.Point(4, 24); + this.tabPage3.Name = "tabPage3"; + this.tabPage3.Padding = new System.Windows.Forms.Padding(3); + this.tabPage3.Size = new System.Drawing.Size(696, 372); + this.tabPage3.TabIndex = 2; + this.tabPage3.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Log; + this.tabPage3.UseVisualStyleBackColor = true; + // + // Log_SaveLogImmediately + // + this.Log_SaveLogImmediately.AutoSize = true; + this.Log_SaveLogImmediately.Location = new System.Drawing.Point(153, 6); + this.Log_SaveLogImmediately.Name = "Log_SaveLogImmediately"; + this.Log_SaveLogImmediately.Size = new System.Drawing.Size(156, 19); + this.Log_SaveLogImmediately.TabIndex = 9; + this.Log_SaveLogImmediately.Text = "Write log immediately"; + this.ToolTipInfo.SetToolTip(this.Log_SaveLogImmediately, "Write log to file immediately instead of caching it until program exit.\r\nIf disab" + + "led, logs are saved only when exiting the program."); + this.Log_SaveLogImmediately.UseVisualStyleBackColor = true; + // + // Log_SaveBattleLog + // + this.Log_SaveBattleLog.AutoSize = true; + this.Log_SaveBattleLog.Location = new System.Drawing.Point(8, 140); + this.Log_SaveBattleLog.Name = "Log_SaveBattleLog"; + this.Log_SaveBattleLog.Size = new System.Drawing.Size(137, 19); + this.Log_SaveBattleLog.TabIndex = 8; + this.Log_SaveBattleLog.Text = "Save battle history"; + this.ToolTipInfo.SetToolTip(this.Log_SaveBattleLog, "Save battle history as text file.\r\nBattle histories are saved in the BattleLog su" + + "bfolder."); + this.Log_SaveBattleLog.UseVisualStyleBackColor = true; + // + // Log_ShowSpoiler + // + this.Log_ShowSpoiler.AutoSize = true; + this.Log_ShowSpoiler.Location = new System.Drawing.Point(197, 32); + this.Log_ShowSpoiler.Name = "Log_ShowSpoiler"; + this.Log_ShowSpoiler.Size = new System.Drawing.Size(106, 19); + this.Log_ShowSpoiler.TabIndex = 3; + this.Log_ShowSpoiler.Text = "Show spoilers"; + this.ToolTipInfo.SetToolTip(this.Log_ShowSpoiler, "Show developed items and dropped ships in the log.\r\nDisable this setting to hide " + + "the information."); + this.Log_ShowSpoiler.UseVisualStyleBackColor = true; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(5, 111); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(318, 15); + this.label12.TabIndex = 7; + this.label12.Text = "*無闇に変更すると設定・レコードが読めなくなる可能性があります"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(5, 88); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(57, 15); + this.label11.TabIndex = 5; + this.label11.Text = "文字コード"; + // + // Log_FileEncodingID + // + this.Log_FileEncodingID.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.Log_FileEncodingID.FormattingEnabled = true; + this.Log_FileEncodingID.Items.AddRange(new object[] { "UTF-8", "UTF-8(BOM)", "UTF-16", "UTF-16(BOM)", "Shift-JIS"}); - this.Log_FileEncodingID.Location = new System.Drawing.Point(80, 85); - this.Log_FileEncodingID.Name = "Log_FileEncodingID"; - this.Log_FileEncodingID.Size = new System.Drawing.Size(112, 23); - this.Log_FileEncodingID.TabIndex = 6; - this.ToolTipInfo.SetToolTip(this.Log_FileEncodingID, global::ElectronicObserver.Window.Dialog.ConfigRes.EncodingHint); - // - // Log_SaveErrorReport - // - this.Log_SaveErrorReport.AutoSize = true; - this.Log_SaveErrorReport.Location = new System.Drawing.Point(8, 60); - this.Log_SaveErrorReport.Name = "Log_SaveErrorReport"; - this.Log_SaveErrorReport.Size = new System.Drawing.Size(142, 19); - this.Log_SaveErrorReport.TabIndex = 4; - this.Log_SaveErrorReport.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.SaveErrorReport; - this.ToolTipInfo.SetToolTip(this.Log_SaveErrorReport, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveErrorHint); - this.Log_SaveErrorReport.UseVisualStyleBackColor = true; - // - // Log_SaveLogFlag - // - this.Log_SaveLogFlag.AutoSize = true; - this.Log_SaveLogFlag.Location = new System.Drawing.Point(8, 6); - this.Log_SaveLogFlag.Name = "Log_SaveLogFlag"; - this.Log_SaveLogFlag.Size = new System.Drawing.Size(139, 19); - this.Log_SaveLogFlag.TabIndex = 0; - this.Log_SaveLogFlag.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.SaveLog; - this.Log_SaveLogFlag.UseVisualStyleBackColor = true; - // - // Log_LogLevel - // - this.Log_LogLevel.Location = new System.Drawing.Point(111, 31); - this.Log_LogLevel.Maximum = new decimal(new int[] { + this.Log_FileEncodingID.Location = new System.Drawing.Point(80, 85); + this.Log_FileEncodingID.Name = "Log_FileEncodingID"; + this.Log_FileEncodingID.Size = new System.Drawing.Size(112, 23); + this.Log_FileEncodingID.TabIndex = 6; + this.ToolTipInfo.SetToolTip(this.Log_FileEncodingID, global::ElectronicObserver.Window.Dialog.ConfigRes.EncodingHint); + // + // Log_SaveErrorReport + // + this.Log_SaveErrorReport.AutoSize = true; + this.Log_SaveErrorReport.Location = new System.Drawing.Point(8, 60); + this.Log_SaveErrorReport.Name = "Log_SaveErrorReport"; + this.Log_SaveErrorReport.Size = new System.Drawing.Size(142, 19); + this.Log_SaveErrorReport.TabIndex = 4; + this.Log_SaveErrorReport.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.SaveErrorReport; + this.ToolTipInfo.SetToolTip(this.Log_SaveErrorReport, global::ElectronicObserver.Window.Dialog.ConfigRes.SaveErrorHint); + this.Log_SaveErrorReport.UseVisualStyleBackColor = true; + // + // Log_SaveLogFlag + // + this.Log_SaveLogFlag.AutoSize = true; + this.Log_SaveLogFlag.Location = new System.Drawing.Point(8, 6); + this.Log_SaveLogFlag.Name = "Log_SaveLogFlag"; + this.Log_SaveLogFlag.Size = new System.Drawing.Size(139, 19); + this.Log_SaveLogFlag.TabIndex = 0; + this.Log_SaveLogFlag.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.SaveLog; + this.Log_SaveLogFlag.UseVisualStyleBackColor = true; + // + // Log_LogLevel + // + this.Log_LogLevel.Location = new System.Drawing.Point(111, 31); + this.Log_LogLevel.Maximum = new decimal(new int[] { 3, 0, 0, 0}); - this.Log_LogLevel.Name = "Log_LogLevel"; - this.Log_LogLevel.Size = new System.Drawing.Size(80, 23); - this.Log_LogLevel.TabIndex = 2; - this.Log_LogLevel.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.Log_LogLevel, "Specify logging level for the program. Smaller number means more verbose logging.\r\n1: Debug\r\n2: Normal\r\n3: Error-only"); - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(5, 33); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(88, 15); - this.label6.TabIndex = 1; - this.label6.Text = ConfigRes.LoggingLevel; - // + this.Log_LogLevel.Name = "Log_LogLevel"; + this.Log_LogLevel.Size = new System.Drawing.Size(80, 23); + this.Log_LogLevel.TabIndex = 2; + this.Log_LogLevel.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.Log_LogLevel, "Specify logging level for the program. Smaller number means more verbose logging." + + "\r\n1: Debug\r\n2: Normal\r\n3: Error-only"); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(5, 33); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(88, 15); + this.label6.TabIndex = 1; + this.label6.Text = "ログの出力レベル"; + // // tabPage4 - // + // + this.tabPage4.Controls.Add(this.Control_DiscordRPCShowFCM); + this.tabPage4.Controls.Add(this.Control_EnableDiscordRPC); + this.tabPage4.Controls.Add(this.label22); + this.tabPage4.Controls.Add(this.Control_DiscordRPCMessage); this.tabPage4.Controls.Add(this.Control_ShowExpeditionAlertDialog); this.tabPage4.Controls.Add(this.Control_ShowSallyAreaAlertDialog); - this.tabPage4.Controls.Add(this.Control_PowerEngagementForm); - this.tabPage4.Controls.Add(this.label29); - this.tabPage4.Controls.Add(this.Control_UseSystemVolume); - this.tabPage4.Controls.Add(this.Control_RecordAutoSaving); - this.tabPage4.Controls.Add(this.label9); - this.tabPage4.Controls.Add(this.Control_ConditionBorder); - this.tabPage4.Controls.Add(this.label7); - this.tabPage4.Location = new System.Drawing.Point(4, 24); - this.tabPage4.Name = "tabPage4"; - this.tabPage4.Padding = new System.Windows.Forms.Padding(3); - this.tabPage4.Size = new System.Drawing.Size(696, 372); - this.tabPage4.TabIndex = 3; - this.tabPage4.Text = "Behavior"; - this.tabPage4.UseVisualStyleBackColor = true; - // - // Control_ShowSallyAreaAlertDialog - // - this.Control_ShowSallyAreaAlertDialog.AutoSize = true; - this.Control_ShowSallyAreaAlertDialog.Location = new System.Drawing.Point(9, 118); - this.Control_ShowSallyAreaAlertDialog.Name = "Control_ShowSallyAreaAlertDialog"; - this.Control_ShowSallyAreaAlertDialog.Size = new System.Drawing.Size(228, 19); - this.Control_ShowSallyAreaAlertDialog.TabIndex = 7; - this.Control_ShowSallyAreaAlertDialog.Text = "Warn before sortieing untagged ship"; - this.ToolTipInfo.SetToolTip(this.Control_ShowSallyAreaAlertDialog, "Show a warning dialog when the fleet is sortieing to event map with untagged ship.\r\nDue to incomplete information, a false positive may also trigger this warning." ); - this.Control_ShowSallyAreaAlertDialog.UseVisualStyleBackColor = true; - // - // Control_PowerEngagementForm - // - this.Control_PowerEngagementForm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.Control_PowerEngagementForm.FormattingEnabled = true; - this.Control_PowerEngagementForm.Items.AddRange(new object[] { + this.tabPage4.Controls.Add(this.Control_PowerEngagementForm); + this.tabPage4.Controls.Add(this.label29); + this.tabPage4.Controls.Add(this.Control_UseSystemVolume); + this.tabPage4.Controls.Add(this.Control_RecordAutoSaving); + this.tabPage4.Controls.Add(this.label9); + this.tabPage4.Controls.Add(this.Control_ConditionBorder); + this.tabPage4.Controls.Add(this.label7); + this.tabPage4.Location = new System.Drawing.Point(4, 24); + this.tabPage4.Name = "tabPage4"; + this.tabPage4.Padding = new System.Windows.Forms.Padding(3); + this.tabPage4.Size = new System.Drawing.Size(696, 372); + this.tabPage4.TabIndex = 3; + this.tabPage4.Text = "Behavior"; + this.tabPage4.UseVisualStyleBackColor = true; + // + // Control_DiscordRPCShowFCM + // + this.Control_DiscordRPCShowFCM.AutoSize = true; + this.Control_DiscordRPCShowFCM.Location = new System.Drawing.Point(9, 225); + this.Control_DiscordRPCShowFCM.Name = "Control_DiscordRPCShowFCM"; + this.Control_DiscordRPCShowFCM.Size = new System.Drawing.Size(230, 19); + this.Control_DiscordRPCShowFCM.TabIndex = 11; + this.Control_DiscordRPCShowFCM.Text = "Show number of First Class Medals"; + this.ToolTipInfo.SetToolTip(this.Control_DiscordRPCShowFCM, "Check to show on Discord Rich Presence the number of first class medal you have."); + this.Control_DiscordRPCShowFCM.UseVisualStyleBackColor = true; + // + // Control_EnableDiscordRPC + // + this.Control_EnableDiscordRPC.AutoSize = true; + this.Control_EnableDiscordRPC.Location = new System.Drawing.Point(9, 168); + this.Control_EnableDiscordRPC.Name = "Control_EnableDiscordRPC"; + this.Control_EnableDiscordRPC.Size = new System.Drawing.Size(138, 19); + this.Control_EnableDiscordRPC.TabIndex = 9; + this.Control_EnableDiscordRPC.Text = "Enable Discord RPC"; + this.ToolTipInfo.SetToolTip(this.Control_EnableDiscordRPC, "Enable Discord Rich Presence"); + this.Control_EnableDiscordRPC.UseVisualStyleBackColor = true; + this.Control_EnableDiscordRPC.CheckStateChanged += new System.EventHandler(this.Control_EnableDiscordRPC_CheckStateChanged); + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(6, 199); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(133, 15); + this.label22.TabIndex = 13; + this.label22.Text = "Discord RPC message"; + // + // Control_DiscordRPCMessage + // + this.Control_DiscordRPCMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.Control_DiscordRPCMessage.Location = new System.Drawing.Point(147, 196); + this.Control_DiscordRPCMessage.Name = "Control_DiscordRPCMessage"; + this.Control_DiscordRPCMessage.Size = new System.Drawing.Size(537, 23); + this.Control_DiscordRPCMessage.TabIndex = 10; + this.ToolTipInfo.SetToolTip(this.Control_DiscordRPCMessage, "Allows you to choose what message to display on discord. Use {{secretary}} to put" + + " your secretary\'s name in the message."); + // + // Control_ShowExpeditionAlertDialog + // + this.Control_ShowExpeditionAlertDialog.AutoSize = true; + this.Control_ShowExpeditionAlertDialog.Location = new System.Drawing.Point(9, 143); + this.Control_ShowExpeditionAlertDialog.Name = "Control_ShowExpeditionAlertDialog"; + this.Control_ShowExpeditionAlertDialog.Size = new System.Drawing.Size(181, 19); + this.Control_ShowExpeditionAlertDialog.TabIndex = 8; + this.Control_ShowExpeditionAlertDialog.Text = "失敗する遠征出撃時に警告する"; + this.ToolTipInfo.SetToolTip(this.Control_ShowExpeditionAlertDialog, "編成条件を満たさない艦隊が遠征に出発したときに、警告ダイアログを表示するかを指定します。"); + this.Control_ShowExpeditionAlertDialog.UseVisualStyleBackColor = true; + // + // Control_ShowSallyAreaAlertDialog + // + this.Control_ShowSallyAreaAlertDialog.AutoSize = true; + this.Control_ShowSallyAreaAlertDialog.Location = new System.Drawing.Point(9, 118); + this.Control_ShowSallyAreaAlertDialog.Name = "Control_ShowSallyAreaAlertDialog"; + this.Control_ShowSallyAreaAlertDialog.Size = new System.Drawing.Size(236, 19); + this.Control_ShowSallyAreaAlertDialog.TabIndex = 7; + this.Control_ShowSallyAreaAlertDialog.Text = "Warn before sortieing untagged ship"; + this.ToolTipInfo.SetToolTip(this.Control_ShowSallyAreaAlertDialog, "Show a warning dialog when the fleet is sortieing to event map with untagged ship" + + ".\r\nDue to incomplete information, a false positive may also trigger this warning" + + "."); + this.Control_ShowSallyAreaAlertDialog.UseVisualStyleBackColor = true; + // + // Control_PowerEngagementForm + // + this.Control_PowerEngagementForm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.Control_PowerEngagementForm.FormattingEnabled = true; + this.Control_PowerEngagementForm.Items.AddRange(new object[] { "Parallel", - "Head-on", + "Head-on", "Green T", - "Red T"} ); - this.Control_PowerEngagementForm.Location = new System.Drawing.Point(124, 64); - this.Control_PowerEngagementForm.Name = "Control_PowerEngagementForm"; - this.Control_PowerEngagementForm.Size = new System.Drawing.Size(121, 23); - this.Control_PowerEngagementForm.TabIndex = 5; - this.ToolTipInfo.SetToolTip(this.Control_PowerEngagementForm, "Sets the default engagement form for attack power calculation" ); - // - // label29 - // - this.label29.AutoSize = true; - this.label29.Location = new System.Drawing.Point(6, 67); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(100, 15); - this.label29.TabIndex = 4; - this.label29.Text = "Form Modifier:"; - // - // Control_UseSystemVolume - // - this.Control_UseSystemVolume.AutoSize = true; - this.Control_UseSystemVolume.Location = new System.Drawing.Point(9, 93); - this.Control_UseSystemVolume.Name = "Control_UseSystemVolume"; - this.Control_UseSystemVolume.Size = new System.Drawing.Size(336, 19); - this.Control_UseSystemVolume.TabIndex = 6; - this.Control_UseSystemVolume.Text = "Use system volume settings"; - this.ToolTipInfo.SetToolTip(this.Control_UseSystemVolume, "Disable individual volume setting in notification sound and BGM.\r\nYou will need to use windows volume mixer to adjust the volume setting." ); - this.Control_UseSystemVolume.UseVisualStyleBackColor = true; - // - // Control_RecordAutoSaving - // - this.Control_RecordAutoSaving.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.Control_RecordAutoSaving.FormattingEnabled = true; - this.Control_RecordAutoSaving.Items.AddRange(new object[] { + "Red T"}); + this.Control_PowerEngagementForm.Location = new System.Drawing.Point(124, 64); + this.Control_PowerEngagementForm.Name = "Control_PowerEngagementForm"; + this.Control_PowerEngagementForm.Size = new System.Drawing.Size(121, 23); + this.Control_PowerEngagementForm.TabIndex = 5; + this.ToolTipInfo.SetToolTip(this.Control_PowerEngagementForm, "Sets the default engagement form for attack power calculation"); + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(6, 67); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(93, 15); + this.label29.TabIndex = 4; + this.label29.Text = "Form Modifier:"; + // + // Control_UseSystemVolume + // + this.Control_UseSystemVolume.AutoSize = true; + this.Control_UseSystemVolume.Location = new System.Drawing.Point(9, 93); + this.Control_UseSystemVolume.Name = "Control_UseSystemVolume"; + this.Control_UseSystemVolume.Size = new System.Drawing.Size(192, 19); + this.Control_UseSystemVolume.TabIndex = 6; + this.Control_UseSystemVolume.Text = "Use system volume settings"; + this.ToolTipInfo.SetToolTip(this.Control_UseSystemVolume, "Disable individual volume setting in notification sound and BGM.\r\nYou will need t" + + "o use windows volume mixer to adjust the volume setting."); + this.Control_UseSystemVolume.UseVisualStyleBackColor = true; + // + // Control_RecordAutoSaving + // + this.Control_RecordAutoSaving.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.Control_RecordAutoSaving.FormattingEnabled = true; + this.Control_RecordAutoSaving.Items.AddRange(new object[] { global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Disable, global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Hourly, global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Daily, "Immediately"}); - this.Control_RecordAutoSaving.Location = new System.Drawing.Point(124, 35); - this.Control_RecordAutoSaving.Name = "Control_RecordAutoSaving"; - this.Control_RecordAutoSaving.Size = new System.Drawing.Size(121, 23); - this.Control_RecordAutoSaving.TabIndex = 3; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(6, 38); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(112, 15); - this.label9.TabIndex = 2; - this.label9.Text = ConfigRes.RecordAutoSaving; - // - // Control_ConditionBorder - // - this.Control_ConditionBorder.Location = new System.Drawing.Point(124, 6); - this.Control_ConditionBorder.Maximum = new decimal(new int[] { + this.Control_RecordAutoSaving.Location = new System.Drawing.Point(124, 35); + this.Control_RecordAutoSaving.Name = "Control_RecordAutoSaving"; + this.Control_RecordAutoSaving.Size = new System.Drawing.Size(121, 23); + this.Control_RecordAutoSaving.TabIndex = 3; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(6, 38); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(112, 15); + this.label9.TabIndex = 2; + this.label9.Text = "レコードの自動保存:"; + // + // Control_ConditionBorder + // + this.Control_ConditionBorder.Location = new System.Drawing.Point(124, 6); + this.Control_ConditionBorder.Maximum = new decimal(new int[] { 49, 0, 0, 0}); - this.Control_ConditionBorder.Name = "Control_ConditionBorder"; - this.Control_ConditionBorder.Size = new System.Drawing.Size(80, 23); - this.Control_ConditionBorder.TabIndex = 1; - this.Control_ConditionBorder.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(6, 8); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(87, 15); - this.label7.TabIndex = 0; - this.label7.Text = ConfigRes.MoraleBorder + ":"; - // - // tabPage5 - // - this.tabPage5.Controls.Add(this.Debug_AlertOnError); - this.tabPage5.Controls.Add(this.Debug_SealingPanel); - this.tabPage5.Controls.Add(this.Debug_EnableDebugMenu); - this.tabPage5.Location = new System.Drawing.Point(4, 24); - this.tabPage5.Name = "tabPage5"; - this.tabPage5.Padding = new System.Windows.Forms.Padding(3); - this.tabPage5.Size = new System.Drawing.Size(696, 372); - this.tabPage5.TabIndex = 4; - this.tabPage5.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Debug; - this.tabPage5.UseVisualStyleBackColor = true; - // - // Debug_AlertOnError - // - this.Debug_AlertOnError.AutoSize = true; - this.Debug_AlertOnError.Location = new System.Drawing.Point(8, 31); - this.Debug_AlertOnError.Name = "Debug_AlertOnError"; - this.Debug_AlertOnError.Size = new System.Drawing.Size(104, 19); - this.Debug_AlertOnError.TabIndex = 2; - this.Debug_AlertOnError.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AlertOnError; - this.Debug_AlertOnError.UseVisualStyleBackColor = true; - // - // Debug_SealingPanel - // - this.Debug_SealingPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.Control_ConditionBorder.Name = "Control_ConditionBorder"; + this.Control_ConditionBorder.Size = new System.Drawing.Size(80, 23); + this.Control_ConditionBorder.TabIndex = 1; + this.Control_ConditionBorder.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(6, 8); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(87, 15); + this.label7.TabIndex = 0; + this.label7.Text = "疲労度ボーダー:"; + // + // tabPage5 + // + this.tabPage5.Controls.Add(this.Debug_AlertOnError); + this.tabPage5.Controls.Add(this.Debug_SealingPanel); + this.tabPage5.Controls.Add(this.Debug_EnableDebugMenu); + this.tabPage5.Location = new System.Drawing.Point(4, 24); + this.tabPage5.Name = "tabPage5"; + this.tabPage5.Padding = new System.Windows.Forms.Padding(3); + this.tabPage5.Size = new System.Drawing.Size(696, 372); + this.tabPage5.TabIndex = 4; + this.tabPage5.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Debug; + this.tabPage5.UseVisualStyleBackColor = true; + // + // Debug_AlertOnError + // + this.Debug_AlertOnError.AutoSize = true; + this.Debug_AlertOnError.Location = new System.Drawing.Point(8, 31); + this.Debug_AlertOnError.Name = "Debug_AlertOnError"; + this.Debug_AlertOnError.Size = new System.Drawing.Size(104, 19); + this.Debug_AlertOnError.TabIndex = 2; + this.Debug_AlertOnError.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AlertOnError; + this.Debug_AlertOnError.UseVisualStyleBackColor = true; + // + // Debug_SealingPanel + // + this.Debug_SealingPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Debug_SealingPanel.Controls.Add(this.Debug_APIListPath); - this.Debug_SealingPanel.Controls.Add(this.Debug_LoadAPIListOnLoad); - this.Debug_SealingPanel.Controls.Add(this.Debug_APIListPathSearch); - this.Debug_SealingPanel.Location = new System.Drawing.Point(0, 56); - this.Debug_SealingPanel.Name = "Debug_SealingPanel"; - this.Debug_SealingPanel.Size = new System.Drawing.Size(696, 249); - this.Debug_SealingPanel.TabIndex = 1; - // - // Debug_APIListPath - // - this.Debug_APIListPath.AllowDrop = true; - this.Debug_APIListPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Debug_SealingPanel.Controls.Add(this.Debug_APIListPath); + this.Debug_SealingPanel.Controls.Add(this.Debug_LoadAPIListOnLoad); + this.Debug_SealingPanel.Controls.Add(this.Debug_APIListPathSearch); + this.Debug_SealingPanel.Location = new System.Drawing.Point(0, 56); + this.Debug_SealingPanel.Name = "Debug_SealingPanel"; + this.Debug_SealingPanel.Size = new System.Drawing.Size(696, 243); + this.Debug_SealingPanel.TabIndex = 1; + // + // Debug_APIListPath + // + this.Debug_APIListPath.AllowDrop = true; + this.Debug_APIListPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Debug_APIListPath.Location = new System.Drawing.Point(8, 28); - this.Debug_APIListPath.Name = "Debug_APIListPath"; - this.Debug_APIListPath.Size = new System.Drawing.Size(642, 23); - this.Debug_APIListPath.TabIndex = 1; - // - // Debug_LoadAPIListOnLoad - // - this.Debug_LoadAPIListOnLoad.AutoSize = true; - this.Debug_LoadAPIListOnLoad.Location = new System.Drawing.Point(8, 3); - this.Debug_LoadAPIListOnLoad.Name = "Debug_LoadAPIListOnLoad"; - this.Debug_LoadAPIListOnLoad.Size = new System.Drawing.Size(163, 19); - this.Debug_LoadAPIListOnLoad.TabIndex = 0; - this.Debug_LoadAPIListOnLoad.Text = "Load API list on startup"; - this.ToolTipInfo.SetToolTip(this.Debug_LoadAPIListOnLoad, "Load the following API list at startup.\r\nRefer to the online help on format and usage of API list."); - this.Debug_LoadAPIListOnLoad.UseVisualStyleBackColor = true; - // - // Debug_APIListPathSearch - // - this.Debug_APIListPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.Debug_APIListPathSearch.Location = new System.Drawing.Point(656, 28); - this.Debug_APIListPathSearch.Name = "Debug_APIListPathSearch"; - this.Debug_APIListPathSearch.Size = new System.Drawing.Size(32, 23); - this.Debug_APIListPathSearch.TabIndex = 2; - this.Debug_APIListPathSearch.Text = "..."; - this.Debug_APIListPathSearch.UseVisualStyleBackColor = true; - this.Debug_APIListPathSearch.Click += new System.EventHandler(this.Debug_APIListPathSearch_Click); - // - // Debug_EnableDebugMenu - // - this.Debug_EnableDebugMenu.AutoSize = true; - this.Debug_EnableDebugMenu.Location = new System.Drawing.Point(8, 6); - this.Debug_EnableDebugMenu.Name = "Debug_EnableDebugMenu"; - this.Debug_EnableDebugMenu.Size = new System.Drawing.Size(162, 19); - this.Debug_EnableDebugMenu.TabIndex = 0; - this.Debug_EnableDebugMenu.Text = "Show debug menu"; - this.ToolTipInfo.SetToolTip(this.Debug_EnableDebugMenu, "Show debug menu in the menu bar.\r\nUse it at your own risk." ); - this.Debug_EnableDebugMenu.UseVisualStyleBackColor = true; - this.Debug_EnableDebugMenu.CheckedChanged += new System.EventHandler(this.Debug_EnableDebugMenu_CheckedChanged); - // - // tabPage6 - // - this.tabPage6.Controls.Add(this.Life_CanCloseFloatWindowInLock); - this.tabPage6.Controls.Add(this.Life_LockLayout); - this.tabPage6.Controls.Add(this.label24); - this.tabPage6.Controls.Add(this.Life_ClockFormat); - this.tabPage6.Controls.Add(this.Life_ShowStatusBar); - this.tabPage6.Controls.Add(this.Life_CheckUpdateInformation); - this.tabPage6.Controls.Add(this.Life_LayoutFilePathSearch); - this.tabPage6.Controls.Add(this.Life_LayoutFilePath); - this.tabPage6.Controls.Add(this.label14); - this.tabPage6.Controls.Add(this.Life_TopMost); - this.tabPage6.Controls.Add(this.Life_ConfirmOnClosing); - this.tabPage6.Location = new System.Drawing.Point(4, 24); - this.tabPage6.Name = "tabPage6"; - this.tabPage6.Padding = new System.Windows.Forms.Padding(3); - this.tabPage6.Size = new System.Drawing.Size(696, 372); - this.tabPage6.TabIndex = 5; - this.tabPage6.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Window; - this.tabPage6.UseVisualStyleBackColor = true; - // - // Life_CanCloseFloatWindowInLock - // - this.Life_CanCloseFloatWindowInLock.AutoSize = true; - this.Life_CanCloseFloatWindowInLock.Location = new System.Drawing.Point(213, 60); - this.Life_CanCloseFloatWindowInLock.Name = "Life_CanCloseFloatWindowInLock"; - this.Life_CanCloseFloatWindowInLock.Size = new System.Drawing.Size(197, 19); - this.Life_CanCloseFloatWindowInLock.TabIndex = 10; - this.Life_CanCloseFloatWindowInLock.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Life_CanCloseFloatWindowInLock; - this.ToolTipInfo.SetToolTip(this.Life_CanCloseFloatWindowInLock, "Allow floating window to be closed regardless of lock layout setting."); - this.Life_CanCloseFloatWindowInLock.UseVisualStyleBackColor = true; - // - // Life_LockLayout - // - this.Life_LockLayout.AutoSize = true; - this.Life_LockLayout.Location = new System.Drawing.Point(213, 35); - this.Life_LockLayout.Name = "Life_LockLayout"; - this.Life_LockLayout.Size = new System.Drawing.Size(122, 19); - this.Life_LockLayout.TabIndex = 9; - this.Life_LockLayout.Text = "Lock current layout"; - this.ToolTipInfo.SetToolTip(this.Life_LockLayout, "Prevent changes to tab layout and window size."); - this.Life_LockLayout.UseVisualStyleBackColor = true; - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(8, 138); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(67, 15); - this.label24.TabIndex = 8; - this.label24.Text = "Clock mode:"; - // - // Life_ClockFormat - // - this.Life_ClockFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.Life_ClockFormat.FormattingEnabled = true; - this.Life_ClockFormat.Items.AddRange(new object[] { + this.Debug_APIListPath.Location = new System.Drawing.Point(8, 28); + this.Debug_APIListPath.Name = "Debug_APIListPath"; + this.Debug_APIListPath.Size = new System.Drawing.Size(642, 23); + this.Debug_APIListPath.TabIndex = 1; + // + // Debug_LoadAPIListOnLoad + // + this.Debug_LoadAPIListOnLoad.AutoSize = true; + this.Debug_LoadAPIListOnLoad.Location = new System.Drawing.Point(8, 3); + this.Debug_LoadAPIListOnLoad.Name = "Debug_LoadAPIListOnLoad"; + this.Debug_LoadAPIListOnLoad.Size = new System.Drawing.Size(163, 19); + this.Debug_LoadAPIListOnLoad.TabIndex = 0; + this.Debug_LoadAPIListOnLoad.Text = "Load API list on startup"; + this.ToolTipInfo.SetToolTip(this.Debug_LoadAPIListOnLoad, "Load the following API list at startup.\r\nRefer to the online help on format and u" + + "sage of API list."); + this.Debug_LoadAPIListOnLoad.UseVisualStyleBackColor = true; + // + // Debug_APIListPathSearch + // + this.Debug_APIListPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Debug_APIListPathSearch.Location = new System.Drawing.Point(656, 28); + this.Debug_APIListPathSearch.Name = "Debug_APIListPathSearch"; + this.Debug_APIListPathSearch.Size = new System.Drawing.Size(32, 23); + this.Debug_APIListPathSearch.TabIndex = 2; + this.Debug_APIListPathSearch.Text = "..."; + this.Debug_APIListPathSearch.UseVisualStyleBackColor = true; + this.Debug_APIListPathSearch.Click += new System.EventHandler(this.Debug_APIListPathSearch_Click); + // + // Debug_EnableDebugMenu + // + this.Debug_EnableDebugMenu.AutoSize = true; + this.Debug_EnableDebugMenu.Location = new System.Drawing.Point(8, 6); + this.Debug_EnableDebugMenu.Name = "Debug_EnableDebugMenu"; + this.Debug_EnableDebugMenu.Size = new System.Drawing.Size(134, 19); + this.Debug_EnableDebugMenu.TabIndex = 0; + this.Debug_EnableDebugMenu.Text = "Show debug menu"; + this.ToolTipInfo.SetToolTip(this.Debug_EnableDebugMenu, "Show debug menu in the menu bar.\r\nUse it at your own risk."); + this.Debug_EnableDebugMenu.UseVisualStyleBackColor = true; + this.Debug_EnableDebugMenu.CheckedChanged += new System.EventHandler(this.Debug_EnableDebugMenu_CheckedChanged); + // + // tabPage6 + // + this.tabPage6.Controls.Add(this.Life_CanCloseFloatWindowInLock); + this.tabPage6.Controls.Add(this.Life_LockLayout); + this.tabPage6.Controls.Add(this.label24); + this.tabPage6.Controls.Add(this.Life_ClockFormat); + this.tabPage6.Controls.Add(this.Life_ShowStatusBar); + this.tabPage6.Controls.Add(this.Life_CheckUpdateInformation); + this.tabPage6.Controls.Add(this.Life_LayoutFilePathSearch); + this.tabPage6.Controls.Add(this.Life_LayoutFilePath); + this.tabPage6.Controls.Add(this.label14); + this.tabPage6.Controls.Add(this.Life_TopMost); + this.tabPage6.Controls.Add(this.Life_ConfirmOnClosing); + this.tabPage6.Location = new System.Drawing.Point(4, 24); + this.tabPage6.Name = "tabPage6"; + this.tabPage6.Padding = new System.Windows.Forms.Padding(3); + this.tabPage6.Size = new System.Drawing.Size(696, 372); + this.tabPage6.TabIndex = 5; + this.tabPage6.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Window; + this.tabPage6.UseVisualStyleBackColor = true; + // + // Life_CanCloseFloatWindowInLock + // + this.Life_CanCloseFloatWindowInLock.AutoSize = true; + this.Life_CanCloseFloatWindowInLock.Location = new System.Drawing.Point(213, 60); + this.Life_CanCloseFloatWindowInLock.Name = "Life_CanCloseFloatWindowInLock"; + this.Life_CanCloseFloatWindowInLock.Size = new System.Drawing.Size(197, 19); + this.Life_CanCloseFloatWindowInLock.TabIndex = 10; + this.Life_CanCloseFloatWindowInLock.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Life_CanCloseFloatWindowInLock; + this.ToolTipInfo.SetToolTip(this.Life_CanCloseFloatWindowInLock, "Allow floating window to be closed regardless of lock layout setting."); + this.Life_CanCloseFloatWindowInLock.UseVisualStyleBackColor = true; + // + // Life_LockLayout + // + this.Life_LockLayout.AutoSize = true; + this.Life_LockLayout.Location = new System.Drawing.Point(213, 35); + this.Life_LockLayout.Name = "Life_LockLayout"; + this.Life_LockLayout.Size = new System.Drawing.Size(139, 19); + this.Life_LockLayout.TabIndex = 9; + this.Life_LockLayout.Text = "Lock current layout"; + this.ToolTipInfo.SetToolTip(this.Life_LockLayout, "Prevent changes to tab layout and window size."); + this.Life_LockLayout.UseVisualStyleBackColor = true; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(8, 138); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(80, 15); + this.label24.TabIndex = 8; + this.label24.Text = "Clock mode:"; + // + // Life_ClockFormat + // + this.Life_ClockFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.Life_ClockFormat.FormattingEnabled = true; + this.Life_ClockFormat.Items.AddRange(new object[] { "Server time", "PVP reset", "Quest reset"}); - this.Life_ClockFormat.Location = new System.Drawing.Point(101, 135); - this.Life_ClockFormat.Name = "Life_ClockFormat"; - this.Life_ClockFormat.Size = new System.Drawing.Size(100, 23); - this.Life_ClockFormat.TabIndex = 7; - // - // Life_ShowStatusBar - // - this.Life_ShowStatusBar.AutoSize = true; - this.Life_ShowStatusBar.Location = new System.Drawing.Point(11, 110); - this.Life_ShowStatusBar.Name = "Life_ShowStatusBar"; - this.Life_ShowStatusBar.Size = new System.Drawing.Size(143, 19); - this.Life_ShowStatusBar.TabIndex = 6; - this.Life_ShowStatusBar.Text = "Show status bar"; - this.Life_ShowStatusBar.UseVisualStyleBackColor = true; - // - // Life_CheckUpdateInformation - // - this.Life_CheckUpdateInformation.AutoSize = true; - this.Life_CheckUpdateInformation.Location = new System.Drawing.Point(11, 85); - this.Life_CheckUpdateInformation.Name = "Life_CheckUpdateInformation"; - this.Life_CheckUpdateInformation.Size = new System.Drawing.Size(131, 19); - this.Life_CheckUpdateInformation.TabIndex = 5; - this.Life_CheckUpdateInformation.Text = "Check for update"; - this.Life_CheckUpdateInformation.UseVisualStyleBackColor = true; - // - // Life_LayoutFilePathSearch - // - this.Life_LayoutFilePathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.Life_LayoutFilePathSearch.Location = new System.Drawing.Point(656, 6); - this.Life_LayoutFilePathSearch.Name = "Life_LayoutFilePathSearch"; - this.Life_LayoutFilePathSearch.Size = new System.Drawing.Size(32, 23); - this.Life_LayoutFilePathSearch.TabIndex = 2; - this.Life_LayoutFilePathSearch.Text = "..."; - this.Life_LayoutFilePathSearch.UseVisualStyleBackColor = true; - this.Life_LayoutFilePathSearch.Click += new System.EventHandler(this.Life_LayoutFilePathSearch_Click); - // - // Life_LayoutFilePath - // - this.Life_LayoutFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Life_ClockFormat.Location = new System.Drawing.Point(101, 135); + this.Life_ClockFormat.Name = "Life_ClockFormat"; + this.Life_ClockFormat.Size = new System.Drawing.Size(100, 23); + this.Life_ClockFormat.TabIndex = 7; + // + // Life_ShowStatusBar + // + this.Life_ShowStatusBar.AutoSize = true; + this.Life_ShowStatusBar.Location = new System.Drawing.Point(11, 110); + this.Life_ShowStatusBar.Name = "Life_ShowStatusBar"; + this.Life_ShowStatusBar.Size = new System.Drawing.Size(121, 19); + this.Life_ShowStatusBar.TabIndex = 6; + this.Life_ShowStatusBar.Text = "Show status bar"; + this.Life_ShowStatusBar.UseVisualStyleBackColor = true; + // + // Life_CheckUpdateInformation + // + this.Life_CheckUpdateInformation.AutoSize = true; + this.Life_CheckUpdateInformation.Location = new System.Drawing.Point(11, 85); + this.Life_CheckUpdateInformation.Name = "Life_CheckUpdateInformation"; + this.Life_CheckUpdateInformation.Size = new System.Drawing.Size(125, 19); + this.Life_CheckUpdateInformation.TabIndex = 5; + this.Life_CheckUpdateInformation.Text = "Check for update"; + this.Life_CheckUpdateInformation.UseVisualStyleBackColor = true; + // + // Life_LayoutFilePathSearch + // + this.Life_LayoutFilePathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Life_LayoutFilePathSearch.Location = new System.Drawing.Point(656, 6); + this.Life_LayoutFilePathSearch.Name = "Life_LayoutFilePathSearch"; + this.Life_LayoutFilePathSearch.Size = new System.Drawing.Size(32, 23); + this.Life_LayoutFilePathSearch.TabIndex = 2; + this.Life_LayoutFilePathSearch.Text = "..."; + this.Life_LayoutFilePathSearch.UseVisualStyleBackColor = true; + this.Life_LayoutFilePathSearch.Click += new System.EventHandler(this.Life_LayoutFilePathSearch_Click); + // + // Life_LayoutFilePath + // + this.Life_LayoutFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.Life_LayoutFilePath.Location = new System.Drawing.Point(103, 6); - this.Life_LayoutFilePath.Name = "Life_LayoutFilePath"; - this.Life_LayoutFilePath.Size = new System.Drawing.Size(547, 23); - this.Life_LayoutFilePath.TabIndex = 1; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(8, 9); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(90, 15); - this.label14.TabIndex = 0; - this.label14.Text = ConfigRes.LayoutFile + ":"; - // - // Life_TopMost - // - this.Life_TopMost.AutoSize = true; - this.Life_TopMost.Location = new System.Drawing.Point(11, 60); - this.Life_TopMost.Name = "Life_TopMost"; - this.Life_TopMost.Size = new System.Drawing.Size(114, 19); - this.Life_TopMost.TabIndex = 4; - this.Life_TopMost.Text = "Always on top"; - this.Life_TopMost.UseVisualStyleBackColor = true; - // - // Life_ConfirmOnClosing - // - this.Life_ConfirmOnClosing.AutoSize = true; - this.Life_ConfirmOnClosing.Location = new System.Drawing.Point(11, 35); - this.Life_ConfirmOnClosing.Name = "Life_ConfirmOnClosing"; - this.Life_ConfirmOnClosing.Size = new System.Drawing.Size(114, 19); - this.Life_ConfirmOnClosing.TabIndex = 3; - this.Life_ConfirmOnClosing.Text = "Confirm on exit"; - this.Life_ConfirmOnClosing.UseVisualStyleBackColor = true; - // - // tabPage7 - // - this.tabPage7.Controls.Add(this.tabControl2); - this.tabPage7.Location = new System.Drawing.Point(4, 24); - this.tabPage7.Name = "tabPage7"; - this.tabPage7.Padding = new System.Windows.Forms.Padding(3); - this.tabPage7.Size = new System.Drawing.Size(696, 372); - this.tabPage7.TabIndex = 6; - this.tabPage7.Text = "Window"; - this.tabPage7.UseVisualStyleBackColor = true; - // - // tabControl2 - // - this.tabControl2.Controls.Add(this.tabPage8); - this.tabControl2.Controls.Add(this.tabPage9); - this.tabControl2.Controls.Add(this.tabPage19); - this.tabControl2.Controls.Add(this.tabPage16); - this.tabControl2.Controls.Add(this.tabPage18); - this.tabControl2.Controls.Add(this.tabPage10); - this.tabControl2.Controls.Add(this.tabPage13); - this.tabControl2.Controls.Add(this.tabPage20); - this.tabControl2.Controls.Add(this.tabPage12); - this.tabControl2.Controls.Add(this.tabPage21); - this.tabControl2.Controls.Add(this.SubWindow_Json); - this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl2.Location = new System.Drawing.Point(3, 3); - this.tabControl2.Name = "tabControl2"; - this.tabControl2.SelectedIndex = 0; - this.tabControl2.Size = new System.Drawing.Size(690, 366); - this.tabControl2.TabIndex = 0; - // - // tabPage8 - // - this.tabPage8.Controls.Add(this.FormFleet_AppliesSallyAreaColor); - this.tabPage8.Controls.Add(this.label43); - this.tabPage8.Controls.Add(this.FormFleet_FleetStateDisplayMode); - this.tabPage8.Controls.Add(this.FormFleet_EmphasizesSubFleetInPort); - this.tabPage8.Controls.Add(this.FormFleet_BlinkAtDamaged); - this.tabPage8.Controls.Add(this.FormFleet_ReflectAnchorageRepairHealing); - this.tabPage8.Controls.Add(this.FormFleet_ShowAirSuperiorityRange); - this.tabPage8.Controls.Add(this.FormFleet_ShowAircraftLevelByNumber); - this.tabPage8.Controls.Add(this.label35); - this.tabPage8.Controls.Add(this.FormFleet_FixedShipNameWidth); - this.tabPage8.Controls.Add(this.FormFleet_ShowConditionIcon); - this.tabPage8.Controls.Add(this.FormFleet_EquipmentLevelVisibility); - this.tabPage8.Controls.Add(this.label28); - this.tabPage8.Controls.Add(this.FormFleet_BlinkAtCompletion); - this.tabPage8.Controls.Add(this.FormFleet_ShowAnchorageRepairingTimer); - this.tabPage8.Controls.Add(this.FormFleet_AirSuperiorityMethod); - this.tabPage8.Controls.Add(this.label23); - this.tabPage8.Controls.Add(this.FormFleet_ShowNextExp); - this.tabPage8.Controls.Add(this.FormFleet_ShortenHPBar); - this.tabPage8.Controls.Add(this.FormFleet_FixShipNameWidth); - this.tabPage8.Controls.Add(this.FormFleet_IsScrollable); - this.tabPage8.Controls.Add(this.FormFleet_SearchingAbilityMethod); - this.tabPage8.Controls.Add(this.label13); - this.tabPage8.Controls.Add(this.FormFleet_ShowAircraft); - this.tabPage8.Location = new System.Drawing.Point(4, 24); - this.tabPage8.Name = "tabPage8"; - this.tabPage8.Padding = new System.Windows.Forms.Padding(3); - this.tabPage8.Size = new System.Drawing.Size(682, 338); - this.tabPage8.TabIndex = 0; - this.tabPage8.Text = "Fleet"; - this.tabPage8.UseVisualStyleBackColor = true; - // - // label43 - // - this.label43.AutoSize = true; - this.label43.Location = new System.Drawing.Point(6, 33); - this.label43.Name = "label43"; - this.label43.Size = new System.Drawing.Size(91, 15); - this.label43.TabIndex = 22; - this.label43.Text = "Fleet status:"; - // - // FormFleet_FleetStateDisplayMode - // - this.FormFleet_FleetStateDisplayMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormFleet_FleetStateDisplayMode.FormattingEnabled = true; - this.FormFleet_FleetStateDisplayMode.Items.AddRange(new object[] { - "Single status", - "Collapse all", - "Collapse multiple", - "Expand all"}); - this.FormFleet_FleetStateDisplayMode.Location = new System.Drawing.Point(115, 30); - this.FormFleet_FleetStateDisplayMode.Name = "FormFleet_FleetStateDisplayMode"; - this.FormFleet_FleetStateDisplayMode.Size = new System.Drawing.Size(135, 23); - this.FormFleet_FleetStateDisplayMode.TabIndex = 21; - // - // FormFleet_EmphasizesSubFleetInPort - // - this.FormFleet_EmphasizesSubFleetInPort.AutoSize = true; - this.FormFleet_EmphasizesSubFleetInPort.Location = new System.Drawing.Point(358, 163); - this.FormFleet_EmphasizesSubFleetInPort.Name = "FormFleet_EmphasizesSubFleetInPort"; - this.FormFleet_EmphasizesSubFleetInPort.Size = new System.Drawing.Size(179, 19); - this.FormFleet_EmphasizesSubFleetInPort.TabIndex = 20; - this.FormFleet_EmphasizesSubFleetInPort.Text = "Highlight idle fleet"; - this.ToolTipInfo.SetToolTip(this.FormFleet_EmphasizesSubFleetInPort, "Highlight expedition fleet idling on homeport." ); - this.FormFleet_EmphasizesSubFleetInPort.UseVisualStyleBackColor = true; - // - // FormFleet_BlinkAtDamaged - // - this.FormFleet_BlinkAtDamaged.AutoSize = true; - this.FormFleet_BlinkAtDamaged.Location = new System.Drawing.Point(358, 138); - this.FormFleet_BlinkAtDamaged.Name = "FormFleet_BlinkAtDamaged"; - this.FormFleet_BlinkAtDamaged.Size = new System.Drawing.Size(122, 19); - this.FormFleet_BlinkAtDamaged.TabIndex = 19; - this.FormFleet_BlinkAtDamaged.Text = "Highlight at critical damage"; - this.ToolTipInfo.SetToolTip(this.FormFleet_BlinkAtDamaged, "Highlight fleet on homeport if it contains critically damaged ships." ); - this.FormFleet_BlinkAtDamaged.UseVisualStyleBackColor = true; - // - // FormFleet_ReflectAnchorageRepairHealing - // - this.FormFleet_ReflectAnchorageRepairHealing.AutoSize = true; - this.FormFleet_ReflectAnchorageRepairHealing.Location = new System.Drawing.Point(159, 163); - this.FormFleet_ReflectAnchorageRepairHealing.Name = "FormFleet_ReflectAnchorageRepairHealing"; - this.FormFleet_ReflectAnchorageRepairHealing.Size = new System.Drawing.Size(193, 19); - this.FormFleet_ReflectAnchorageRepairHealing.TabIndex = 16; - this.FormFleet_ReflectAnchorageRepairHealing.Text = "HP recovery"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ReflectAnchorageRepairHealing, "Show recovered HP in the HP bar from anchorage repair."); - this.FormFleet_ReflectAnchorageRepairHealing.UseVisualStyleBackColor = true; - // - // FormFleet_ShowAirSuperiorityRange - // - this.FormFleet_ShowAirSuperiorityRange.AutoSize = true; - this.FormFleet_ShowAirSuperiorityRange.Location = new System.Drawing.Point(6, 213); - this.FormFleet_ShowAirSuperiorityRange.Name = "FormFleet_ShowAirSuperiorityRange"; - this.FormFleet_ShowAirSuperiorityRange.Size = new System.Drawing.Size(150, 19); - this.FormFleet_ShowAirSuperiorityRange.TabIndex = 14; - this.FormFleet_ShowAirSuperiorityRange.Text = "Show AS value range"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAirSuperiorityRange, "Show fleet AS value range based on minimum and maximum plane proficiency.\r\nThe default setting is to use the lowest plane proficiency for AS calculation." ); - this.FormFleet_ShowAirSuperiorityRange.UseVisualStyleBackColor = true; - // - // FormFleet_ShowAircraftLevelByNumber - // - this.FormFleet_ShowAircraftLevelByNumber.AutoSize = true; - this.FormFleet_ShowAircraftLevelByNumber.Location = new System.Drawing.Point(159, 213); - this.FormFleet_ShowAircraftLevelByNumber.Name = "FormFleet_ShowAircraftLevelByNumber"; - this.FormFleet_ShowAircraftLevelByNumber.Size = new System.Drawing.Size(184, 19); - this.FormFleet_ShowAircraftLevelByNumber.TabIndex = 18; - this.FormFleet_ShowAircraftLevelByNumber.Text = "Numeric proficiency level"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAircraftLevelByNumber, "Show plane proficiency level in digits (1,2,3) instead of symbols (|,||,>>)."); - this.FormFleet_ShowAircraftLevelByNumber.UseVisualStyleBackColor = true; - // - // label35 - // - this.label35.AutoSize = true; - this.label35.Location = new System.Drawing.Point(225, 114); - this.label35.Name = "label35"; - this.label35.Size = new System.Drawing.Size(21, 15); - this.label35.TabIndex = 10; - this.label35.Text = "px"; - // - // FormFleet_FixedShipNameWidth - // - this.FormFleet_FixedShipNameWidth.Location = new System.Drawing.Point(159, 112); - this.FormFleet_FixedShipNameWidth.Maximum = new decimal(new int[] { + this.Life_LayoutFilePath.Location = new System.Drawing.Point(103, 6); + this.Life_LayoutFilePath.Name = "Life_LayoutFilePath"; + this.Life_LayoutFilePath.Size = new System.Drawing.Size(547, 23); + this.Life_LayoutFilePath.TabIndex = 1; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(8, 9); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(90, 15); + this.label14.TabIndex = 0; + this.label14.Text = "レイアウトファイル:"; + // + // Life_TopMost + // + this.Life_TopMost.AutoSize = true; + this.Life_TopMost.Location = new System.Drawing.Point(11, 60); + this.Life_TopMost.Name = "Life_TopMost"; + this.Life_TopMost.Size = new System.Drawing.Size(108, 19); + this.Life_TopMost.TabIndex = 4; + this.Life_TopMost.Text = "Always on top"; + this.Life_TopMost.UseVisualStyleBackColor = true; + // + // Life_ConfirmOnClosing + // + this.Life_ConfirmOnClosing.AutoSize = true; + this.Life_ConfirmOnClosing.Location = new System.Drawing.Point(11, 35); + this.Life_ConfirmOnClosing.Name = "Life_ConfirmOnClosing"; + this.Life_ConfirmOnClosing.Size = new System.Drawing.Size(116, 19); + this.Life_ConfirmOnClosing.TabIndex = 3; + this.Life_ConfirmOnClosing.Text = "Confirm on exit"; + this.Life_ConfirmOnClosing.UseVisualStyleBackColor = true; + // + // tabPage7 + // + this.tabPage7.Controls.Add(this.tabControl2); + this.tabPage7.Location = new System.Drawing.Point(4, 24); + this.tabPage7.Name = "tabPage7"; + this.tabPage7.Padding = new System.Windows.Forms.Padding(3); + this.tabPage7.Size = new System.Drawing.Size(696, 372); + this.tabPage7.TabIndex = 6; + this.tabPage7.Text = "Window"; + this.tabPage7.UseVisualStyleBackColor = true; + // + // tabControl2 + // + this.tabControl2.Controls.Add(this.tabPage8); + this.tabControl2.Controls.Add(this.tabPage9); + this.tabControl2.Controls.Add(this.tabPage19); + this.tabControl2.Controls.Add(this.tabPage16); + this.tabControl2.Controls.Add(this.tabPage18); + this.tabControl2.Controls.Add(this.tabPage10); + this.tabControl2.Controls.Add(this.tabPage13); + this.tabControl2.Controls.Add(this.tabPage20); + this.tabControl2.Controls.Add(this.tabPage12); + this.tabControl2.Controls.Add(this.tabPage21); + this.tabControl2.Controls.Add(this.SubWindow_Json); + this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl2.Location = new System.Drawing.Point(3, 3); + this.tabControl2.Name = "tabControl2"; + this.tabControl2.SelectedIndex = 0; + this.tabControl2.Size = new System.Drawing.Size(690, 366); + this.tabControl2.TabIndex = 0; + // + // tabPage8 + // + this.tabPage8.Controls.Add(this.FormFleet_AppliesSallyAreaColor); + this.tabPage8.Controls.Add(this.label43); + this.tabPage8.Controls.Add(this.FormFleet_FleetStateDisplayMode); + this.tabPage8.Controls.Add(this.FormFleet_EmphasizesSubFleetInPort); + this.tabPage8.Controls.Add(this.FormFleet_BlinkAtDamaged); + this.tabPage8.Controls.Add(this.FormFleet_ReflectAnchorageRepairHealing); + this.tabPage8.Controls.Add(this.FormFleet_ShowAirSuperiorityRange); + this.tabPage8.Controls.Add(this.FormFleet_ShowAircraftLevelByNumber); + this.tabPage8.Controls.Add(this.label35); + this.tabPage8.Controls.Add(this.FormFleet_FixedShipNameWidth); + this.tabPage8.Controls.Add(this.FormFleet_ShowConditionIcon); + this.tabPage8.Controls.Add(this.FormFleet_EquipmentLevelVisibility); + this.tabPage8.Controls.Add(this.label28); + this.tabPage8.Controls.Add(this.FormFleet_BlinkAtCompletion); + this.tabPage8.Controls.Add(this.FormFleet_ShowAnchorageRepairingTimer); + this.tabPage8.Controls.Add(this.FormFleet_AirSuperiorityMethod); + this.tabPage8.Controls.Add(this.label23); + this.tabPage8.Controls.Add(this.FormFleet_ShowNextExp); + this.tabPage8.Controls.Add(this.FormFleet_ShortenHPBar); + this.tabPage8.Controls.Add(this.FormFleet_FixShipNameWidth); + this.tabPage8.Controls.Add(this.FormFleet_IsScrollable); + this.tabPage8.Controls.Add(this.FormFleet_SearchingAbilityMethod); + this.tabPage8.Controls.Add(this.label13); + this.tabPage8.Controls.Add(this.FormFleet_ShowAircraft); + this.tabPage8.Location = new System.Drawing.Point(4, 24); + this.tabPage8.Name = "tabPage8"; + this.tabPage8.Padding = new System.Windows.Forms.Padding(3); + this.tabPage8.Size = new System.Drawing.Size(682, 338); + this.tabPage8.TabIndex = 0; + this.tabPage8.Text = "Fleet"; + this.tabPage8.UseVisualStyleBackColor = true; + // + // FormFleet_AppliesSallyAreaColor + // + this.FormFleet_AppliesSallyAreaColor.AutoSize = true; + this.FormFleet_AppliesSallyAreaColor.Location = new System.Drawing.Point(358, 188); + this.FormFleet_AppliesSallyAreaColor.Name = "FormFleet_AppliesSallyAreaColor"; + this.FormFleet_AppliesSallyAreaColor.Size = new System.Drawing.Size(133, 19); + this.FormFleet_AppliesSallyAreaColor.TabIndex = 23; + this.FormFleet_AppliesSallyAreaColor.Text = "Use fleet tag color"; + this.ToolTipInfo.SetToolTip(this.FormFleet_AppliesSallyAreaColor, "Use fleet tag color as background of each ship name.\nThe colors may not match eac" + + "h event tag colors."); + this.FormFleet_AppliesSallyAreaColor.UseVisualStyleBackColor = true; + // + // label43 + // + this.label43.AutoSize = true; + this.label43.Location = new System.Drawing.Point(6, 33); + this.label43.Name = "label43"; + this.label43.Size = new System.Drawing.Size(81, 15); + this.label43.TabIndex = 22; + this.label43.Text = "Fleet status:"; + // + // FormFleet_FleetStateDisplayMode + // + this.FormFleet_FleetStateDisplayMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormFleet_FleetStateDisplayMode.FormattingEnabled = true; + this.FormFleet_FleetStateDisplayMode.Items.AddRange(new object[] { + "Single status", + "Collapse all", + "Collapse multiple", + "Expand all"}); + this.FormFleet_FleetStateDisplayMode.Location = new System.Drawing.Point(115, 30); + this.FormFleet_FleetStateDisplayMode.Name = "FormFleet_FleetStateDisplayMode"; + this.FormFleet_FleetStateDisplayMode.Size = new System.Drawing.Size(135, 23); + this.FormFleet_FleetStateDisplayMode.TabIndex = 21; + // + // FormFleet_EmphasizesSubFleetInPort + // + this.FormFleet_EmphasizesSubFleetInPort.AutoSize = true; + this.FormFleet_EmphasizesSubFleetInPort.Location = new System.Drawing.Point(358, 163); + this.FormFleet_EmphasizesSubFleetInPort.Name = "FormFleet_EmphasizesSubFleetInPort"; + this.FormFleet_EmphasizesSubFleetInPort.Size = new System.Drawing.Size(131, 19); + this.FormFleet_EmphasizesSubFleetInPort.TabIndex = 20; + this.FormFleet_EmphasizesSubFleetInPort.Text = "Highlight idle fleet"; + this.ToolTipInfo.SetToolTip(this.FormFleet_EmphasizesSubFleetInPort, "Highlight expedition fleet idling on homeport."); + this.FormFleet_EmphasizesSubFleetInPort.UseVisualStyleBackColor = true; + // + // FormFleet_BlinkAtDamaged + // + this.FormFleet_BlinkAtDamaged.AutoSize = true; + this.FormFleet_BlinkAtDamaged.Location = new System.Drawing.Point(358, 138); + this.FormFleet_BlinkAtDamaged.Name = "FormFleet_BlinkAtDamaged"; + this.FormFleet_BlinkAtDamaged.Size = new System.Drawing.Size(186, 19); + this.FormFleet_BlinkAtDamaged.TabIndex = 19; + this.FormFleet_BlinkAtDamaged.Text = "Highlight at critical damage"; + this.ToolTipInfo.SetToolTip(this.FormFleet_BlinkAtDamaged, "Highlight fleet on homeport if it contains critically damaged ships."); + this.FormFleet_BlinkAtDamaged.UseVisualStyleBackColor = true; + // + // FormFleet_ReflectAnchorageRepairHealing + // + this.FormFleet_ReflectAnchorageRepairHealing.AutoSize = true; + this.FormFleet_ReflectAnchorageRepairHealing.Location = new System.Drawing.Point(159, 163); + this.FormFleet_ReflectAnchorageRepairHealing.Name = "FormFleet_ReflectAnchorageRepairHealing"; + this.FormFleet_ReflectAnchorageRepairHealing.Size = new System.Drawing.Size(97, 19); + this.FormFleet_ReflectAnchorageRepairHealing.TabIndex = 16; + this.FormFleet_ReflectAnchorageRepairHealing.Text = "HP recovery"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ReflectAnchorageRepairHealing, "Show recovered HP in the HP bar from anchorage repair."); + this.FormFleet_ReflectAnchorageRepairHealing.UseVisualStyleBackColor = true; + // + // FormFleet_ShowAirSuperiorityRange + // + this.FormFleet_ShowAirSuperiorityRange.AutoSize = true; + this.FormFleet_ShowAirSuperiorityRange.Location = new System.Drawing.Point(6, 213); + this.FormFleet_ShowAirSuperiorityRange.Name = "FormFleet_ShowAirSuperiorityRange"; + this.FormFleet_ShowAirSuperiorityRange.Size = new System.Drawing.Size(150, 19); + this.FormFleet_ShowAirSuperiorityRange.TabIndex = 14; + this.FormFleet_ShowAirSuperiorityRange.Text = "Show AS value range"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAirSuperiorityRange, "Show fleet AS value range based on minimum and maximum plane proficiency.\r\nThe de" + + "fault setting is to use the lowest plane proficiency for AS calculation."); + this.FormFleet_ShowAirSuperiorityRange.UseVisualStyleBackColor = true; + // + // FormFleet_ShowAircraftLevelByNumber + // + this.FormFleet_ShowAircraftLevelByNumber.AutoSize = true; + this.FormFleet_ShowAircraftLevelByNumber.Location = new System.Drawing.Point(159, 213); + this.FormFleet_ShowAircraftLevelByNumber.Name = "FormFleet_ShowAircraftLevelByNumber"; + this.FormFleet_ShowAircraftLevelByNumber.Size = new System.Drawing.Size(172, 19); + this.FormFleet_ShowAircraftLevelByNumber.TabIndex = 18; + this.FormFleet_ShowAircraftLevelByNumber.Text = "Numeric proficiency level"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAircraftLevelByNumber, "Show plane proficiency level in digits (1,2,3) instead of symbols (|,||,>>)."); + this.FormFleet_ShowAircraftLevelByNumber.UseVisualStyleBackColor = true; + // + // label35 + // + this.label35.AutoSize = true; + this.label35.Location = new System.Drawing.Point(225, 114); + this.label35.Name = "label35"; + this.label35.Size = new System.Drawing.Size(21, 15); + this.label35.TabIndex = 10; + this.label35.Text = "px"; + // + // FormFleet_FixedShipNameWidth + // + this.FormFleet_FixedShipNameWidth.Location = new System.Drawing.Point(159, 112); + this.FormFleet_FixedShipNameWidth.Maximum = new decimal(new int[] { 999, 0, 0, @@ -1413,33 +1522,34 @@ private void InitializeComponent() 0, 0, 0}); - this.FormFleet_FixedShipNameWidth.Name = "FormFleet_FixedShipNameWidth"; - this.FormFleet_FixedShipNameWidth.Size = new System.Drawing.Size(60, 23); - this.FormFleet_FixedShipNameWidth.TabIndex = 9; - this.FormFleet_FixedShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.FormFleet_FixedShipNameWidth, "Specify width of ship name column."); - this.FormFleet_FixedShipNameWidth.Value = new decimal(new int[] { + this.FormFleet_FixedShipNameWidth.Name = "FormFleet_FixedShipNameWidth"; + this.FormFleet_FixedShipNameWidth.Size = new System.Drawing.Size(60, 23); + this.FormFleet_FixedShipNameWidth.TabIndex = 9; + this.FormFleet_FixedShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.FormFleet_FixedShipNameWidth, "Specify width of ship name column."); + this.FormFleet_FixedShipNameWidth.Value = new decimal(new int[] { 1, 0, 0, 0}); - // - // FormFleet_ShowConditionIcon - // - this.FormFleet_ShowConditionIcon.AutoSize = true; - this.FormFleet_ShowConditionIcon.Location = new System.Drawing.Point(6, 188); - this.FormFleet_ShowConditionIcon.Name = "FormFleet_ShowConditionIcon"; - this.FormFleet_ShowConditionIcon.Size = new System.Drawing.Size(139, 19); - this.FormFleet_ShowConditionIcon.TabIndex = 13; - this.FormFleet_ShowConditionIcon.Text = "Fatigue icon"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShowConditionIcon, "Show fatigue level icon in the fleet window.\r\nIf disabled, ship fatigue level is denoted by background color."); - this.FormFleet_ShowConditionIcon.UseVisualStyleBackColor = true; - // - // FormFleet_EquipmentLevelVisibility - // - this.FormFleet_EquipmentLevelVisibility.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormFleet_EquipmentLevelVisibility.FormattingEnabled = true; - this.FormFleet_EquipmentLevelVisibility.Items.AddRange(new object[] { + // + // FormFleet_ShowConditionIcon + // + this.FormFleet_ShowConditionIcon.AutoSize = true; + this.FormFleet_ShowConditionIcon.Location = new System.Drawing.Point(6, 188); + this.FormFleet_ShowConditionIcon.Name = "FormFleet_ShowConditionIcon"; + this.FormFleet_ShowConditionIcon.Size = new System.Drawing.Size(96, 19); + this.FormFleet_ShowConditionIcon.TabIndex = 13; + this.FormFleet_ShowConditionIcon.Text = "Fatigue icon"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShowConditionIcon, "Show fatigue level icon in the fleet window.\r\nIf disabled, ship fatigue level is " + + "denoted by background color."); + this.FormFleet_ShowConditionIcon.UseVisualStyleBackColor = true; + // + // FormFleet_EquipmentLevelVisibility + // + this.FormFleet_EquipmentLevelVisibility.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormFleet_EquipmentLevelVisibility.FormattingEnabled = true; + this.FormFleet_EquipmentLevelVisibility.Items.AddRange(new object[] { global::ElectronicObserver.Window.Dialog.ConfigRes.EquipmentLevelVisibility_Hidden, global::ElectronicObserver.Window.Dialog.ConfigRes.EquipmentLevelVisibility_ImprovOnly, global::ElectronicObserver.Window.Dialog.ConfigRes.EquipmentLevelVisibility_ProfOnly, @@ -1447,183 +1557,187 @@ private void InitializeComponent() global::ElectronicObserver.Window.Dialog.ConfigRes.EquipmentLevelVisibility_ProfPrio, global::ElectronicObserver.Window.Dialog.ConfigRes.EquipmentLevelVisibility_Both, "Overlay proficiency"}); - this.FormFleet_EquipmentLevelVisibility.Location = new System.Drawing.Point(253, 86); - this.FormFleet_EquipmentLevelVisibility.Name = "FormFleet_EquipmentLevelVisibility"; - this.FormFleet_EquipmentLevelVisibility.Size = new System.Drawing.Size(160, 23); - this.FormFleet_EquipmentLevelVisibility.TabIndex = 7; - this.ToolTipInfo.SetToolTip(this.FormFleet_EquipmentLevelVisibility, "Specify the display mode of improvement and proficiency level of aircraft.\r\n If set to prioritize, it will prioritize the specified item over another.\r\n If set to both, both item will be displayed."); - // - // label28 - // - this.label28.AutoSize = true; - this.label28.Location = new System.Drawing.Point(156, 89); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(91, 15); - this.label28.TabIndex = 6; - this.label28.Text = "Eq lvl display:"; - // - // FormFleet_BlinkAtCompletion - // - this.FormFleet_BlinkAtCompletion.AutoSize = true; - this.FormFleet_BlinkAtCompletion.Location = new System.Drawing.Point(159, 188); - this.FormFleet_BlinkAtCompletion.Name = "FormFleet_BlinkAtCompletion"; - this.FormFleet_BlinkAtCompletion.Size = new System.Drawing.Size(158, 19); - this.FormFleet_BlinkAtCompletion.TabIndex = 17; - this.FormFleet_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.FleetBlinkAtCompletion; - this.FormFleet_BlinkAtCompletion.UseVisualStyleBackColor = true; - // - // FormFleet_ShowAnchorageRepairingTimer - // - this.FormFleet_ShowAnchorageRepairingTimer.AutoSize = true; - this.FormFleet_ShowAnchorageRepairingTimer.Location = new System.Drawing.Point(159, 138); - this.FormFleet_ShowAnchorageRepairingTimer.Name = "FormFleet_ShowAnchorageRepairingTimer"; - this.FormFleet_ShowAnchorageRepairingTimer.Size = new System.Drawing.Size(152, 19); - this.FormFleet_ShowAnchorageRepairingTimer.TabIndex = 15; - this.FormFleet_ShowAnchorageRepairingTimer.Text = "Repair timer"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAnchorageRepairingTimer, "Show repair timer in the fleet list window."); - this.FormFleet_ShowAnchorageRepairingTimer.UseVisualStyleBackColor = true; - // - // FormFleet_AirSuperiorityMethod - // - this.FormFleet_AirSuperiorityMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormFleet_AirSuperiorityMethod.FormattingEnabled = true; - this.FormFleet_AirSuperiorityMethod.Items.AddRange(new object[] { + this.FormFleet_EquipmentLevelVisibility.Location = new System.Drawing.Point(253, 86); + this.FormFleet_EquipmentLevelVisibility.Name = "FormFleet_EquipmentLevelVisibility"; + this.FormFleet_EquipmentLevelVisibility.Size = new System.Drawing.Size(160, 23); + this.FormFleet_EquipmentLevelVisibility.TabIndex = 7; + this.ToolTipInfo.SetToolTip(this.FormFleet_EquipmentLevelVisibility, "Specify the display mode of improvement and proficiency level of aircraft.\r\n If s" + + "et to prioritize, it will prioritize the specified item over another.\r\n If set t" + + "o both, both item will be displayed."); + // + // label28 + // + this.label28.AutoSize = true; + this.label28.Location = new System.Drawing.Point(156, 89); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(87, 15); + this.label28.TabIndex = 6; + this.label28.Text = "Eq lvl display:"; + // + // FormFleet_BlinkAtCompletion + // + this.FormFleet_BlinkAtCompletion.AutoSize = true; + this.FormFleet_BlinkAtCompletion.Location = new System.Drawing.Point(159, 188); + this.FormFleet_BlinkAtCompletion.Name = "FormFleet_BlinkAtCompletion"; + this.FormFleet_BlinkAtCompletion.Size = new System.Drawing.Size(158, 19); + this.FormFleet_BlinkAtCompletion.TabIndex = 17; + this.FormFleet_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.FleetBlinkAtCompletion; + this.FormFleet_BlinkAtCompletion.UseVisualStyleBackColor = true; + // + // FormFleet_ShowAnchorageRepairingTimer + // + this.FormFleet_ShowAnchorageRepairingTimer.AutoSize = true; + this.FormFleet_ShowAnchorageRepairingTimer.Location = new System.Drawing.Point(159, 138); + this.FormFleet_ShowAnchorageRepairingTimer.Name = "FormFleet_ShowAnchorageRepairingTimer"; + this.FormFleet_ShowAnchorageRepairingTimer.Size = new System.Drawing.Size(99, 19); + this.FormFleet_ShowAnchorageRepairingTimer.TabIndex = 15; + this.FormFleet_ShowAnchorageRepairingTimer.Text = "Repair timer"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShowAnchorageRepairingTimer, "Show repair timer in the fleet list window."); + this.FormFleet_ShowAnchorageRepairingTimer.UseVisualStyleBackColor = true; + // + // FormFleet_AirSuperiorityMethod + // + this.FormFleet_AirSuperiorityMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormFleet_AirSuperiorityMethod.FormattingEnabled = true; + this.FormFleet_AirSuperiorityMethod.Items.AddRange(new object[] { "Disabled", "Enabled"}); - this.FormFleet_AirSuperiorityMethod.Location = new System.Drawing.Point(115, 59); - this.FormFleet_AirSuperiorityMethod.Name = "FormFleet_AirSuperiorityMethod"; - this.FormFleet_AirSuperiorityMethod.Size = new System.Drawing.Size(121, 23); - this.FormFleet_AirSuperiorityMethod.TabIndex = 4; - // - // label23 - // - this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(6, 62); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(103, 15); - this.label23.TabIndex = 3; - this.label23.Text = ConfigRes.AirSuperiorityMethod; - // - // FormFleet_ShowNextExp - // - this.FormFleet_ShowNextExp.AutoSize = true; - this.FormFleet_ShowNextExp.Location = new System.Drawing.Point(6, 163); - this.FormFleet_ShowNextExp.Name = "FormFleet_ShowNextExp"; - this.FormFleet_ShowNextExp.Size = new System.Drawing.Size(112, 19); - this.FormFleet_ShowNextExp.TabIndex = 12; - this.FormFleet_ShowNextExp.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ShowNextXP; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShowNextExp, "Show the amount of experience needed to level up.\r\nDisable this setting to save horizontal space."); - this.FormFleet_ShowNextExp.UseVisualStyleBackColor = true; - // - // FormFleet_ShortenHPBar - // - this.FormFleet_ShortenHPBar.AutoSize = true; - this.FormFleet_ShortenHPBar.Location = new System.Drawing.Point(6, 138); - this.FormFleet_ShortenHPBar.Name = "FormFleet_ShortenHPBar"; - this.FormFleet_ShortenHPBar.Size = new System.Drawing.Size(114, 19); - this.FormFleet_ShortenHPBar.TabIndex = 11; - this.FormFleet_ShortenHPBar.Text = "Small HP bar"; - this.ToolTipInfo.SetToolTip(this.FormFleet_ShortenHPBar, global::ElectronicObserver.Window.Dialog.ConfigRes.ShortenHPHint); - this.FormFleet_ShortenHPBar.UseVisualStyleBackColor = true; - // - // FormFleet_FixShipNameWidth - // - this.FormFleet_FixShipNameWidth.AutoSize = true; - this.FormFleet_FixShipNameWidth.Location = new System.Drawing.Point(6, 113); - this.FormFleet_FixShipNameWidth.Name = "FormFleet_FixShipNameWidth"; - this.FormFleet_FixShipNameWidth.Size = new System.Drawing.Size(136, 19); - this.FormFleet_FixShipNameWidth.TabIndex = 8; - this.FormFleet_FixShipNameWidth.Text = "Fixed name width"; - this.ToolTipInfo.SetToolTip(this.FormFleet_FixShipNameWidth, "Specify a fixed width of ship name column.\r\nIt may decrease horizontal space requirement but may cut off long ship names."); - this.FormFleet_FixShipNameWidth.UseVisualStyleBackColor = true; - this.FormFleet_FixShipNameWidth.CheckedChanged += new System.EventHandler(this.FormFleet_FixShipNameWidth_CheckedChanged); - // - // FormFleet_IsScrollable - // - this.FormFleet_IsScrollable.AutoSize = true; - this.FormFleet_IsScrollable.Location = new System.Drawing.Point(6, 88); - this.FormFleet_IsScrollable.Name = "FormFleet_IsScrollable"; - this.FormFleet_IsScrollable.Size = new System.Drawing.Size(144, 19); - this.FormFleet_IsScrollable.TabIndex = 5; - this.FormFleet_IsScrollable.Text = "Show scrollbar"; - this.ToolTipInfo.SetToolTip(this.FormFleet_IsScrollable, "Show scrollbar if the content does not fit." ); - this.FormFleet_IsScrollable.UseVisualStyleBackColor = true; - // - // FormFleet_SearchingAbilityMethod - // - this.FormFleet_SearchingAbilityMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormFleet_SearchingAbilityMethod.Enabled = false; - this.FormFleet_SearchingAbilityMethod.FormattingEnabled = true; - this.FormFleet_SearchingAbilityMethod.Items.AddRange(new object[] { - global::ElectronicObserver.Window.Dialog.ConfigRes.Old25, - global::ElectronicObserver.Window.Dialog.ConfigRes.Autumn25, - global::ElectronicObserver.Window.Dialog.ConfigRes.New25, - global::ElectronicObserver.Window.Dialog.ConfigRes.Formula33, - global::ElectronicObserver.Window.Dialog.ConfigRes.NewFormula33}); - this.FormFleet_SearchingAbilityMethod.Location = new System.Drawing.Point(358, 30); - this.FormFleet_SearchingAbilityMethod.Name = "FormFleet_SearchingAbilityMethod"; - this.FormFleet_SearchingAbilityMethod.Size = new System.Drawing.Size(121, 23); - this.FormFleet_SearchingAbilityMethod.TabIndex = 2; - this.FormFleet_SearchingAbilityMethod.Visible = false; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Enabled = false; - this.label13.Location = new System.Drawing.Point(249, 33); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(96, 15); - this.label13.TabIndex = 1; - this.label13.Text = ConfigRes.LosFormula + ":"; - this.label13.Visible = false; - // - // FormFleet_ShowAircraft - // - this.FormFleet_ShowAircraft.AutoSize = true; - this.FormFleet_ShowAircraft.Location = new System.Drawing.Point(6, 6); - this.FormFleet_ShowAircraft.Name = "FormFleet_ShowAircraft"; - this.FormFleet_ShowAircraft.Size = new System.Drawing.Size(126, 19); - this.FormFleet_ShowAircraft.TabIndex = 0; - this.FormFleet_ShowAircraft.Text = "Show plane slot"; - this.FormFleet_ShowAircraft.UseVisualStyleBackColor = true; - // - // tabPage9 - // - this.tabPage9.Controls.Add(this.label38); - this.tabPage9.Controls.Add(this.label37); - this.tabPage9.Controls.Add(this.FormArsenal_MaxShipNameWidth); - this.tabPage9.Controls.Add(this.FormArsenal_BlinkAtCompletion); - this.tabPage9.Controls.Add(this.FormArsenal_ShowShipName); - this.tabPage9.Location = new System.Drawing.Point(4, 22); - this.tabPage9.Name = "tabPage9"; - this.tabPage9.Padding = new System.Windows.Forms.Padding(3); - this.tabPage9.Size = new System.Drawing.Size(682, 340); - this.tabPage9.TabIndex = 1; - this.tabPage9.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Arsenal; - this.tabPage9.UseVisualStyleBackColor = true; - // - // label38 - // - this.label38.AutoSize = true; - this.label38.Location = new System.Drawing.Point(6, 57); - this.label38.Name = "label38"; - this.label38.Size = new System.Drawing.Size(101, 15); - this.label38.TabIndex = 12; - this.label38.Text = "Name width:"; - // - // label37 - // - this.label37.AutoSize = true; - this.label37.Location = new System.Drawing.Point(179, 57); - this.label37.Name = "label37"; - this.label37.Size = new System.Drawing.Size(21, 15); - this.label37.TabIndex = 11; - this.label37.Text = "px"; - // - // FormArsenal_MaxShipNameWidth - // - this.FormArsenal_MaxShipNameWidth.Location = new System.Drawing.Point(113, 55); - this.FormArsenal_MaxShipNameWidth.Maximum = new decimal(new int[] { + this.FormFleet_AirSuperiorityMethod.Location = new System.Drawing.Point(115, 59); + this.FormFleet_AirSuperiorityMethod.Name = "FormFleet_AirSuperiorityMethod"; + this.FormFleet_AirSuperiorityMethod.Size = new System.Drawing.Size(121, 23); + this.FormFleet_AirSuperiorityMethod.TabIndex = 4; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(6, 62); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(103, 15); + this.label23.TabIndex = 3; + this.label23.Text = "制空戦力計算式:"; + // + // FormFleet_ShowNextExp + // + this.FormFleet_ShowNextExp.AutoSize = true; + this.FormFleet_ShowNextExp.Location = new System.Drawing.Point(6, 163); + this.FormFleet_ShowNextExp.Name = "FormFleet_ShowNextExp"; + this.FormFleet_ShowNextExp.Size = new System.Drawing.Size(112, 19); + this.FormFleet_ShowNextExp.TabIndex = 12; + this.FormFleet_ShowNextExp.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ShowNextXP; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShowNextExp, "Show the amount of experience needed to level up.\r\nDisable this setting to save h" + + "orizontal space."); + this.FormFleet_ShowNextExp.UseVisualStyleBackColor = true; + // + // FormFleet_ShortenHPBar + // + this.FormFleet_ShortenHPBar.AutoSize = true; + this.FormFleet_ShortenHPBar.Location = new System.Drawing.Point(6, 138); + this.FormFleet_ShortenHPBar.Name = "FormFleet_ShortenHPBar"; + this.FormFleet_ShortenHPBar.Size = new System.Drawing.Size(102, 19); + this.FormFleet_ShortenHPBar.TabIndex = 11; + this.FormFleet_ShortenHPBar.Text = "Small HP bar"; + this.ToolTipInfo.SetToolTip(this.FormFleet_ShortenHPBar, global::ElectronicObserver.Window.Dialog.ConfigRes.ShortenHPHint); + this.FormFleet_ShortenHPBar.UseVisualStyleBackColor = true; + // + // FormFleet_FixShipNameWidth + // + this.FormFleet_FixShipNameWidth.AutoSize = true; + this.FormFleet_FixShipNameWidth.Location = new System.Drawing.Point(6, 113); + this.FormFleet_FixShipNameWidth.Name = "FormFleet_FixShipNameWidth"; + this.FormFleet_FixShipNameWidth.Size = new System.Drawing.Size(130, 19); + this.FormFleet_FixShipNameWidth.TabIndex = 8; + this.FormFleet_FixShipNameWidth.Text = "Fixed name width"; + this.ToolTipInfo.SetToolTip(this.FormFleet_FixShipNameWidth, "Specify a fixed width of ship name column.\r\nIt may decrease horizontal space requ" + + "irement but may cut off long ship names."); + this.FormFleet_FixShipNameWidth.UseVisualStyleBackColor = true; + this.FormFleet_FixShipNameWidth.CheckedChanged += new System.EventHandler(this.FormFleet_FixShipNameWidth_CheckedChanged); + // + // FormFleet_IsScrollable + // + this.FormFleet_IsScrollable.AutoSize = true; + this.FormFleet_IsScrollable.Location = new System.Drawing.Point(6, 88); + this.FormFleet_IsScrollable.Name = "FormFleet_IsScrollable"; + this.FormFleet_IsScrollable.Size = new System.Drawing.Size(111, 19); + this.FormFleet_IsScrollable.TabIndex = 5; + this.FormFleet_IsScrollable.Text = "Show scrollbar"; + this.ToolTipInfo.SetToolTip(this.FormFleet_IsScrollable, "Show scrollbar if the content does not fit."); + this.FormFleet_IsScrollable.UseVisualStyleBackColor = true; + // + // FormFleet_SearchingAbilityMethod + // + this.FormFleet_SearchingAbilityMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormFleet_SearchingAbilityMethod.Enabled = false; + this.FormFleet_SearchingAbilityMethod.FormattingEnabled = true; + this.FormFleet_SearchingAbilityMethod.Items.AddRange(new object[] { + global::ElectronicObserver.Window.Dialog.ConfigRes.Old25, + global::ElectronicObserver.Window.Dialog.ConfigRes.Autumn25, + global::ElectronicObserver.Window.Dialog.ConfigRes.New25, + global::ElectronicObserver.Window.Dialog.ConfigRes.Formula33, + global::ElectronicObserver.Window.Dialog.ConfigRes.NewFormula33}); + this.FormFleet_SearchingAbilityMethod.Location = new System.Drawing.Point(358, 30); + this.FormFleet_SearchingAbilityMethod.Name = "FormFleet_SearchingAbilityMethod"; + this.FormFleet_SearchingAbilityMethod.Size = new System.Drawing.Size(121, 23); + this.FormFleet_SearchingAbilityMethod.TabIndex = 2; + this.FormFleet_SearchingAbilityMethod.Visible = false; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Enabled = false; + this.label13.Location = new System.Drawing.Point(249, 33); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(96, 15); + this.label13.TabIndex = 1; + this.label13.Text = "索敵能力計算式:"; + this.label13.Visible = false; + // + // FormFleet_ShowAircraft + // + this.FormFleet_ShowAircraft.AutoSize = true; + this.FormFleet_ShowAircraft.Location = new System.Drawing.Point(6, 6); + this.FormFleet_ShowAircraft.Name = "FormFleet_ShowAircraft"; + this.FormFleet_ShowAircraft.Size = new System.Drawing.Size(118, 19); + this.FormFleet_ShowAircraft.TabIndex = 0; + this.FormFleet_ShowAircraft.Text = "Show plane slot"; + this.FormFleet_ShowAircraft.UseVisualStyleBackColor = true; + // + // tabPage9 + // + this.tabPage9.Controls.Add(this.label38); + this.tabPage9.Controls.Add(this.label37); + this.tabPage9.Controls.Add(this.FormArsenal_MaxShipNameWidth); + this.tabPage9.Controls.Add(this.FormArsenal_BlinkAtCompletion); + this.tabPage9.Controls.Add(this.FormArsenal_ShowShipName); + this.tabPage9.Location = new System.Drawing.Point(4, 22); + this.tabPage9.Name = "tabPage9"; + this.tabPage9.Padding = new System.Windows.Forms.Padding(3); + this.tabPage9.Size = new System.Drawing.Size(682, 340); + this.tabPage9.TabIndex = 1; + this.tabPage9.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Arsenal; + this.tabPage9.UseVisualStyleBackColor = true; + // + // label38 + // + this.label38.AutoSize = true; + this.label38.Location = new System.Drawing.Point(6, 57); + this.label38.Name = "label38"; + this.label38.Size = new System.Drawing.Size(83, 15); + this.label38.TabIndex = 12; + this.label38.Text = "Name width:"; + // + // label37 + // + this.label37.AutoSize = true; + this.label37.Location = new System.Drawing.Point(179, 57); + this.label37.Name = "label37"; + this.label37.Size = new System.Drawing.Size(21, 15); + this.label37.TabIndex = 11; + this.label37.Text = "px"; + // + // FormArsenal_MaxShipNameWidth + // + this.FormArsenal_MaxShipNameWidth.Location = new System.Drawing.Point(113, 55); + this.FormArsenal_MaxShipNameWidth.Maximum = new decimal(new int[] { 999, 0, 0, @@ -1633,73 +1747,73 @@ private void InitializeComponent() 0, 0, 0}); - this.FormArsenal_MaxShipNameWidth.Name = "FormArsenal_MaxShipNameWidth"; - this.FormArsenal_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); - this.FormArsenal_MaxShipNameWidth.TabIndex = 10; - this.FormArsenal_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.FormArsenal_MaxShipNameWidth, "Specify maximum width of ship name column."); - this.FormArsenal_MaxShipNameWidth.Value = new decimal(new int[] { + this.FormArsenal_MaxShipNameWidth.Name = "FormArsenal_MaxShipNameWidth"; + this.FormArsenal_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); + this.FormArsenal_MaxShipNameWidth.TabIndex = 10; + this.FormArsenal_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.FormArsenal_MaxShipNameWidth, "Specify maximum width of ship name column."); + this.FormArsenal_MaxShipNameWidth.Value = new decimal(new int[] { 1, 0, 0, 0}); - // - // FormArsenal_BlinkAtCompletion - // - this.FormArsenal_BlinkAtCompletion.AutoSize = true; - this.FormArsenal_BlinkAtCompletion.Location = new System.Drawing.Point(6, 31); - this.FormArsenal_BlinkAtCompletion.Name = "FormArsenal_BlinkAtCompletion"; - this.FormArsenal_BlinkAtCompletion.Size = new System.Drawing.Size(122, 19); - this.FormArsenal_BlinkAtCompletion.TabIndex = 2; - this.FormArsenal_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtCompletion; - this.FormArsenal_BlinkAtCompletion.UseVisualStyleBackColor = true; - // - // FormArsenal_ShowShipName - // - this.FormArsenal_ShowShipName.AutoSize = true; - this.FormArsenal_ShowShipName.Location = new System.Drawing.Point(6, 6); - this.FormArsenal_ShowShipName.Name = "FormArsenal_ShowShipName"; - this.FormArsenal_ShowShipName.Size = new System.Drawing.Size(102, 19); - this.FormArsenal_ShowShipName.TabIndex = 1; - this.FormArsenal_ShowShipName.Text = "Show ship name"; - this.FormArsenal_ShowShipName.UseVisualStyleBackColor = true; - // - // tabPage19 - // - this.tabPage19.Controls.Add(this.label39); - this.tabPage19.Controls.Add(this.label36); - this.tabPage19.Controls.Add(this.FormDock_MaxShipNameWidth); - this.tabPage19.Controls.Add(this.FormDock_BlinkAtCompletion); - this.tabPage19.Location = new System.Drawing.Point(4, 22); - this.tabPage19.Name = "tabPage19"; - this.tabPage19.Padding = new System.Windows.Forms.Padding(3); - this.tabPage19.Size = new System.Drawing.Size(682, 340); - this.tabPage19.TabIndex = 8; - this.tabPage19.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Dock; - this.tabPage19.UseVisualStyleBackColor = true; - // - // label39 - // - this.label39.AutoSize = true; - this.label39.Location = new System.Drawing.Point(6, 32); - this.label39.Name = "label39"; - this.label39.Size = new System.Drawing.Size(101, 15); - this.label39.TabIndex = 12; - this.label39.Text = "Name width:"; - // - // label36 - // - this.label36.AutoSize = true; - this.label36.Location = new System.Drawing.Point(179, 32); - this.label36.Name = "label36"; - this.label36.Size = new System.Drawing.Size(21, 15); - this.label36.TabIndex = 11; - this.label36.Text = "px"; - // - // FormDock_MaxShipNameWidth - // - this.FormDock_MaxShipNameWidth.Location = new System.Drawing.Point(113, 30); - this.FormDock_MaxShipNameWidth.Maximum = new decimal(new int[] { + // + // FormArsenal_BlinkAtCompletion + // + this.FormArsenal_BlinkAtCompletion.AutoSize = true; + this.FormArsenal_BlinkAtCompletion.Location = new System.Drawing.Point(6, 31); + this.FormArsenal_BlinkAtCompletion.Name = "FormArsenal_BlinkAtCompletion"; + this.FormArsenal_BlinkAtCompletion.Size = new System.Drawing.Size(122, 19); + this.FormArsenal_BlinkAtCompletion.TabIndex = 2; + this.FormArsenal_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtCompletion; + this.FormArsenal_BlinkAtCompletion.UseVisualStyleBackColor = true; + // + // FormArsenal_ShowShipName + // + this.FormArsenal_ShowShipName.AutoSize = true; + this.FormArsenal_ShowShipName.Location = new System.Drawing.Point(6, 6); + this.FormArsenal_ShowShipName.Name = "FormArsenal_ShowShipName"; + this.FormArsenal_ShowShipName.Size = new System.Drawing.Size(122, 19); + this.FormArsenal_ShowShipName.TabIndex = 1; + this.FormArsenal_ShowShipName.Text = "Show ship name"; + this.FormArsenal_ShowShipName.UseVisualStyleBackColor = true; + // + // tabPage19 + // + this.tabPage19.Controls.Add(this.label39); + this.tabPage19.Controls.Add(this.label36); + this.tabPage19.Controls.Add(this.FormDock_MaxShipNameWidth); + this.tabPage19.Controls.Add(this.FormDock_BlinkAtCompletion); + this.tabPage19.Location = new System.Drawing.Point(4, 22); + this.tabPage19.Name = "tabPage19"; + this.tabPage19.Padding = new System.Windows.Forms.Padding(3); + this.tabPage19.Size = new System.Drawing.Size(682, 340); + this.tabPage19.TabIndex = 8; + this.tabPage19.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Dock; + this.tabPage19.UseVisualStyleBackColor = true; + // + // label39 + // + this.label39.AutoSize = true; + this.label39.Location = new System.Drawing.Point(6, 32); + this.label39.Name = "label39"; + this.label39.Size = new System.Drawing.Size(83, 15); + this.label39.TabIndex = 12; + this.label39.Text = "Name width:"; + // + // label36 + // + this.label36.AutoSize = true; + this.label36.Location = new System.Drawing.Point(179, 32); + this.label36.Name = "label36"; + this.label36.Size = new System.Drawing.Size(21, 15); + this.label36.TabIndex = 11; + this.label36.Text = "px"; + // + // FormDock_MaxShipNameWidth + // + this.FormDock_MaxShipNameWidth.Location = new System.Drawing.Point(113, 30); + this.FormDock_MaxShipNameWidth.Maximum = new decimal(new int[] { 999, 0, 0, @@ -1709,128 +1823,128 @@ private void InitializeComponent() 0, 0, 0}); - this.FormDock_MaxShipNameWidth.Name = "FormDock_MaxShipNameWidth"; - this.FormDock_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); - this.FormDock_MaxShipNameWidth.TabIndex = 10; - this.FormDock_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.FormDock_MaxShipNameWidth, "Specify maximum width of ship name column."); - this.FormDock_MaxShipNameWidth.Value = new decimal(new int[] { + this.FormDock_MaxShipNameWidth.Name = "FormDock_MaxShipNameWidth"; + this.FormDock_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); + this.FormDock_MaxShipNameWidth.TabIndex = 10; + this.FormDock_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.FormDock_MaxShipNameWidth, "Specify maximum width of ship name column."); + this.FormDock_MaxShipNameWidth.Value = new decimal(new int[] { 1, 0, 0, 0}); - // - // FormDock_BlinkAtCompletion - // - this.FormDock_BlinkAtCompletion.AutoSize = true; - this.FormDock_BlinkAtCompletion.Location = new System.Drawing.Point(6, 6); - this.FormDock_BlinkAtCompletion.Name = "FormDock_BlinkAtCompletion"; - this.FormDock_BlinkAtCompletion.Size = new System.Drawing.Size(122, 19); - this.FormDock_BlinkAtCompletion.TabIndex = 3; - this.FormDock_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtCompletion; - this.FormDock_BlinkAtCompletion.UseVisualStyleBackColor = true; - // - // tabPage16 - // - this.tabPage16.Controls.Add(this.label34); - this.tabPage16.Controls.Add(this.FormHeadquarters_DisplayUseItemID); - this.tabPage16.Controls.Add(this.label26); - this.tabPage16.Controls.Add(this.FormHeadquarters_Visibility); - this.tabPage16.Controls.Add(this.FormHeadquarters_BlinkAtMaximum); - this.tabPage16.Location = new System.Drawing.Point(4, 22); - this.tabPage16.Name = "tabPage16"; - this.tabPage16.Padding = new System.Windows.Forms.Padding(3); - this.tabPage16.Size = new System.Drawing.Size(682, 340); - this.tabPage16.TabIndex = 6; - this.tabPage16.Text = "HQ"; - this.tabPage16.UseVisualStyleBackColor = true; - // - // label34 - // - this.label34.AutoSize = true; - this.label34.Location = new System.Drawing.Point(160, 28); - this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(143, 15); - this.label34.TabIndex = 4; - this.label34.Text = "Other item:"; - // - // FormHeadquarters_DisplayUseItemID - // - this.FormHeadquarters_DisplayUseItemID.FormattingEnabled = true; - this.FormHeadquarters_DisplayUseItemID.Location = new System.Drawing.Point(307, 28); - this.FormHeadquarters_DisplayUseItemID.Name = "FormHeadquarters_DisplayUseItemID"; - this.FormHeadquarters_DisplayUseItemID.Size = new System.Drawing.Size(111, 23); - this.FormHeadquarters_DisplayUseItemID.TabIndex = 3; - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(6, 28); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(100, 15); - this.label26.TabIndex = 2; - this.label26.Text = "Show:"; - // - // FormHeadquarters_Visibility - // - this.FormHeadquarters_Visibility.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + // + // FormDock_BlinkAtCompletion + // + this.FormDock_BlinkAtCompletion.AutoSize = true; + this.FormDock_BlinkAtCompletion.Location = new System.Drawing.Point(6, 6); + this.FormDock_BlinkAtCompletion.Name = "FormDock_BlinkAtCompletion"; + this.FormDock_BlinkAtCompletion.Size = new System.Drawing.Size(122, 19); + this.FormDock_BlinkAtCompletion.TabIndex = 3; + this.FormDock_BlinkAtCompletion.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtCompletion; + this.FormDock_BlinkAtCompletion.UseVisualStyleBackColor = true; + // + // tabPage16 + // + this.tabPage16.Controls.Add(this.label34); + this.tabPage16.Controls.Add(this.FormHeadquarters_DisplayUseItemID); + this.tabPage16.Controls.Add(this.label26); + this.tabPage16.Controls.Add(this.FormHeadquarters_Visibility); + this.tabPage16.Controls.Add(this.FormHeadquarters_BlinkAtMaximum); + this.tabPage16.Location = new System.Drawing.Point(4, 22); + this.tabPage16.Name = "tabPage16"; + this.tabPage16.Padding = new System.Windows.Forms.Padding(3); + this.tabPage16.Size = new System.Drawing.Size(682, 340); + this.tabPage16.TabIndex = 6; + this.tabPage16.Text = "HQ"; + this.tabPage16.UseVisualStyleBackColor = true; + // + // label34 + // + this.label34.AutoSize = true; + this.label34.Location = new System.Drawing.Point(160, 28); + this.label34.Name = "label34"; + this.label34.Size = new System.Drawing.Size(76, 15); + this.label34.TabIndex = 4; + this.label34.Text = "Other item:"; + // + // FormHeadquarters_DisplayUseItemID + // + this.FormHeadquarters_DisplayUseItemID.FormattingEnabled = true; + this.FormHeadquarters_DisplayUseItemID.Location = new System.Drawing.Point(307, 28); + this.FormHeadquarters_DisplayUseItemID.Name = "FormHeadquarters_DisplayUseItemID"; + this.FormHeadquarters_DisplayUseItemID.Size = new System.Drawing.Size(111, 23); + this.FormHeadquarters_DisplayUseItemID.TabIndex = 3; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Location = new System.Drawing.Point(6, 28); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(44, 15); + this.label26.TabIndex = 2; + this.label26.Text = "Show:"; + // + // FormHeadquarters_Visibility + // + this.FormHeadquarters_Visibility.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); - this.FormHeadquarters_Visibility.CheckOnClick = true; - this.FormHeadquarters_Visibility.FormattingEnabled = true; - this.FormHeadquarters_Visibility.IntegralHeight = false; - this.FormHeadquarters_Visibility.Location = new System.Drawing.Point(6, 46); - this.FormHeadquarters_Visibility.Name = "FormHeadquarters_Visibility"; - this.FormHeadquarters_Visibility.Size = new System.Drawing.Size(150, 286); - this.FormHeadquarters_Visibility.TabIndex = 1; - // - // FormHeadquarters_BlinkAtMaximum - // - this.FormHeadquarters_BlinkAtMaximum.AutoSize = true; - this.FormHeadquarters_BlinkAtMaximum.Location = new System.Drawing.Point(6, 6); - this.FormHeadquarters_BlinkAtMaximum.Name = "FormHeadquarters_BlinkAtMaximum"; - this.FormHeadquarters_BlinkAtMaximum.Size = new System.Drawing.Size(183, 19); - this.FormHeadquarters_BlinkAtMaximum.TabIndex = 0; - this.FormHeadquarters_BlinkAtMaximum.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtMaximum; - this.FormHeadquarters_BlinkAtMaximum.UseVisualStyleBackColor = true; - // - // tabPage18 - // - this.tabPage18.Controls.Add(this.label40); - this.tabPage18.Controls.Add(this.label41); - this.tabPage18.Controls.Add(this.FormCompass_MaxShipNameWidth); - this.tabPage18.Controls.Add(this.FormCompass_IsScrollable); - this.tabPage18.Controls.Add(this.FormCompass_CandidateDisplayCount); - this.tabPage18.Controls.Add(this.label2); - this.tabPage18.Location = new System.Drawing.Point(4, 22); - this.tabPage18.Name = "tabPage18"; - this.tabPage18.Padding = new System.Windows.Forms.Padding(3); - this.tabPage18.Size = new System.Drawing.Size(682, 340); - this.tabPage18.TabIndex = 7; - this.tabPage18.Text = global::ElectronicObserver.Window.GeneralRes.Compass; - this.tabPage18.UseVisualStyleBackColor = true; - // - // label40 - // - this.label40.AutoSize = true; - this.label40.Location = new System.Drawing.Point(6, 62); - this.label40.Name = "label40"; - this.label40.Size = new System.Drawing.Size(101, 15); - this.label40.TabIndex = 15; - this.label40.Text = "Name width:"; - // - // label41 - // - this.label41.AutoSize = true; - this.label41.Location = new System.Drawing.Point(179, 62); - this.label41.Name = "label41"; - this.label41.Size = new System.Drawing.Size(21, 15); - this.label41.TabIndex = 14; - this.label41.Text = "px"; - // - // FormCompass_MaxShipNameWidth - // - this.FormCompass_MaxShipNameWidth.Location = new System.Drawing.Point(113, 60); - this.FormCompass_MaxShipNameWidth.Maximum = new decimal(new int[] { + this.FormHeadquarters_Visibility.CheckOnClick = true; + this.FormHeadquarters_Visibility.FormattingEnabled = true; + this.FormHeadquarters_Visibility.IntegralHeight = false; + this.FormHeadquarters_Visibility.Location = new System.Drawing.Point(6, 46); + this.FormHeadquarters_Visibility.Name = "FormHeadquarters_Visibility"; + this.FormHeadquarters_Visibility.Size = new System.Drawing.Size(150, 284); + this.FormHeadquarters_Visibility.TabIndex = 1; + // + // FormHeadquarters_BlinkAtMaximum + // + this.FormHeadquarters_BlinkAtMaximum.AutoSize = true; + this.FormHeadquarters_BlinkAtMaximum.Location = new System.Drawing.Point(6, 6); + this.FormHeadquarters_BlinkAtMaximum.Name = "FormHeadquarters_BlinkAtMaximum"; + this.FormHeadquarters_BlinkAtMaximum.Size = new System.Drawing.Size(183, 19); + this.FormHeadquarters_BlinkAtMaximum.TabIndex = 0; + this.FormHeadquarters_BlinkAtMaximum.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BlinkAtMaximum; + this.FormHeadquarters_BlinkAtMaximum.UseVisualStyleBackColor = true; + // + // tabPage18 + // + this.tabPage18.Controls.Add(this.label40); + this.tabPage18.Controls.Add(this.label41); + this.tabPage18.Controls.Add(this.FormCompass_MaxShipNameWidth); + this.tabPage18.Controls.Add(this.FormCompass_IsScrollable); + this.tabPage18.Controls.Add(this.FormCompass_CandidateDisplayCount); + this.tabPage18.Controls.Add(this.label2); + this.tabPage18.Location = new System.Drawing.Point(4, 22); + this.tabPage18.Name = "tabPage18"; + this.tabPage18.Padding = new System.Windows.Forms.Padding(3); + this.tabPage18.Size = new System.Drawing.Size(682, 340); + this.tabPage18.TabIndex = 7; + this.tabPage18.Text = global::ElectronicObserver.Window.GeneralRes.Compass; + this.tabPage18.UseVisualStyleBackColor = true; + // + // label40 + // + this.label40.AutoSize = true; + this.label40.Location = new System.Drawing.Point(6, 62); + this.label40.Name = "label40"; + this.label40.Size = new System.Drawing.Size(83, 15); + this.label40.TabIndex = 15; + this.label40.Text = "Name width:"; + // + // label41 + // + this.label41.AutoSize = true; + this.label41.Location = new System.Drawing.Point(179, 62); + this.label41.Name = "label41"; + this.label41.Size = new System.Drawing.Size(21, 15); + this.label41.TabIndex = 14; + this.label41.Text = "px"; + // + // FormCompass_MaxShipNameWidth + // + this.FormCompass_MaxShipNameWidth.Location = new System.Drawing.Point(113, 60); + this.FormCompass_MaxShipNameWidth.Maximum = new decimal(new int[] { 999, 0, 0, @@ -1840,32 +1954,32 @@ private void InitializeComponent() 0, 0, 0}); - this.FormCompass_MaxShipNameWidth.Name = "FormCompass_MaxShipNameWidth"; - this.FormCompass_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); - this.FormCompass_MaxShipNameWidth.TabIndex = 13; - this.FormCompass_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.ToolTipInfo.SetToolTip(this.FormCompass_MaxShipNameWidth, "Specify maximum width of ship name column."); - this.FormCompass_MaxShipNameWidth.Value = new decimal(new int[] { + this.FormCompass_MaxShipNameWidth.Name = "FormCompass_MaxShipNameWidth"; + this.FormCompass_MaxShipNameWidth.Size = new System.Drawing.Size(60, 23); + this.FormCompass_MaxShipNameWidth.TabIndex = 13; + this.FormCompass_MaxShipNameWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.ToolTipInfo.SetToolTip(this.FormCompass_MaxShipNameWidth, "Specify maximum width of ship name column."); + this.FormCompass_MaxShipNameWidth.Value = new decimal(new int[] { 1, 0, 0, 0}); - // - // FormCompass_IsScrollable - // - this.FormCompass_IsScrollable.AutoSize = true; - this.FormCompass_IsScrollable.Location = new System.Drawing.Point(6, 35); - this.FormCompass_IsScrollable.Name = "FormCompass_IsScrollable"; - this.FormCompass_IsScrollable.Size = new System.Drawing.Size(144, 19); - this.FormCompass_IsScrollable.TabIndex = 6; - this.FormCompass_IsScrollable.Text = "Show scrollbar"; - this.ToolTipInfo.SetToolTip(this.FormCompass_IsScrollable, "Show scrollbar if the content does not fit." ); - this.FormCompass_IsScrollable.UseVisualStyleBackColor = true; - // - // FormCompass_CandidateDisplayCount - // - this.FormCompass_CandidateDisplayCount.Location = new System.Drawing.Point(143, 6); - this.FormCompass_CandidateDisplayCount.Maximum = new decimal(new int[] { + // + // FormCompass_IsScrollable + // + this.FormCompass_IsScrollable.AutoSize = true; + this.FormCompass_IsScrollable.Location = new System.Drawing.Point(6, 35); + this.FormCompass_IsScrollable.Name = "FormCompass_IsScrollable"; + this.FormCompass_IsScrollable.Size = new System.Drawing.Size(111, 19); + this.FormCompass_IsScrollable.TabIndex = 6; + this.FormCompass_IsScrollable.Text = "Show scrollbar"; + this.ToolTipInfo.SetToolTip(this.FormCompass_IsScrollable, "Show scrollbar if the content does not fit."); + this.FormCompass_IsScrollable.UseVisualStyleBackColor = true; + // + // FormCompass_CandidateDisplayCount + // + this.FormCompass_CandidateDisplayCount.Location = new System.Drawing.Point(143, 6); + this.FormCompass_CandidateDisplayCount.Maximum = new decimal(new int[] { 6, 0, 0, @@ -1884,292 +1998,292 @@ private void InitializeComponent() 0, 0, 0}); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(6, 8); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(131, 15); - this.label2.TabIndex = 3; - this.label2.Text = ConfigRes.CandidateDisplayCount; - // - // tabPage10 - // - this.tabPage10.Controls.Add(this.FormQuest_AllowUserToSortRows); - this.tabPage10.Controls.Add(this.FormQuest_ProgressAutoSaving); - this.tabPage10.Controls.Add(this.label27); - this.tabPage10.Controls.Add(this.groupBox1); - this.tabPage10.Controls.Add(this.FormQuest_ShowRunningOnly); - this.tabPage10.Location = new System.Drawing.Point(4, 22); - this.tabPage10.Name = "tabPage10"; - this.tabPage10.Padding = new System.Windows.Forms.Padding(3); - this.tabPage10.Size = new System.Drawing.Size(682, 340); - this.tabPage10.TabIndex = 2; - this.tabPage10.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Quests; - this.tabPage10.UseVisualStyleBackColor = true; - // - // FormQuest_AllowUserToSortRows - // - this.FormQuest_AllowUserToSortRows.AutoSize = true; - this.FormQuest_AllowUserToSortRows.Location = new System.Drawing.Point(141, 35); - this.FormQuest_AllowUserToSortRows.Name = "FormQuest_AllowUserToSortRows"; - this.FormQuest_AllowUserToSortRows.Size = new System.Drawing.Size(150, 19); - this.FormQuest_AllowUserToSortRows.TabIndex = 6; - this.FormQuest_AllowUserToSortRows.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AllowUserToSortRows; - this.FormQuest_AllowUserToSortRows.UseVisualStyleBackColor = true; - // - // FormQuest_ProgressAutoSaving - // - this.FormQuest_ProgressAutoSaving.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormQuest_ProgressAutoSaving.FormattingEnabled = true; - this.FormQuest_ProgressAutoSaving.Items.AddRange(new object[] { + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 8); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(131, 15); + this.label2.TabIndex = 3; + this.label2.Text = "一度に表示する候補数:"; + // + // tabPage10 + // + this.tabPage10.Controls.Add(this.FormQuest_AllowUserToSortRows); + this.tabPage10.Controls.Add(this.FormQuest_ProgressAutoSaving); + this.tabPage10.Controls.Add(this.label27); + this.tabPage10.Controls.Add(this.groupBox1); + this.tabPage10.Controls.Add(this.FormQuest_ShowRunningOnly); + this.tabPage10.Location = new System.Drawing.Point(4, 22); + this.tabPage10.Name = "tabPage10"; + this.tabPage10.Padding = new System.Windows.Forms.Padding(3); + this.tabPage10.Size = new System.Drawing.Size(682, 340); + this.tabPage10.TabIndex = 2; + this.tabPage10.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Quests; + this.tabPage10.UseVisualStyleBackColor = true; + // + // FormQuest_AllowUserToSortRows + // + this.FormQuest_AllowUserToSortRows.AutoSize = true; + this.FormQuest_AllowUserToSortRows.Location = new System.Drawing.Point(141, 35); + this.FormQuest_AllowUserToSortRows.Name = "FormQuest_AllowUserToSortRows"; + this.FormQuest_AllowUserToSortRows.Size = new System.Drawing.Size(150, 19); + this.FormQuest_AllowUserToSortRows.TabIndex = 6; + this.FormQuest_AllowUserToSortRows.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AllowUserToSortRows; + this.FormQuest_AllowUserToSortRows.UseVisualStyleBackColor = true; + // + // FormQuest_ProgressAutoSaving + // + this.FormQuest_ProgressAutoSaving.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormQuest_ProgressAutoSaving.FormattingEnabled = true; + this.FormQuest_ProgressAutoSaving.Items.AddRange(new object[] { global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Disable, global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Hourly, global::ElectronicObserver.Window.Dialog.ConfigRes.ProgressAutoSaving_Daily}); - this.FormQuest_ProgressAutoSaving.Location = new System.Drawing.Point(269, 6); - this.FormQuest_ProgressAutoSaving.Name = "FormQuest_ProgressAutoSaving"; - this.FormQuest_ProgressAutoSaving.Size = new System.Drawing.Size(121, 23); - this.FormQuest_ProgressAutoSaving.TabIndex = 5; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(138, 9); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(125, 15); - this.label27.TabIndex = 4; - this.label27.Text = ConfigRes.ProgressAutoSaving; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.FormQuest_ShowOther); - this.groupBox1.Controls.Add(this.FormQuest_ShowMonthly); - this.groupBox1.Controls.Add(this.FormQuest_ShowWeekly); - this.groupBox1.Controls.Add(this.FormQuest_ShowDaily); - this.groupBox1.Controls.Add(this.FormQuest_ShowOnce); - this.groupBox1.Location = new System.Drawing.Point(6, 31); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(126, 152); - this.groupBox1.TabIndex = 1; - this.groupBox1.TabStop = false; - this.groupBox1.Text = ConfigRes.Filter; - // - // FormQuest_ShowOther - // - this.FormQuest_ShowOther.AutoSize = true; - this.FormQuest_ShowOther.Location = new System.Drawing.Point(6, 122); - this.FormQuest_ShowOther.Name = "FormQuest_ShowOther"; - this.FormQuest_ShowOther.Size = new System.Drawing.Size(57, 19); - this.FormQuest_ShowOther.TabIndex = 5; - this.FormQuest_ShowOther.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Others; - this.FormQuest_ShowOther.UseVisualStyleBackColor = true; - // - // FormQuest_ShowMonthly - // - this.FormQuest_ShowMonthly.AutoSize = true; - this.FormQuest_ShowMonthly.Location = new System.Drawing.Point(6, 97); - this.FormQuest_ShowMonthly.Name = "FormQuest_ShowMonthly"; - this.FormQuest_ShowMonthly.Size = new System.Drawing.Size(70, 19); - this.FormQuest_ShowMonthly.TabIndex = 4; - this.FormQuest_ShowMonthly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Monthly; - this.FormQuest_ShowMonthly.UseVisualStyleBackColor = true; - // - // FormQuest_ShowWeekly - // - this.FormQuest_ShowWeekly.AutoSize = true; - this.FormQuest_ShowWeekly.Location = new System.Drawing.Point(6, 72); - this.FormQuest_ShowWeekly.Name = "FormQuest_ShowWeekly"; - this.FormQuest_ShowWeekly.Size = new System.Drawing.Size(77, 19); - this.FormQuest_ShowWeekly.TabIndex = 3; - this.FormQuest_ShowWeekly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Weekly; - this.FormQuest_ShowWeekly.UseVisualStyleBackColor = true; - // - // FormQuest_ShowDaily - // - this.FormQuest_ShowDaily.AutoSize = true; - this.FormQuest_ShowDaily.Location = new System.Drawing.Point(6, 47); - this.FormQuest_ShowDaily.Name = "FormQuest_ShowDaily"; - this.FormQuest_ShowDaily.Size = new System.Drawing.Size(62, 19); - this.FormQuest_ShowDaily.TabIndex = 2; - this.FormQuest_ShowDaily.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Daily; - this.FormQuest_ShowDaily.UseVisualStyleBackColor = true; - // - // FormQuest_ShowOnce - // - this.FormQuest_ShowOnce.AutoSize = true; - this.FormQuest_ShowOnce.Location = new System.Drawing.Point(6, 22); - this.FormQuest_ShowOnce.Name = "FormQuest_ShowOnce"; - this.FormQuest_ShowOnce.Size = new System.Drawing.Size(107, 19); - this.FormQuest_ShowOnce.TabIndex = 1; - this.FormQuest_ShowOnce.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.OneTimeOther; - this.FormQuest_ShowOnce.UseVisualStyleBackColor = true; - // - // FormQuest_ShowRunningOnly - // - this.FormQuest_ShowRunningOnly.AutoSize = true; - this.FormQuest_ShowRunningOnly.Location = new System.Drawing.Point(6, 6); - this.FormQuest_ShowRunningOnly.Name = "FormQuest_ShowRunningOnly"; - this.FormQuest_ShowRunningOnly.Size = new System.Drawing.Size(126, 19); - this.FormQuest_ShowRunningOnly.TabIndex = 0; - this.FormQuest_ShowRunningOnly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.UnderWayOnly; - this.FormQuest_ShowRunningOnly.UseVisualStyleBackColor = true; - // - // tabPage13 - // - this.tabPage13.Controls.Add(this.FormShipGroup_ShipNameSortMethod); - this.tabPage13.Controls.Add(this.label25); - this.tabPage13.Controls.Add(this.FormShipGroup_ShowStatusBar); - this.tabPage13.Controls.Add(this.FormShipGroup_AutoUpdate); - this.tabPage13.Location = new System.Drawing.Point(4, 22); - this.tabPage13.Name = "tabPage13"; - this.tabPage13.Padding = new System.Windows.Forms.Padding(3); - this.tabPage13.Size = new System.Drawing.Size(682, 340); - this.tabPage13.TabIndex = 4; - this.tabPage13.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Group; - this.tabPage13.UseVisualStyleBackColor = true; - // - // FormShipGroup_ShipNameSortMethod - // - this.FormShipGroup_ShipNameSortMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormShipGroup_ShipNameSortMethod.FormattingEnabled = true; - this.FormShipGroup_ShipNameSortMethod.Items.AddRange(new object[] { + this.FormQuest_ProgressAutoSaving.Location = new System.Drawing.Point(269, 6); + this.FormQuest_ProgressAutoSaving.Name = "FormQuest_ProgressAutoSaving"; + this.FormQuest_ProgressAutoSaving.Size = new System.Drawing.Size(121, 23); + this.FormQuest_ProgressAutoSaving.TabIndex = 5; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(138, 9); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(125, 15); + this.label27.TabIndex = 4; + this.label27.Text = "任務進捗の自動保存:"; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.FormQuest_ShowOther); + this.groupBox1.Controls.Add(this.FormQuest_ShowMonthly); + this.groupBox1.Controls.Add(this.FormQuest_ShowWeekly); + this.groupBox1.Controls.Add(this.FormQuest_ShowDaily); + this.groupBox1.Controls.Add(this.FormQuest_ShowOnce); + this.groupBox1.Location = new System.Drawing.Point(6, 31); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(126, 152); + this.groupBox1.TabIndex = 1; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "フィルタ"; + // + // FormQuest_ShowOther + // + this.FormQuest_ShowOther.AutoSize = true; + this.FormQuest_ShowOther.Location = new System.Drawing.Point(6, 122); + this.FormQuest_ShowOther.Name = "FormQuest_ShowOther"; + this.FormQuest_ShowOther.Size = new System.Drawing.Size(57, 19); + this.FormQuest_ShowOther.TabIndex = 5; + this.FormQuest_ShowOther.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Others; + this.FormQuest_ShowOther.UseVisualStyleBackColor = true; + // + // FormQuest_ShowMonthly + // + this.FormQuest_ShowMonthly.AutoSize = true; + this.FormQuest_ShowMonthly.Location = new System.Drawing.Point(6, 97); + this.FormQuest_ShowMonthly.Name = "FormQuest_ShowMonthly"; + this.FormQuest_ShowMonthly.Size = new System.Drawing.Size(70, 19); + this.FormQuest_ShowMonthly.TabIndex = 4; + this.FormQuest_ShowMonthly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Monthly; + this.FormQuest_ShowMonthly.UseVisualStyleBackColor = true; + // + // FormQuest_ShowWeekly + // + this.FormQuest_ShowWeekly.AutoSize = true; + this.FormQuest_ShowWeekly.Location = new System.Drawing.Point(6, 72); + this.FormQuest_ShowWeekly.Name = "FormQuest_ShowWeekly"; + this.FormQuest_ShowWeekly.Size = new System.Drawing.Size(77, 19); + this.FormQuest_ShowWeekly.TabIndex = 3; + this.FormQuest_ShowWeekly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Weekly; + this.FormQuest_ShowWeekly.UseVisualStyleBackColor = true; + // + // FormQuest_ShowDaily + // + this.FormQuest_ShowDaily.AutoSize = true; + this.FormQuest_ShowDaily.Location = new System.Drawing.Point(6, 47); + this.FormQuest_ShowDaily.Name = "FormQuest_ShowDaily"; + this.FormQuest_ShowDaily.Size = new System.Drawing.Size(62, 19); + this.FormQuest_ShowDaily.TabIndex = 2; + this.FormQuest_ShowDaily.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Daily; + this.FormQuest_ShowDaily.UseVisualStyleBackColor = true; + // + // FormQuest_ShowOnce + // + this.FormQuest_ShowOnce.AutoSize = true; + this.FormQuest_ShowOnce.Location = new System.Drawing.Point(6, 22); + this.FormQuest_ShowOnce.Name = "FormQuest_ShowOnce"; + this.FormQuest_ShowOnce.Size = new System.Drawing.Size(107, 19); + this.FormQuest_ShowOnce.TabIndex = 1; + this.FormQuest_ShowOnce.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.OneTimeOther; + this.FormQuest_ShowOnce.UseVisualStyleBackColor = true; + // + // FormQuest_ShowRunningOnly + // + this.FormQuest_ShowRunningOnly.AutoSize = true; + this.FormQuest_ShowRunningOnly.Location = new System.Drawing.Point(6, 6); + this.FormQuest_ShowRunningOnly.Name = "FormQuest_ShowRunningOnly"; + this.FormQuest_ShowRunningOnly.Size = new System.Drawing.Size(126, 19); + this.FormQuest_ShowRunningOnly.TabIndex = 0; + this.FormQuest_ShowRunningOnly.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.UnderWayOnly; + this.FormQuest_ShowRunningOnly.UseVisualStyleBackColor = true; + // + // tabPage13 + // + this.tabPage13.Controls.Add(this.FormShipGroup_ShipNameSortMethod); + this.tabPage13.Controls.Add(this.label25); + this.tabPage13.Controls.Add(this.FormShipGroup_ShowStatusBar); + this.tabPage13.Controls.Add(this.FormShipGroup_AutoUpdate); + this.tabPage13.Location = new System.Drawing.Point(4, 22); + this.tabPage13.Name = "tabPage13"; + this.tabPage13.Padding = new System.Windows.Forms.Padding(3); + this.tabPage13.Size = new System.Drawing.Size(682, 340); + this.tabPage13.TabIndex = 4; + this.tabPage13.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Group; + this.tabPage13.UseVisualStyleBackColor = true; + // + // FormShipGroup_ShipNameSortMethod + // + this.FormShipGroup_ShipNameSortMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormShipGroup_ShipNameSortMethod.FormattingEnabled = true; + this.FormShipGroup_ShipNameSortMethod.Items.AddRange(new object[] { global::ElectronicObserver.Window.Dialog.ConfigRes.ShipNameSortMethod_Number, global::ElectronicObserver.Window.Dialog.ConfigRes.ShipNameSortMethod_Alphabet}); - this.FormShipGroup_ShipNameSortMethod.Location = new System.Drawing.Point(106, 56); - this.FormShipGroup_ShipNameSortMethod.Name = "FormShipGroup_ShipNameSortMethod"; - this.FormShipGroup_ShipNameSortMethod.Size = new System.Drawing.Size(121, 23); - this.FormShipGroup_ShipNameSortMethod.TabIndex = 7; - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(6, 59); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(104, 15); - this.label25.TabIndex = 6; - this.label25.Text = ConfigRes.ShipNameSortMethod; - // - // FormShipGroup_ShowStatusBar - // - this.FormShipGroup_ShowStatusBar.AutoSize = true; - this.FormShipGroup_ShowStatusBar.Location = new System.Drawing.Point(6, 31); - this.FormShipGroup_ShowStatusBar.Name = "FormShipGroup_ShowStatusBar"; - this.FormShipGroup_ShowStatusBar.Size = new System.Drawing.Size(143, 19); - this.FormShipGroup_ShowStatusBar.TabIndex = 2; - this.FormShipGroup_ShowStatusBar.Text = "Show status bar"; - this.ToolTipInfo.SetToolTip(this.FormShipGroup_ShowStatusBar, global::ElectronicObserver.Window.Dialog.ConfigRes.ShowStatusbarHint); - this.FormShipGroup_ShowStatusBar.UseVisualStyleBackColor = true; - // - // FormShipGroup_AutoUpdate - // - this.FormShipGroup_AutoUpdate.AutoSize = true; - this.FormShipGroup_AutoUpdate.Location = new System.Drawing.Point(6, 6); - this.FormShipGroup_AutoUpdate.Name = "FormShipGroup_AutoUpdate"; - this.FormShipGroup_AutoUpdate.Size = new System.Drawing.Size(93, 19); - this.FormShipGroup_AutoUpdate.TabIndex = 1; - this.FormShipGroup_AutoUpdate.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AutoUpdate; - this.ToolTipInfo.SetToolTip(this.FormShipGroup_AutoUpdate, global::ElectronicObserver.Window.Dialog.ConfigRes.AutoUpdateHint); - this.FormShipGroup_AutoUpdate.UseVisualStyleBackColor = true; - // - // tabPage20 - // - this.tabPage20.Controls.Add(this.FormBattle_Display7thAsSingleLine); - this.tabPage20.Controls.Add(this.FormBattle_ShowShipTypeInHPBar); - this.tabPage20.Controls.Add(this.FormBattle_ShowHPBar); - this.tabPage20.Controls.Add(this.FormBattle_HideDuringBattle); - this.tabPage20.Controls.Add(this.FormBattle_IsScrollable); - this.tabPage20.Location = new System.Drawing.Point(4, 22); - this.tabPage20.Name = "tabPage20"; - this.tabPage20.Padding = new System.Windows.Forms.Padding(3); - this.tabPage20.Size = new System.Drawing.Size(682, 340); - this.tabPage20.TabIndex = 10; - this.tabPage20.Text = "Combat"; - this.tabPage20.UseVisualStyleBackColor = true; - // - // FormBattle_Display7thAsSingleLine - // - this.FormBattle_Display7thAsSingleLine.AutoSize = true; - this.FormBattle_Display7thAsSingleLine.Location = new System.Drawing.Point(6, 106); - this.FormBattle_Display7thAsSingleLine.Name = "FormBattle_Display7thAsSingleLine"; - this.FormBattle_Display7thAsSingleLine.Size = new System.Drawing.Size(151, 19); - this.FormBattle_Display7thAsSingleLine.TabIndex = 10; - this.FormBattle_Display7thAsSingleLine.Text = "Show 7th ship in the same line"; - this.ToolTipInfo.SetToolTip(this.FormBattle_Display7thAsSingleLine, "Specify placement of the 7th ship in Striking Force fleet mode.\r\n If enabled, it will be displayed under the 6th ship.\r\n If disabled, it will be displayed as flagship of the escort fleet.\r\n Disabling the setting may save vertical space."); - this.FormBattle_Display7thAsSingleLine.UseVisualStyleBackColor = true; - // - // FormBattle_ShowShipTypeInHPBar - // - this.FormBattle_ShowShipTypeInHPBar.AutoSize = true; - this.FormBattle_ShowShipTypeInHPBar.Location = new System.Drawing.Point(6, 81); - this.FormBattle_ShowShipTypeInHPBar.Name = "FormBattle_ShowShipTypeInHPBar"; - this.FormBattle_ShowShipTypeInHPBar.Size = new System.Drawing.Size(171, 19); - this.FormBattle_ShowShipTypeInHPBar.TabIndex = 9; - this.FormBattle_ShowShipTypeInHPBar.Text = "Show ship type on HP bar"; - this.ToolTipInfo.SetToolTip(this.FormBattle_ShowShipTypeInHPBar, "Show ship type (e.g: DD) instead of HP title text."); - this.FormBattle_ShowShipTypeInHPBar.UseVisualStyleBackColor = true; - // - // FormBattle_ShowHPBar - // - this.FormBattle_ShowHPBar.AutoSize = true; - this.FormBattle_ShowHPBar.Location = new System.Drawing.Point(6, 56); - this.FormBattle_ShowHPBar.Name = "FormBattle_ShowHPBar"; - this.FormBattle_ShowHPBar.Size = new System.Drawing.Size(114, 19); - this.FormBattle_ShowHPBar.TabIndex = 8; - this.FormBattle_ShowHPBar.Text = "Show HP bar"; - this.ToolTipInfo.SetToolTip(this.FormBattle_ShowHPBar, "Disabling this option will remove the HP bar and save vertical space." ); - this.FormBattle_ShowHPBar.UseVisualStyleBackColor = true; - // - // FormBattle_HideDuringBattle - // - this.FormBattle_HideDuringBattle.AutoSize = true; - this.FormBattle_HideDuringBattle.Location = new System.Drawing.Point(6, 31); - this.FormBattle_HideDuringBattle.Name = "FormBattle_HideDuringBattle"; - this.FormBattle_HideDuringBattle.Size = new System.Drawing.Size(182, 19); - this.FormBattle_HideDuringBattle.TabIndex = 7; - this.FormBattle_HideDuringBattle.Text = "Hide until the end of battle"; - this.ToolTipInfo.SetToolTip(this.FormBattle_HideDuringBattle, "Avoid spoiler by hiding the battle prediction screen.\r\nYou can temporarily displa" + + this.FormShipGroup_ShipNameSortMethod.Location = new System.Drawing.Point(106, 56); + this.FormShipGroup_ShipNameSortMethod.Name = "FormShipGroup_ShipNameSortMethod"; + this.FormShipGroup_ShipNameSortMethod.Size = new System.Drawing.Size(121, 23); + this.FormShipGroup_ShipNameSortMethod.TabIndex = 7; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(6, 59); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(104, 15); + this.label25.TabIndex = 6; + this.label25.Text = "艦名列のソート順:"; + // + // FormShipGroup_ShowStatusBar + // + this.FormShipGroup_ShowStatusBar.AutoSize = true; + this.FormShipGroup_ShowStatusBar.Location = new System.Drawing.Point(6, 31); + this.FormShipGroup_ShowStatusBar.Name = "FormShipGroup_ShowStatusBar"; + this.FormShipGroup_ShowStatusBar.Size = new System.Drawing.Size(121, 19); + this.FormShipGroup_ShowStatusBar.TabIndex = 2; + this.FormShipGroup_ShowStatusBar.Text = "Show status bar"; + this.ToolTipInfo.SetToolTip(this.FormShipGroup_ShowStatusBar, global::ElectronicObserver.Window.Dialog.ConfigRes.ShowStatusbarHint); + this.FormShipGroup_ShowStatusBar.UseVisualStyleBackColor = true; + // + // FormShipGroup_AutoUpdate + // + this.FormShipGroup_AutoUpdate.AutoSize = true; + this.FormShipGroup_AutoUpdate.Location = new System.Drawing.Point(6, 6); + this.FormShipGroup_AutoUpdate.Name = "FormShipGroup_AutoUpdate"; + this.FormShipGroup_AutoUpdate.Size = new System.Drawing.Size(93, 19); + this.FormShipGroup_AutoUpdate.TabIndex = 1; + this.FormShipGroup_AutoUpdate.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.AutoUpdate; + this.ToolTipInfo.SetToolTip(this.FormShipGroup_AutoUpdate, global::ElectronicObserver.Window.Dialog.ConfigRes.AutoUpdateHint); + this.FormShipGroup_AutoUpdate.UseVisualStyleBackColor = true; + // + // tabPage20 + // + this.tabPage20.Controls.Add(this.FormBattle_Display7thAsSingleLine); + this.tabPage20.Controls.Add(this.FormBattle_ShowShipTypeInHPBar); + this.tabPage20.Controls.Add(this.FormBattle_ShowHPBar); + this.tabPage20.Controls.Add(this.FormBattle_HideDuringBattle); + this.tabPage20.Controls.Add(this.FormBattle_IsScrollable); + this.tabPage20.Location = new System.Drawing.Point(4, 22); + this.tabPage20.Name = "tabPage20"; + this.tabPage20.Padding = new System.Windows.Forms.Padding(3); + this.tabPage20.Size = new System.Drawing.Size(682, 340); + this.tabPage20.TabIndex = 10; + this.tabPage20.Text = "Combat"; + this.tabPage20.UseVisualStyleBackColor = true; + // + // FormBattle_Display7thAsSingleLine + // + this.FormBattle_Display7thAsSingleLine.AutoSize = true; + this.FormBattle_Display7thAsSingleLine.Location = new System.Drawing.Point(6, 106); + this.FormBattle_Display7thAsSingleLine.Name = "FormBattle_Display7thAsSingleLine"; + this.FormBattle_Display7thAsSingleLine.Size = new System.Drawing.Size(206, 19); + this.FormBattle_Display7thAsSingleLine.TabIndex = 10; + this.FormBattle_Display7thAsSingleLine.Text = "Show 7th ship in the same line"; + this.ToolTipInfo.SetToolTip(this.FormBattle_Display7thAsSingleLine, resources.GetString("FormBattle_Display7thAsSingleLine.ToolTip")); + this.FormBattle_Display7thAsSingleLine.UseVisualStyleBackColor = true; + // + // FormBattle_ShowShipTypeInHPBar + // + this.FormBattle_ShowShipTypeInHPBar.AutoSize = true; + this.FormBattle_ShowShipTypeInHPBar.Location = new System.Drawing.Point(6, 81); + this.FormBattle_ShowShipTypeInHPBar.Name = "FormBattle_ShowShipTypeInHPBar"; + this.FormBattle_ShowShipTypeInHPBar.Size = new System.Drawing.Size(176, 19); + this.FormBattle_ShowShipTypeInHPBar.TabIndex = 9; + this.FormBattle_ShowShipTypeInHPBar.Text = "Show ship type on HP bar"; + this.ToolTipInfo.SetToolTip(this.FormBattle_ShowShipTypeInHPBar, "Show ship type (e.g: DD) instead of HP title text."); + this.FormBattle_ShowShipTypeInHPBar.UseVisualStyleBackColor = true; + // + // FormBattle_ShowHPBar + // + this.FormBattle_ShowHPBar.AutoSize = true; + this.FormBattle_ShowHPBar.Location = new System.Drawing.Point(6, 56); + this.FormBattle_ShowHPBar.Name = "FormBattle_ShowHPBar"; + this.FormBattle_ShowHPBar.Size = new System.Drawing.Size(101, 19); + this.FormBattle_ShowHPBar.TabIndex = 8; + this.FormBattle_ShowHPBar.Text = "Show HP bar"; + this.ToolTipInfo.SetToolTip(this.FormBattle_ShowHPBar, "Disabling this option will remove the HP bar and save vertical space."); + this.FormBattle_ShowHPBar.UseVisualStyleBackColor = true; + // + // FormBattle_HideDuringBattle + // + this.FormBattle_HideDuringBattle.AutoSize = true; + this.FormBattle_HideDuringBattle.Location = new System.Drawing.Point(6, 31); + this.FormBattle_HideDuringBattle.Name = "FormBattle_HideDuringBattle"; + this.FormBattle_HideDuringBattle.Size = new System.Drawing.Size(182, 19); + this.FormBattle_HideDuringBattle.TabIndex = 7; + this.FormBattle_HideDuringBattle.Text = "Hide until the end of battle"; + this.ToolTipInfo.SetToolTip(this.FormBattle_HideDuringBattle, "Avoid spoiler by hiding the battle prediction screen.\r\nYou can temporarily displa" + "y it by the right-clicking menu of the battle window."); - this.FormBattle_HideDuringBattle.UseVisualStyleBackColor = true; - // - // FormBattle_IsScrollable - // - this.FormBattle_IsScrollable.AutoSize = true; - this.FormBattle_IsScrollable.Location = new System.Drawing.Point(6, 6); - this.FormBattle_IsScrollable.Name = "FormBattle_IsScrollable"; - this.FormBattle_IsScrollable.Size = new System.Drawing.Size(148, 19); - this.FormBattle_IsScrollable.TabIndex = 6; - this.FormBattle_IsScrollable.Text = "Show scrollbar"; - this.ToolTipInfo.SetToolTip(this.FormBattle_IsScrollable, "Show scrollbar if the content does not fit." ); - this.FormBattle_IsScrollable.UseVisualStyleBackColor = true; - // + this.FormBattle_HideDuringBattle.UseVisualStyleBackColor = true; + // + // FormBattle_IsScrollable + // + this.FormBattle_IsScrollable.AutoSize = true; + this.FormBattle_IsScrollable.Location = new System.Drawing.Point(6, 6); + this.FormBattle_IsScrollable.Name = "FormBattle_IsScrollable"; + this.FormBattle_IsScrollable.Size = new System.Drawing.Size(111, 19); + this.FormBattle_IsScrollable.TabIndex = 6; + this.FormBattle_IsScrollable.Text = "Show scrollbar"; + this.ToolTipInfo.SetToolTip(this.FormBattle_IsScrollable, "Show scrollbar if the content does not fit."); + this.FormBattle_IsScrollable.UseVisualStyleBackColor = true; + // // tabPage12 - // + // this.tabPage12.Controls.Add(this.FormBrowser_SavesBrowserLog); this.tabPage12.Controls.Add(this.FormBrowser_ForceColorProfile); - this.tabPage12.Controls.Add(this.FormBrowser_PreserveDrawingBuffer); - this.tabPage12.Controls.Add(this.label20); - this.tabPage12.Controls.Add(this.FormBrowser_HardwareAccelerationEnabled); - this.tabPage12.Controls.Add(this.FormBrowser_IsDMMreloadDialogDestroyable); - this.tabPage12.Controls.Add(this.FormBrowser_ToolMenuDockStyle); - this.tabPage12.Controls.Add(this.label30); - this.tabPage12.Controls.Add(this.FormBrowser_ZoomFit); - this.tabPage12.Controls.Add(this.FormBrowser_AppliesStyleSheet); - this.tabPage12.Controls.Add(this.FormBrowser_ConfirmAtRefresh); - this.tabPage12.Controls.Add(this.groupBox2); - this.tabPage12.Controls.Add(this.label17); - this.tabPage12.Controls.Add(this.label16); - this.tabPage12.Controls.Add(this.FormBrowser_IsEnabled); - this.tabPage12.Controls.Add(this.FormBrowser_LogInPageURL); - this.tabPage12.Controls.Add(this.FormBrowser_ZoomRate); - this.tabPage12.Controls.Add(this.label15); - this.tabPage12.Location = new System.Drawing.Point(4, 24); - this.tabPage12.Name = "tabPage12"; - this.tabPage12.Padding = new System.Windows.Forms.Padding(3); - this.tabPage12.Size = new System.Drawing.Size(682, 338); - this.tabPage12.TabIndex = 3; - this.tabPage12.Text = "Browser"; - this.tabPage12.UseVisualStyleBackColor = true; + this.tabPage12.Controls.Add(this.FormBrowser_PreserveDrawingBuffer); + this.tabPage12.Controls.Add(this.label20); + this.tabPage12.Controls.Add(this.FormBrowser_HardwareAccelerationEnabled); + this.tabPage12.Controls.Add(this.FormBrowser_IsDMMreloadDialogDestroyable); + this.tabPage12.Controls.Add(this.FormBrowser_ToolMenuDockStyle); + this.tabPage12.Controls.Add(this.label30); + this.tabPage12.Controls.Add(this.FormBrowser_ZoomFit); + this.tabPage12.Controls.Add(this.FormBrowser_AppliesStyleSheet); + this.tabPage12.Controls.Add(this.FormBrowser_ConfirmAtRefresh); + this.tabPage12.Controls.Add(this.groupBox2); + this.tabPage12.Controls.Add(this.label17); + this.tabPage12.Controls.Add(this.label16); + this.tabPage12.Controls.Add(this.FormBrowser_IsEnabled); + this.tabPage12.Controls.Add(this.FormBrowser_LogInPageURL); + this.tabPage12.Controls.Add(this.FormBrowser_ZoomRate); + this.tabPage12.Controls.Add(this.label15); + this.tabPage12.Location = new System.Drawing.Point(4, 22); + this.tabPage12.Name = "tabPage12"; + this.tabPage12.Padding = new System.Windows.Forms.Padding(3); + this.tabPage12.Size = new System.Drawing.Size(682, 340); + this.tabPage12.TabIndex = 3; + this.tabPage12.Text = "Browser"; + this.tabPage12.UseVisualStyleBackColor = true; // // FormBrowser_SavesBrowserLog // @@ -2180,271 +2294,271 @@ private void InitializeComponent() this.FormBrowser_SavesBrowserLog.TabIndex = 17; this.FormBrowser_SavesBrowserLog.Text = "ブラウザのエラーログを保存する *"; this.ToolTipInfo.SetToolTip(this.FormBrowser_SavesBrowserLog, "有効な場合、BrowserLog.log にブラウザのエラーログを保存します。\r\n問題解決に役立つかもしれませんが、書き込みによって動作が重くなる可能性があります" + - "。"); + "。"); this.FormBrowser_SavesBrowserLog.UseVisualStyleBackColor = true; - // + // // FormBrowser_ForceColorProfile - // + // this.FormBrowser_ForceColorProfile.AutoSize = true; - this.FormBrowser_ForceColorProfile.Location = new System.Drawing.Point(6, 249); - this.FormBrowser_ForceColorProfile.Name = "FormBrowser_ForceColorProfile"; - this.FormBrowser_ForceColorProfile.Size = new System.Drawing.Size(216, 19); - this.FormBrowser_ForceColorProfile.TabIndex = 16; - this.FormBrowser_ForceColorProfile.Text = "Force sRGB color profile*"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_ForceColorProfile, "Enable this setting if the browser displays wrong color.\r\n* Changes will take effect after application restart."); - this.FormBrowser_ForceColorProfile.UseVisualStyleBackColor = true; - // - // FormBrowser_PreserveDrawingBuffer - // - this.FormBrowser_PreserveDrawingBuffer.AutoSize = true; - this.FormBrowser_PreserveDrawingBuffer.Location = new System.Drawing.Point(6, 224); - this.FormBrowser_PreserveDrawingBuffer.Name = "FormBrowser_PreserveDrawingBuffer"; - this.FormBrowser_PreserveDrawingBuffer.Size = new System.Drawing.Size(145, 19); - this.FormBrowser_PreserveDrawingBuffer.TabIndex = 15; - this.FormBrowser_PreserveDrawingBuffer.Text = "Preserve drawing buffer *"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_PreserveDrawingBuffer, - "Disabling the setting may improve performance.\r\nNote: if preserve drawing buffer is not enabled, screenshot \r\n" + - "size may be limited to browser window size.\r\n* Changes will take effect after application restart.\r\n"); - this.FormBrowser_PreserveDrawingBuffer.UseVisualStyleBackColor = true; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.ForeColor = System.Drawing.Color.Red; - this.label20.Location = new System.Drawing.Point(9, 308); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(241, 15); - this.label20.TabIndex = 14; - this.label20.Text = "* Some settings will take effect after restart"; - // - // FormBrowser_HardwareAccelerationEnabled - // - this.FormBrowser_HardwareAccelerationEnabled.AutoSize = true; - this.FormBrowser_HardwareAccelerationEnabled.Location = new System.Drawing.Point(6, 199); - this.FormBrowser_HardwareAccelerationEnabled.Name = "FormBrowser_HardwareAccelerationEnabled"; - this.FormBrowser_HardwareAccelerationEnabled.Size = new System.Drawing.Size(230, 19); - this.FormBrowser_HardwareAccelerationEnabled.TabIndex = 13; - this.FormBrowser_HardwareAccelerationEnabled.Text = "HW acceleration *"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_HardwareAccelerationEnabled, - "Use hardware acceleration when available.\r\nNote: Disable this setting if you need to use window capture \r\n" + - "for recording/streaming.\r\n* Changes will take effect after application restart.\r\n"); - this.FormBrowser_HardwareAccelerationEnabled.UseVisualStyleBackColor = true; - // - // FormBrowser_IsDMMreloadDialogDestroyable - // - this.FormBrowser_IsDMMreloadDialogDestroyable.AutoSize = true; - this.FormBrowser_IsDMMreloadDialogDestroyable.Location = new System.Drawing.Point(282, 90); - this.FormBrowser_IsDMMreloadDialogDestroyable.Name = "FormBrowser_IsDMMreloadDialogDestroyable"; - this.FormBrowser_IsDMMreloadDialogDestroyable.Size = new System.Drawing.Size(254, 19); - this.FormBrowser_IsDMMreloadDialogDestroyable.TabIndex = 12; - this.FormBrowser_IsDMMreloadDialogDestroyable.Text = "Hide page reload popup"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_IsDMMreloadDialogDestroyable, "Hide DMM page reload pop-up dialog from appearing in browser window." ); - this.FormBrowser_IsDMMreloadDialogDestroyable.UseVisualStyleBackColor = true; - // - // FormBrowser_ToolMenuDockStyle - // - this.FormBrowser_ToolMenuDockStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormBrowser_ToolMenuDockStyle.FormattingEnabled = true; - this.FormBrowser_ToolMenuDockStyle.Items.AddRange(new object[] { + this.FormBrowser_ForceColorProfile.Location = new System.Drawing.Point(6, 249); + this.FormBrowser_ForceColorProfile.Name = "FormBrowser_ForceColorProfile"; + this.FormBrowser_ForceColorProfile.Size = new System.Drawing.Size(172, 19); + this.FormBrowser_ForceColorProfile.TabIndex = 16; + this.FormBrowser_ForceColorProfile.Text = "Force sRGB color profile*"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_ForceColorProfile, "Enable this setting if the browser displays wrong color.\r\n* Changes will take eff" + + "ect after application restart."); + this.FormBrowser_ForceColorProfile.UseVisualStyleBackColor = true; + // + // FormBrowser_PreserveDrawingBuffer + // + this.FormBrowser_PreserveDrawingBuffer.AutoSize = true; + this.FormBrowser_PreserveDrawingBuffer.Location = new System.Drawing.Point(6, 224); + this.FormBrowser_PreserveDrawingBuffer.Name = "FormBrowser_PreserveDrawingBuffer"; + this.FormBrowser_PreserveDrawingBuffer.Size = new System.Drawing.Size(176, 19); + this.FormBrowser_PreserveDrawingBuffer.TabIndex = 15; + this.FormBrowser_PreserveDrawingBuffer.Text = "Preserve drawing buffer *"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_PreserveDrawingBuffer, resources.GetString("FormBrowser_PreserveDrawingBuffer.ToolTip")); + this.FormBrowser_PreserveDrawingBuffer.UseVisualStyleBackColor = true; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.ForeColor = System.Drawing.Color.Red; + this.label20.Location = new System.Drawing.Point(9, 308); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(268, 15); + this.label20.TabIndex = 14; + this.label20.Text = "* Some settings will take effect after restart"; + // + // FormBrowser_HardwareAccelerationEnabled + // + this.FormBrowser_HardwareAccelerationEnabled.AutoSize = true; + this.FormBrowser_HardwareAccelerationEnabled.Location = new System.Drawing.Point(6, 199); + this.FormBrowser_HardwareAccelerationEnabled.Name = "FormBrowser_HardwareAccelerationEnabled"; + this.FormBrowser_HardwareAccelerationEnabled.Size = new System.Drawing.Size(132, 19); + this.FormBrowser_HardwareAccelerationEnabled.TabIndex = 13; + this.FormBrowser_HardwareAccelerationEnabled.Text = "HW acceleration *"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_HardwareAccelerationEnabled, "Use hardware acceleration when available.\r\nNote: Disable this setting if you need" + + " to use window capture \r\nfor recording/streaming.\r\n* Changes will take effect af" + + "ter application restart.\r\n"); + this.FormBrowser_HardwareAccelerationEnabled.UseVisualStyleBackColor = true; + // + // FormBrowser_IsDMMreloadDialogDestroyable + // + this.FormBrowser_IsDMMreloadDialogDestroyable.AutoSize = true; + this.FormBrowser_IsDMMreloadDialogDestroyable.Location = new System.Drawing.Point(282, 90); + this.FormBrowser_IsDMMreloadDialogDestroyable.Name = "FormBrowser_IsDMMreloadDialogDestroyable"; + this.FormBrowser_IsDMMreloadDialogDestroyable.Size = new System.Drawing.Size(163, 19); + this.FormBrowser_IsDMMreloadDialogDestroyable.TabIndex = 12; + this.FormBrowser_IsDMMreloadDialogDestroyable.Text = "Hide page reload popup"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_IsDMMreloadDialogDestroyable, "Hide DMM page reload pop-up dialog from appearing in browser window."); + this.FormBrowser_IsDMMreloadDialogDestroyable.UseVisualStyleBackColor = true; + // + // FormBrowser_ToolMenuDockStyle + // + this.FormBrowser_ToolMenuDockStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormBrowser_ToolMenuDockStyle.FormattingEnabled = true; + this.FormBrowser_ToolMenuDockStyle.Items.AddRange(new object[] { global::ElectronicObserver.Window.Dialog.ConfigRes.ToolMenuAlignment_Top, global::ElectronicObserver.Window.Dialog.ConfigRes.ToolMenuAlignment_Bottom, global::ElectronicObserver.Window.Dialog.ConfigRes.ToolMenuAlignment_Left, global::ElectronicObserver.Window.Dialog.ConfigRes.ToolMenuAlignment_Right, global::ElectronicObserver.Window.Dialog.ConfigRes.ToolMenuAlignment_Invisible}); - this.FormBrowser_ToolMenuDockStyle.Location = new System.Drawing.Point(149, 88); - this.FormBrowser_ToolMenuDockStyle.Name = "FormBrowser_ToolMenuDockStyle"; - this.FormBrowser_ToolMenuDockStyle.Size = new System.Drawing.Size(70, 23); - this.FormBrowser_ToolMenuDockStyle.TabIndex = 11; - // - // label30 - // - this.label30.AutoSize = true; - this.label30.Location = new System.Drawing.Point(6, 91); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(117, 15); - this.label30.TabIndex = 10; - this.label30.Text = ConfigRes.ToolMenuDockStyle; - // - // FormBrowser_ZoomFit - // - this.FormBrowser_ZoomFit.AutoSize = true; - this.FormBrowser_ZoomFit.Location = new System.Drawing.Point(173, 31); - this.FormBrowser_ZoomFit.Name = "FormBrowser_ZoomFit"; - this.FormBrowser_ZoomFit.Size = new System.Drawing.Size(61, 19); - this.FormBrowser_ZoomFit.TabIndex = 5; - this.FormBrowser_ZoomFit.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ZoomToFit; - this.ToolTipInfo.SetToolTip(this.FormBrowser_ZoomFit, global::ElectronicObserver.Window.Dialog.ConfigRes.FitHint); - this.FormBrowser_ZoomFit.UseVisualStyleBackColor = true; - // - // FormBrowser_AppliesStyleSheet - // - this.FormBrowser_AppliesStyleSheet.AutoSize = true; - this.FormBrowser_AppliesStyleSheet.Location = new System.Drawing.Point(282, 31); - this.FormBrowser_AppliesStyleSheet.Name = "FormBrowser_AppliesStyleSheet"; - this.FormBrowser_AppliesStyleSheet.Size = new System.Drawing.Size(142, 19); - this.FormBrowser_AppliesStyleSheet.TabIndex = 7; - this.FormBrowser_AppliesStyleSheet.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ApplyStyleSheet; - this.ToolTipInfo.SetToolTip(this.FormBrowser_AppliesStyleSheet, global::ElectronicObserver.Window.Dialog.ConfigRes.ApplyStyleSheetHint); - this.FormBrowser_AppliesStyleSheet.UseVisualStyleBackColor = true; - // - // FormBrowser_ConfirmAtRefresh - // - this.FormBrowser_ConfirmAtRefresh.AutoSize = true; - this.FormBrowser_ConfirmAtRefresh.Location = new System.Drawing.Point(282, 6); - this.FormBrowser_ConfirmAtRefresh.Name = "FormBrowser_ConfirmAtRefresh"; - this.FormBrowser_ConfirmAtRefresh.Size = new System.Drawing.Size(148, 19); - this.FormBrowser_ConfirmAtRefresh.TabIndex = 6; - this.FormBrowser_ConfirmAtRefresh.Text = "Refresh confirmation"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_ConfirmAtRefresh, "Displays a confirmation dialog before refreshing the page." ); - this.FormBrowser_ConfirmAtRefresh.UseVisualStyleBackColor = true; - // - // groupBox2 - // - this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.FormBrowser_ToolMenuDockStyle.Location = new System.Drawing.Point(149, 88); + this.FormBrowser_ToolMenuDockStyle.Name = "FormBrowser_ToolMenuDockStyle"; + this.FormBrowser_ToolMenuDockStyle.Size = new System.Drawing.Size(70, 23); + this.FormBrowser_ToolMenuDockStyle.TabIndex = 11; + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Location = new System.Drawing.Point(6, 91); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(117, 15); + this.label30.TabIndex = 10; + this.label30.Text = "ツールメニューの配置:"; + // + // FormBrowser_ZoomFit + // + this.FormBrowser_ZoomFit.AutoSize = true; + this.FormBrowser_ZoomFit.Location = new System.Drawing.Point(173, 31); + this.FormBrowser_ZoomFit.Name = "FormBrowser_ZoomFit"; + this.FormBrowser_ZoomFit.Size = new System.Drawing.Size(61, 19); + this.FormBrowser_ZoomFit.TabIndex = 5; + this.FormBrowser_ZoomFit.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ZoomToFit; + this.ToolTipInfo.SetToolTip(this.FormBrowser_ZoomFit, global::ElectronicObserver.Window.Dialog.ConfigRes.FitHint); + this.FormBrowser_ZoomFit.UseVisualStyleBackColor = true; + // + // FormBrowser_AppliesStyleSheet + // + this.FormBrowser_AppliesStyleSheet.AutoSize = true; + this.FormBrowser_AppliesStyleSheet.Location = new System.Drawing.Point(282, 31); + this.FormBrowser_AppliesStyleSheet.Name = "FormBrowser_AppliesStyleSheet"; + this.FormBrowser_AppliesStyleSheet.Size = new System.Drawing.Size(142, 19); + this.FormBrowser_AppliesStyleSheet.TabIndex = 7; + this.FormBrowser_AppliesStyleSheet.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.ApplyStyleSheet; + this.ToolTipInfo.SetToolTip(this.FormBrowser_AppliesStyleSheet, global::ElectronicObserver.Window.Dialog.ConfigRes.ApplyStyleSheetHint); + this.FormBrowser_AppliesStyleSheet.UseVisualStyleBackColor = true; + // + // FormBrowser_ConfirmAtRefresh + // + this.FormBrowser_ConfirmAtRefresh.AutoSize = true; + this.FormBrowser_ConfirmAtRefresh.Location = new System.Drawing.Point(282, 6); + this.FormBrowser_ConfirmAtRefresh.Name = "FormBrowser_ConfirmAtRefresh"; + this.FormBrowser_ConfirmAtRefresh.Size = new System.Drawing.Size(147, 19); + this.FormBrowser_ConfirmAtRefresh.TabIndex = 6; + this.FormBrowser_ConfirmAtRefresh.Text = "Refresh confirmation"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_ConfirmAtRefresh, "Displays a confirmation dialog before refreshing the page."); + this.FormBrowser_ConfirmAtRefresh.UseVisualStyleBackColor = true; + // + // groupBox2 + // + this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.groupBox2.Controls.Add(this.label42); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotSaveMode); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration); - this.groupBox2.Controls.Add(this.label18); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_PNG); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotPathSearch); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotPath); - this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_JPEG); - this.groupBox2.Location = new System.Drawing.Point(6, 116); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(670, 77); - this.groupBox2.TabIndex = 0; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Screenshot"; - // - // label42 - // - this.label42.AutoSize = true; - this.label42.Location = new System.Drawing.Point(351, 24); - this.label42.Name = "label42"; - this.label42.Size = new System.Drawing.Size(67, 15); - this.label42.TabIndex = 15; - this.label42.Text = "Output:"; - // - // FormBrowser_ScreenShotSaveMode - // - this.FormBrowser_ScreenShotSaveMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.FormBrowser_ScreenShotSaveMode.FormattingEnabled = true; - this.FormBrowser_ScreenShotSaveMode.Items.AddRange(new object[] { + this.groupBox2.Controls.Add(this.label42); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotSaveMode); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration); + this.groupBox2.Controls.Add(this.label18); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_PNG); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotPathSearch); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotPath); + this.groupBox2.Controls.Add(this.FormBrowser_ScreenShotFormat_JPEG); + this.groupBox2.Location = new System.Drawing.Point(6, 116); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(670, 77); + this.groupBox2.TabIndex = 0; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Screenshot"; + // + // label42 + // + this.label42.AutoSize = true; + this.label42.Location = new System.Drawing.Point(351, 24); + this.label42.Name = "label42"; + this.label42.Size = new System.Drawing.Size(52, 15); + this.label42.TabIndex = 15; + this.label42.Text = "Output:"; + // + // FormBrowser_ScreenShotSaveMode + // + this.FormBrowser_ScreenShotSaveMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.FormBrowser_ScreenShotSaveMode.FormattingEnabled = true; + this.FormBrowser_ScreenShotSaveMode.Items.AddRange(new object[] { "To file", "To clipboard", "Both"}); - this.FormBrowser_ScreenShotSaveMode.Location = new System.Drawing.Point(423, 18); - this.FormBrowser_ScreenShotSaveMode.Name = "FormBrowser_ScreenShotSaveMode"; - this.FormBrowser_ScreenShotSaveMode.Size = new System.Drawing.Size(121, 23); - this.FormBrowser_ScreenShotSaveMode.TabIndex = 14; - // - // FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration - // - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.AutoSize = true; - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Enabled = false; - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Location = new System.Drawing.Point(123, 22); - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Name = "FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration"; - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Size = new System.Drawing.Size(182, 19); - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.TabIndex = 13; - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Text = "Avoid compression on Twitter"; - this.ToolTipInfo.SetToolTip(this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration, "Apply modification to images in order to\r\nprevent Twitter from automatically converting them to JPEG."); - this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.UseVisualStyleBackColor = true; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(6, 51); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(48, 15); - this.label18.TabIndex = 2; - this.label18.Text = ConfigRes.SaveLocation + ":"; - // - // FormBrowser_ScreenShotFormat_PNG - // - this.FormBrowser_ScreenShotFormat_PNG.AutoSize = true; - this.FormBrowser_ScreenShotFormat_PNG.Location = new System.Drawing.Point(65, 22); - this.FormBrowser_ScreenShotFormat_PNG.Name = "FormBrowser_ScreenShotFormat_PNG"; - this.FormBrowser_ScreenShotFormat_PNG.Size = new System.Drawing.Size(50, 19); - this.FormBrowser_ScreenShotFormat_PNG.TabIndex = 1; - this.FormBrowser_ScreenShotFormat_PNG.TabStop = true; - this.FormBrowser_ScreenShotFormat_PNG.Text = "PNG"; - this.FormBrowser_ScreenShotFormat_PNG.UseVisualStyleBackColor = true; - this.FormBrowser_ScreenShotFormat_PNG.CheckedChanged += new System.EventHandler(this.FormBrowser_ScreenShotFormat_PNG_CheckedChanged); - // - // FormBrowser_ScreenShotPathSearch - // - this.FormBrowser_ScreenShotPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.FormBrowser_ScreenShotPathSearch.Location = new System.Drawing.Point(632, 47); - this.FormBrowser_ScreenShotPathSearch.Name = "FormBrowser_ScreenShotPathSearch"; - this.FormBrowser_ScreenShotPathSearch.Size = new System.Drawing.Size(32, 23); - this.FormBrowser_ScreenShotPathSearch.TabIndex = 4; - this.FormBrowser_ScreenShotPathSearch.Text = "..."; - this.FormBrowser_ScreenShotPathSearch.UseVisualStyleBackColor = true; - this.FormBrowser_ScreenShotPathSearch.Click += new System.EventHandler(this.FormBrowser_ScreenShotPathSearch_Click); - // - // FormBrowser_ScreenShotPath - // - this.FormBrowser_ScreenShotPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.FormBrowser_ScreenShotSaveMode.Location = new System.Drawing.Point(423, 18); + this.FormBrowser_ScreenShotSaveMode.Name = "FormBrowser_ScreenShotSaveMode"; + this.FormBrowser_ScreenShotSaveMode.Size = new System.Drawing.Size(121, 23); + this.FormBrowser_ScreenShotSaveMode.TabIndex = 14; + // + // FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration + // + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.AutoSize = true; + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Enabled = false; + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Location = new System.Drawing.Point(123, 22); + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Name = "FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration"; + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Size = new System.Drawing.Size(199, 19); + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.TabIndex = 13; + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.Text = "Avoid compression on Twitter"; + this.ToolTipInfo.SetToolTip(this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration, "Apply modification to images in order to\r\nprevent Twitter from automatically conv" + + "erting them to JPEG."); + this.FormBrowser_ScreenShotFormat_AvoidTwitterDeterioration.UseVisualStyleBackColor = true; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(6, 51); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(48, 15); + this.label18.TabIndex = 2; + this.label18.Text = "保存先:"; + // + // FormBrowser_ScreenShotFormat_PNG + // + this.FormBrowser_ScreenShotFormat_PNG.AutoSize = true; + this.FormBrowser_ScreenShotFormat_PNG.Location = new System.Drawing.Point(65, 22); + this.FormBrowser_ScreenShotFormat_PNG.Name = "FormBrowser_ScreenShotFormat_PNG"; + this.FormBrowser_ScreenShotFormat_PNG.Size = new System.Drawing.Size(50, 19); + this.FormBrowser_ScreenShotFormat_PNG.TabIndex = 1; + this.FormBrowser_ScreenShotFormat_PNG.TabStop = true; + this.FormBrowser_ScreenShotFormat_PNG.Text = "PNG"; + this.FormBrowser_ScreenShotFormat_PNG.UseVisualStyleBackColor = true; + this.FormBrowser_ScreenShotFormat_PNG.CheckedChanged += new System.EventHandler(this.FormBrowser_ScreenShotFormat_PNG_CheckedChanged); + // + // FormBrowser_ScreenShotPathSearch + // + this.FormBrowser_ScreenShotPathSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.FormBrowser_ScreenShotPathSearch.Location = new System.Drawing.Point(632, 47); + this.FormBrowser_ScreenShotPathSearch.Name = "FormBrowser_ScreenShotPathSearch"; + this.FormBrowser_ScreenShotPathSearch.Size = new System.Drawing.Size(32, 23); + this.FormBrowser_ScreenShotPathSearch.TabIndex = 4; + this.FormBrowser_ScreenShotPathSearch.Text = "..."; + this.FormBrowser_ScreenShotPathSearch.UseVisualStyleBackColor = true; + this.FormBrowser_ScreenShotPathSearch.Click += new System.EventHandler(this.FormBrowser_ScreenShotPathSearch_Click); + // + // FormBrowser_ScreenShotPath + // + this.FormBrowser_ScreenShotPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.FormBrowser_ScreenShotPath.Location = new System.Drawing.Point(96, 48); - this.FormBrowser_ScreenShotPath.Name = "FormBrowser_ScreenShotPath"; - this.FormBrowser_ScreenShotPath.Size = new System.Drawing.Size(550, 23); - this.FormBrowser_ScreenShotPath.TabIndex = 3; - // - // FormBrowser_ScreenShotFormat_JPEG - // - this.FormBrowser_ScreenShotFormat_JPEG.AutoSize = true; - this.FormBrowser_ScreenShotFormat_JPEG.Location = new System.Drawing.Point(6, 22); - this.FormBrowser_ScreenShotFormat_JPEG.Name = "FormBrowser_ScreenShotFormat_JPEG"; - this.FormBrowser_ScreenShotFormat_JPEG.Size = new System.Drawing.Size(53, 19); - this.FormBrowser_ScreenShotFormat_JPEG.TabIndex = 0; - this.FormBrowser_ScreenShotFormat_JPEG.TabStop = true; - this.FormBrowser_ScreenShotFormat_JPEG.Text = "JPEG"; - this.FormBrowser_ScreenShotFormat_JPEG.UseVisualStyleBackColor = true; - this.FormBrowser_ScreenShotFormat_JPEG.CheckedChanged += new System.EventHandler(this.FormBrowser_ScreenShotFormat_JPEG_CheckedChanged); - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(6, 62); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(72, 15); - this.label17.TabIndex = 8; - this.label17.Text = ConfigRes.LoginURL + ":"; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(148, 32); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(19, 15); - this.label16.TabIndex = 4; - this.label16.Text = "%"; - // - // FormBrowser_IsEnabled - // - this.FormBrowser_IsEnabled.AutoSize = true; - this.FormBrowser_IsEnabled.Location = new System.Drawing.Point(6, 6); - this.FormBrowser_IsEnabled.Name = "FormBrowser_IsEnabled"; - this.FormBrowser_IsEnabled.Size = new System.Drawing.Size(116, 19); - this.FormBrowser_IsEnabled.TabIndex = 0; - this.FormBrowser_IsEnabled.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.EnableBrowser; - this.FormBrowser_IsEnabled.UseVisualStyleBackColor = true; - // - // FormBrowser_LogInPageURL - // - this.FormBrowser_LogInPageURL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.FormBrowser_ScreenShotPath.Location = new System.Drawing.Point(96, 48); + this.FormBrowser_ScreenShotPath.Name = "FormBrowser_ScreenShotPath"; + this.FormBrowser_ScreenShotPath.Size = new System.Drawing.Size(550, 23); + this.FormBrowser_ScreenShotPath.TabIndex = 3; + // + // FormBrowser_ScreenShotFormat_JPEG + // + this.FormBrowser_ScreenShotFormat_JPEG.AutoSize = true; + this.FormBrowser_ScreenShotFormat_JPEG.Location = new System.Drawing.Point(6, 22); + this.FormBrowser_ScreenShotFormat_JPEG.Name = "FormBrowser_ScreenShotFormat_JPEG"; + this.FormBrowser_ScreenShotFormat_JPEG.Size = new System.Drawing.Size(53, 19); + this.FormBrowser_ScreenShotFormat_JPEG.TabIndex = 0; + this.FormBrowser_ScreenShotFormat_JPEG.TabStop = true; + this.FormBrowser_ScreenShotFormat_JPEG.Text = "JPEG"; + this.FormBrowser_ScreenShotFormat_JPEG.UseVisualStyleBackColor = true; + this.FormBrowser_ScreenShotFormat_JPEG.CheckedChanged += new System.EventHandler(this.FormBrowser_ScreenShotFormat_JPEG_CheckedChanged); + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(6, 62); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(72, 15); + this.label17.TabIndex = 8; + this.label17.Text = "ログインURL:"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(148, 32); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(19, 15); + this.label16.TabIndex = 4; + this.label16.Text = "%"; + // + // FormBrowser_IsEnabled + // + this.FormBrowser_IsEnabled.AutoSize = true; + this.FormBrowser_IsEnabled.Location = new System.Drawing.Point(6, 6); + this.FormBrowser_IsEnabled.Name = "FormBrowser_IsEnabled"; + this.FormBrowser_IsEnabled.Size = new System.Drawing.Size(116, 19); + this.FormBrowser_IsEnabled.TabIndex = 0; + this.FormBrowser_IsEnabled.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.EnableBrowser; + this.FormBrowser_IsEnabled.UseVisualStyleBackColor = true; + // + // FormBrowser_LogInPageURL + // + this.FormBrowser_LogInPageURL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.FormBrowser_LogInPageURL.Location = new System.Drawing.Point(82, 59); - this.FormBrowser_LogInPageURL.Name = "FormBrowser_LogInPageURL"; - this.FormBrowser_LogInPageURL.Size = new System.Drawing.Size(594, 23); - this.FormBrowser_LogInPageURL.TabIndex = 9; - // - // FormBrowser_ZoomRate - // - this.FormBrowser_ZoomRate.Location = new System.Drawing.Point(82, 30); - this.FormBrowser_ZoomRate.Maximum = new decimal(new int[] { + this.FormBrowser_LogInPageURL.Location = new System.Drawing.Point(82, 59); + this.FormBrowser_LogInPageURL.Name = "FormBrowser_LogInPageURL"; + this.FormBrowser_LogInPageURL.Size = new System.Drawing.Size(594, 23); + this.FormBrowser_LogInPageURL.TabIndex = 9; + // + // FormBrowser_ZoomRate + // + this.FormBrowser_ZoomRate.Location = new System.Drawing.Point(82, 30); + this.FormBrowser_ZoomRate.Maximum = new decimal(new int[] { 1000, 0, 0, @@ -2463,305 +2577,306 @@ private void InitializeComponent() 0, 0, 0}); - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(6, 32); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(66, 15); - this.label15.TabIndex = 1; - this.label15.Text = "Zoom: "; - // - // tabPage21 - // - this.tabPage21.Controls.Add(this.FormBaseAirCorps_ShowEventMapOnly); - this.tabPage21.Location = new System.Drawing.Point(4, 22); - this.tabPage21.Name = "tabPage21"; - this.tabPage21.Padding = new System.Windows.Forms.Padding(3); - this.tabPage21.Size = new System.Drawing.Size(682, 340); - this.tabPage21.TabIndex = 11; - this.tabPage21.Text = "LBAS"; - this.tabPage21.UseVisualStyleBackColor = true; - // - // FormBaseAirCorps_ShowEventMapOnly - // - this.FormBaseAirCorps_ShowEventMapOnly.AutoSize = true; - this.FormBaseAirCorps_ShowEventMapOnly.Location = new System.Drawing.Point(6, 6); - this.FormBaseAirCorps_ShowEventMapOnly.Name = "FormBaseAirCorps_ShowEventMapOnly"; - this.FormBaseAirCorps_ShowEventMapOnly.Size = new System.Drawing.Size(184, 19); - this.FormBaseAirCorps_ShowEventMapOnly.TabIndex = 0; - this.FormBaseAirCorps_ShowEventMapOnly.Text = "Hide non-event LBAS"; - this.ToolTipInfo.SetToolTip(this.FormBaseAirCorps_ShowEventMapOnly, "Hide LBAS stationed in non-event map during event period." ); - this.FormBaseAirCorps_ShowEventMapOnly.UseVisualStyleBackColor = true; - // - // SubWindow_Json - // - this.SubWindow_Json.Controls.Add(this.SubWindow_Json_SealingPanel); - this.SubWindow_Json.Controls.Add(this.label33); - this.SubWindow_Json.Location = new System.Drawing.Point(4, 22); - this.SubWindow_Json.Name = "SubWindow_Json"; - this.SubWindow_Json.Padding = new System.Windows.Forms.Padding(3); - this.SubWindow_Json.Size = new System.Drawing.Size(682, 340); - this.SubWindow_Json.TabIndex = 9; - this.SubWindow_Json.Text = "JSON"; - this.SubWindow_Json.UseVisualStyleBackColor = true; - // - // SubWindow_Json_SealingPanel - // - this.SubWindow_Json_SealingPanel.BackColor = System.Drawing.SystemColors.Window; - this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_AutoUpdate); - this.SubWindow_Json_SealingPanel.Controls.Add(this.label32); - this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_UpdatesTree); - this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_AutoUpdateFilter); - this.SubWindow_Json_SealingPanel.Controls.Add(this.label31); - this.SubWindow_Json_SealingPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.SubWindow_Json_SealingPanel.Location = new System.Drawing.Point(3, 3); - this.SubWindow_Json_SealingPanel.Margin = new System.Windows.Forms.Padding(0); - this.SubWindow_Json_SealingPanel.Name = "SubWindow_Json_SealingPanel"; - this.SubWindow_Json_SealingPanel.Size = new System.Drawing.Size(676, 334); - this.SubWindow_Json_SealingPanel.TabIndex = 6; - // - // FormJson_AutoUpdate - // - this.FormJson_AutoUpdate.AutoSize = true; - this.FormJson_AutoUpdate.Location = new System.Drawing.Point(3, 3); - this.FormJson_AutoUpdate.Name = "FormJson_AutoUpdate"; - this.FormJson_AutoUpdate.Size = new System.Drawing.Size(93, 19); - this.FormJson_AutoUpdate.TabIndex = 0; - this.FormJson_AutoUpdate.Text = "Refresh automatically"; - this.ToolTipInfo.SetToolTip(this.FormJson_AutoUpdate, "Automatically update the displayed API data.\r\nMay increase processing load."); - this.FormJson_AutoUpdate.UseVisualStyleBackColor = true; - // - // label32 - // - this.label32.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label32.Location = new System.Drawing.Point(885, 3); - this.label32.Name = "label32"; - this.label32.Size = new System.Drawing.Size(144, 44); - this.label32.TabIndex = 5; - this.label32.Text = "※Enabling automatic update may increase processing load"; - this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // FormJson_UpdatesTree - // - this.FormJson_UpdatesTree.AutoSize = true; - this.FormJson_UpdatesTree.Location = new System.Drawing.Point(3, 28); - this.FormJson_UpdatesTree.Name = "FormJson_UpdatesTree"; - this.FormJson_UpdatesTree.Size = new System.Drawing.Size(159, 19); - this.FormJson_UpdatesTree.TabIndex = 1; - this.FormJson_UpdatesTree.Text = "Also update JSON tree view"; - this.ToolTipInfo.SetToolTip(this.FormJson_UpdatesTree, "Automatically update tree content when sending/receiving API data.\r\nIt only works if automatic refresh is enabled. May increase processing load."); - this.FormJson_UpdatesTree.UseVisualStyleBackColor = true; - // - // FormJson_AutoUpdateFilter - // - this.FormJson_AutoUpdateFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(6, 32); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(50, 15); + this.label15.TabIndex = 1; + this.label15.Text = "Zoom: "; + // + // tabPage21 + // + this.tabPage21.Controls.Add(this.FormBaseAirCorps_ShowEventMapOnly); + this.tabPage21.Location = new System.Drawing.Point(4, 22); + this.tabPage21.Name = "tabPage21"; + this.tabPage21.Padding = new System.Windows.Forms.Padding(3); + this.tabPage21.Size = new System.Drawing.Size(682, 340); + this.tabPage21.TabIndex = 11; + this.tabPage21.Text = "LBAS"; + this.tabPage21.UseVisualStyleBackColor = true; + // + // FormBaseAirCorps_ShowEventMapOnly + // + this.FormBaseAirCorps_ShowEventMapOnly.AutoSize = true; + this.FormBaseAirCorps_ShowEventMapOnly.Location = new System.Drawing.Point(6, 6); + this.FormBaseAirCorps_ShowEventMapOnly.Name = "FormBaseAirCorps_ShowEventMapOnly"; + this.FormBaseAirCorps_ShowEventMapOnly.Size = new System.Drawing.Size(150, 19); + this.FormBaseAirCorps_ShowEventMapOnly.TabIndex = 0; + this.FormBaseAirCorps_ShowEventMapOnly.Text = "Hide non-event LBAS"; + this.ToolTipInfo.SetToolTip(this.FormBaseAirCorps_ShowEventMapOnly, "Hide LBAS stationed in non-event map during event period."); + this.FormBaseAirCorps_ShowEventMapOnly.UseVisualStyleBackColor = true; + // + // SubWindow_Json + // + this.SubWindow_Json.Controls.Add(this.SubWindow_Json_SealingPanel); + this.SubWindow_Json.Controls.Add(this.label33); + this.SubWindow_Json.Location = new System.Drawing.Point(4, 22); + this.SubWindow_Json.Name = "SubWindow_Json"; + this.SubWindow_Json.Padding = new System.Windows.Forms.Padding(3); + this.SubWindow_Json.Size = new System.Drawing.Size(682, 340); + this.SubWindow_Json.TabIndex = 9; + this.SubWindow_Json.Text = "JSON"; + this.SubWindow_Json.UseVisualStyleBackColor = true; + // + // SubWindow_Json_SealingPanel + // + this.SubWindow_Json_SealingPanel.BackColor = System.Drawing.SystemColors.Window; + this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_AutoUpdate); + this.SubWindow_Json_SealingPanel.Controls.Add(this.label32); + this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_UpdatesTree); + this.SubWindow_Json_SealingPanel.Controls.Add(this.FormJson_AutoUpdateFilter); + this.SubWindow_Json_SealingPanel.Controls.Add(this.label31); + this.SubWindow_Json_SealingPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.SubWindow_Json_SealingPanel.Location = new System.Drawing.Point(3, 3); + this.SubWindow_Json_SealingPanel.Margin = new System.Windows.Forms.Padding(0); + this.SubWindow_Json_SealingPanel.Name = "SubWindow_Json_SealingPanel"; + this.SubWindow_Json_SealingPanel.Size = new System.Drawing.Size(676, 334); + this.SubWindow_Json_SealingPanel.TabIndex = 6; + // + // FormJson_AutoUpdate + // + this.FormJson_AutoUpdate.AutoSize = true; + this.FormJson_AutoUpdate.Location = new System.Drawing.Point(3, 3); + this.FormJson_AutoUpdate.Name = "FormJson_AutoUpdate"; + this.FormJson_AutoUpdate.Size = new System.Drawing.Size(153, 19); + this.FormJson_AutoUpdate.TabIndex = 0; + this.FormJson_AutoUpdate.Text = "Refresh automatically"; + this.ToolTipInfo.SetToolTip(this.FormJson_AutoUpdate, "Automatically update the displayed API data.\r\nMay increase processing load."); + this.FormJson_AutoUpdate.UseVisualStyleBackColor = true; + // + // label32 + // + this.label32.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label32.Location = new System.Drawing.Point(885, 3); + this.label32.Name = "label32"; + this.label32.Size = new System.Drawing.Size(144, 44); + this.label32.TabIndex = 5; + this.label32.Text = "※Enabling automatic update may increase processing load"; + this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // FormJson_UpdatesTree + // + this.FormJson_UpdatesTree.AutoSize = true; + this.FormJson_UpdatesTree.Location = new System.Drawing.Point(3, 28); + this.FormJson_UpdatesTree.Name = "FormJson_UpdatesTree"; + this.FormJson_UpdatesTree.Size = new System.Drawing.Size(188, 19); + this.FormJson_UpdatesTree.TabIndex = 1; + this.FormJson_UpdatesTree.Text = "Also update JSON tree view"; + this.ToolTipInfo.SetToolTip(this.FormJson_UpdatesTree, "Automatically update tree content when sending/receiving API data.\r\nIt only works" + + " if automatic refresh is enabled. May increase processing load."); + this.FormJson_UpdatesTree.UseVisualStyleBackColor = true; + // + // FormJson_AutoUpdateFilter + // + this.FormJson_AutoUpdateFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.FormJson_AutoUpdateFilter.Location = new System.Drawing.Point(109, 53); - this.FormJson_AutoUpdateFilter.Name = "FormJson_AutoUpdateFilter"; - this.FormJson_AutoUpdateFilter.Size = new System.Drawing.Size(564, 23); - this.FormJson_AutoUpdateFilter.TabIndex = 3; - this.ToolTipInfo.SetToolTip(this.FormJson_AutoUpdateFilter, "Filter that selects API data to be read at automatic update. Supports Regex."); - // - // label31 - // - this.label31.AutoSize = true; - this.label31.Location = new System.Drawing.Point(3, 56); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(85, 15); - this.label31.TabIndex = 2; - this.label31.Text = "Update filter:"; - // - // label33 - // - this.label33.AutoSize = true; - this.label33.Location = new System.Drawing.Point(24, 24); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(253, 15); - this.label33.TabIndex = 0; - this.label33.Text = ConfigRes.HiddenJSON; - // - // tabPage11 - // - this.tabPage11.Controls.Add(this.silenceFullscreen); - this.tabPage11.Controls.Add(this.Notification_Silencio); - this.tabPage11.Controls.Add(this.Notification_AnchorageRepair); - this.tabPage11.Controls.Add(this.label10); - this.tabPage11.Controls.Add(this.Notification_Damage); - this.tabPage11.Controls.Add(this.Notification_Condition); - this.tabPage11.Controls.Add(this.Notification_Repair); - this.tabPage11.Controls.Add(this.Notification_Construction); - this.tabPage11.Controls.Add(this.Notification_Expedition); - this.tabPage11.Location = new System.Drawing.Point(4, 24); - this.tabPage11.Name = "tabPage11"; - this.tabPage11.Padding = new System.Windows.Forms.Padding(3); - this.tabPage11.Size = new System.Drawing.Size(696, 372); - this.tabPage11.TabIndex = 7; - this.tabPage11.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Notification; - this.tabPage11.UseVisualStyleBackColor = true; - // - // silenceFullscreen - // - this.silenceFullscreen.AutoSize = true; - this.silenceFullscreen.Enabled = false; - this.silenceFullscreen.Location = new System.Drawing.Point(8, 207); - this.silenceFullscreen.Name = "silenceFullscreen"; - this.silenceFullscreen.Size = new System.Drawing.Size(160, 19); - this.silenceFullscreen.TabIndex = 8; - this.silenceFullscreen.Text = "Silence while fullscreen"; - this.silenceFullscreen.UseVisualStyleBackColor = true; - this.silenceFullscreen.Visible = false; - // - // Notification_Silencio - // - this.Notification_Silencio.AutoSize = true; - this.Notification_Silencio.Location = new System.Drawing.Point(8, 181); - this.Notification_Silencio.Name = "Notification_Silencio"; - this.Notification_Silencio.Size = new System.Drawing.Size(146, 19); - this.Notification_Silencio.TabIndex = 7; - this.Notification_Silencio.Text = "Mute all notifications"; - this.ToolTipInfo.SetToolTip(this.Notification_Silencio, "Hide/stop all notifications and notification sounds."); - this.Notification_Silencio.UseVisualStyleBackColor = true; - // - // Notification_AnchorageRepair - // - this.Notification_AnchorageRepair.Location = new System.Drawing.Point(8, 152); - this.Notification_AnchorageRepair.Name = "Notification_AnchorageRepair"; - this.Notification_AnchorageRepair.Size = new System.Drawing.Size(150, 23); - this.Notification_AnchorageRepair.TabIndex = 6; - this.Notification_AnchorageRepair.Text = ConfigRes.AnchorageRepairFinish + ConfigRes.NotificationSetting; - this.Notification_AnchorageRepair.UseVisualStyleBackColor = true; - this.Notification_AnchorageRepair.Click += new System.EventHandler(this.Notification_AnchorageRepair_Click); - // - // label10 - // - this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(3, 320); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(238, 15); - this.label10.TabIndex = 5; - this.label10.Text = ConfigRes.ApplyonOK; - // - // Notification_Damage - // - this.Notification_Damage.Location = new System.Drawing.Point(8, 122); - this.Notification_Damage.Name = "Notification_Damage"; - this.Notification_Damage.Size = new System.Drawing.Size(150, 23); - this.Notification_Damage.TabIndex = 4; - this.Notification_Damage.Text = ConfigRes.TaihaAdvance + ConfigRes.NotificationSetting; - this.Notification_Damage.UseVisualStyleBackColor = true; - this.Notification_Damage.Click += new System.EventHandler(this.Notification_Damage_Click); - // - // Notification_Condition - // - this.Notification_Condition.Location = new System.Drawing.Point(8, 93); - this.Notification_Condition.Name = "Notification_Condition"; - this.Notification_Condition.Size = new System.Drawing.Size(150, 23); - this.Notification_Condition.TabIndex = 3; - this.Notification_Condition.Text = ConfigRes.FatigueRestore + ConfigRes.NotificationSetting; - this.Notification_Condition.UseVisualStyleBackColor = true; - this.Notification_Condition.Click += new System.EventHandler(this.Notification_Condition_Click); - // - // Notification_Repair - // - this.Notification_Repair.Location = new System.Drawing.Point(8, 64); - this.Notification_Repair.Name = "Notification_Repair"; - this.Notification_Repair.Size = new System.Drawing.Size(150, 23); - this.Notification_Repair.TabIndex = 2; - this.Notification_Repair.Text = ConfigRes.DockEnd + ConfigRes.NotificationSetting; - this.Notification_Repair.UseVisualStyleBackColor = true; - this.Notification_Repair.Click += new System.EventHandler(this.Notification_Repair_Click); - // - // Notification_Construction - // - this.Notification_Construction.Location = new System.Drawing.Point(8, 35); - this.Notification_Construction.Name = "Notification_Construction"; - this.Notification_Construction.Size = new System.Drawing.Size(150, 23); - this.Notification_Construction.TabIndex = 1; - this.Notification_Construction.Text = ConfigRes.ConstructEnd + ConfigRes.NotificationSetting; - this.Notification_Construction.UseVisualStyleBackColor = true; - this.Notification_Construction.Click += new System.EventHandler(this.Notification_Construction_Click); - // - // Notification_Expedition - // - this.Notification_Expedition.Location = new System.Drawing.Point(8, 6); - this.Notification_Expedition.Name = "Notification_Expedition"; - this.Notification_Expedition.Size = new System.Drawing.Size(150, 23); - this.Notification_Expedition.TabIndex = 0; - this.Notification_Expedition.Text = ConfigRes.ExpedReturn + ConfigRes.NotificationSetting; - this.Notification_Expedition.UseVisualStyleBackColor = true; - this.Notification_Expedition.Click += new System.EventHandler(this.Notification_Expedition_Click); - // - // tabPage17 - // - this.tabPage17.Controls.Add(this.BGMPlayer_SyncBrowserMute); - this.tabPage17.Controls.Add(this.BGMPlayer_SetVolumeAll); - this.tabPage17.Controls.Add(this.BGMPlayer_VolumeAll); - this.tabPage17.Controls.Add(this.BGMPlayer_Enabled); - this.tabPage17.Controls.Add(this.BGMPlayer_ControlGrid); - this.tabPage17.Location = new System.Drawing.Point(4, 24); - this.tabPage17.Name = "tabPage17"; - this.tabPage17.Padding = new System.Windows.Forms.Padding(3); - this.tabPage17.Size = new System.Drawing.Size(696, 372); - this.tabPage17.TabIndex = 9; - this.tabPage17.Text = "BGM"; - this.tabPage17.UseVisualStyleBackColor = true; - // - // BGMPlayer_SyncBrowserMute - // - this.BGMPlayer_SyncBrowserMute.AutoSize = true; - this.BGMPlayer_SyncBrowserMute.Location = new System.Drawing.Point(175, 9); - this.BGMPlayer_SyncBrowserMute.Name = "BGMPlayer_SyncBrowserMute"; - this.BGMPlayer_SyncBrowserMute.Size = new System.Drawing.Size(92, 19); - this.BGMPlayer_SyncBrowserMute.TabIndex = 4; - this.BGMPlayer_SyncBrowserMute.Text = "Mute sync"; - this.ToolTipInfo.SetToolTip(this.BGMPlayer_SyncBrowserMute, "Syncronize mute setting with browser window."); - this.BGMPlayer_SyncBrowserMute.UseVisualStyleBackColor = true; - // - // BGMPlayer_SetVolumeAll - // - this.BGMPlayer_SetVolumeAll.Location = new System.Drawing.Point(353, 6); - this.BGMPlayer_SetVolumeAll.Name = "BGMPlayer_SetVolumeAll"; - this.BGMPlayer_SetVolumeAll.Size = new System.Drawing.Size(100, 23); - this.BGMPlayer_SetVolumeAll.TabIndex = 3; - this.BGMPlayer_SetVolumeAll.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_SetVolumeAll; - this.BGMPlayer_SetVolumeAll.UseVisualStyleBackColor = true; - this.BGMPlayer_SetVolumeAll.Click += new System.EventHandler(this.BGMPlayer_SetVolumeAll_Click); - // - // BGMPlayer_VolumeAll - // - this.BGMPlayer_VolumeAll.Location = new System.Drawing.Point(287, 6); - this.BGMPlayer_VolumeAll.Name = "BGMPlayer_VolumeAll"; - this.BGMPlayer_VolumeAll.Size = new System.Drawing.Size(60, 23); - this.BGMPlayer_VolumeAll.TabIndex = 2; - this.BGMPlayer_VolumeAll.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - this.BGMPlayer_VolumeAll.Value = new decimal(new int[] { + this.FormJson_AutoUpdateFilter.Location = new System.Drawing.Point(109, 53); + this.FormJson_AutoUpdateFilter.Name = "FormJson_AutoUpdateFilter"; + this.FormJson_AutoUpdateFilter.Size = new System.Drawing.Size(564, 23); + this.FormJson_AutoUpdateFilter.TabIndex = 3; + this.ToolTipInfo.SetToolTip(this.FormJson_AutoUpdateFilter, "Filter that selects API data to be read at automatic update. Supports Regex."); + // + // label31 + // + this.label31.AutoSize = true; + this.label31.Location = new System.Drawing.Point(3, 56); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(85, 15); + this.label31.TabIndex = 2; + this.label31.Text = "Update filter:"; + // + // label33 + // + this.label33.AutoSize = true; + this.label33.Location = new System.Drawing.Point(24, 24); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(253, 15); + this.label33.TabIndex = 0; + this.label33.Text = "(非表示です。デバッグメニューを有効にしてください。)"; + // + // tabPage11 + // + this.tabPage11.Controls.Add(this.silenceFullscreen); + this.tabPage11.Controls.Add(this.Notification_Silencio); + this.tabPage11.Controls.Add(this.Notification_AnchorageRepair); + this.tabPage11.Controls.Add(this.label10); + this.tabPage11.Controls.Add(this.Notification_Damage); + this.tabPage11.Controls.Add(this.Notification_Condition); + this.tabPage11.Controls.Add(this.Notification_Repair); + this.tabPage11.Controls.Add(this.Notification_Construction); + this.tabPage11.Controls.Add(this.Notification_Expedition); + this.tabPage11.Location = new System.Drawing.Point(4, 24); + this.tabPage11.Name = "tabPage11"; + this.tabPage11.Padding = new System.Windows.Forms.Padding(3); + this.tabPage11.Size = new System.Drawing.Size(696, 372); + this.tabPage11.TabIndex = 7; + this.tabPage11.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Notification; + this.tabPage11.UseVisualStyleBackColor = true; + // + // silenceFullscreen + // + this.silenceFullscreen.AutoSize = true; + this.silenceFullscreen.Enabled = false; + this.silenceFullscreen.Location = new System.Drawing.Point(8, 207); + this.silenceFullscreen.Name = "silenceFullscreen"; + this.silenceFullscreen.Size = new System.Drawing.Size(160, 19); + this.silenceFullscreen.TabIndex = 8; + this.silenceFullscreen.Text = "Silence while fullscreen"; + this.silenceFullscreen.UseVisualStyleBackColor = true; + this.silenceFullscreen.Visible = false; + // + // Notification_Silencio + // + this.Notification_Silencio.AutoSize = true; + this.Notification_Silencio.Location = new System.Drawing.Point(8, 181); + this.Notification_Silencio.Name = "Notification_Silencio"; + this.Notification_Silencio.Size = new System.Drawing.Size(146, 19); + this.Notification_Silencio.TabIndex = 7; + this.Notification_Silencio.Text = "Mute all notifications"; + this.ToolTipInfo.SetToolTip(this.Notification_Silencio, "Hide/stop all notifications and notification sounds."); + this.Notification_Silencio.UseVisualStyleBackColor = true; + // + // Notification_AnchorageRepair + // + this.Notification_AnchorageRepair.Location = new System.Drawing.Point(8, 152); + this.Notification_AnchorageRepair.Name = "Notification_AnchorageRepair"; + this.Notification_AnchorageRepair.Size = new System.Drawing.Size(150, 23); + this.Notification_AnchorageRepair.TabIndex = 6; + this.Notification_AnchorageRepair.Text = "泊地修理通知の設定..."; + this.Notification_AnchorageRepair.UseVisualStyleBackColor = true; + this.Notification_AnchorageRepair.Click += new System.EventHandler(this.Notification_AnchorageRepair_Click); + // + // label10 + // + this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(3, 314); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(238, 15); + this.label10.TabIndex = 5; + this.label10.Text = "*各ダイアログでOKを押した時点で適用されます"; + // + // Notification_Damage + // + this.Notification_Damage.Location = new System.Drawing.Point(8, 122); + this.Notification_Damage.Name = "Notification_Damage"; + this.Notification_Damage.Size = new System.Drawing.Size(150, 23); + this.Notification_Damage.TabIndex = 4; + this.Notification_Damage.Text = "大破進撃通知の設定..."; + this.Notification_Damage.UseVisualStyleBackColor = true; + this.Notification_Damage.Click += new System.EventHandler(this.Notification_Damage_Click); + // + // Notification_Condition + // + this.Notification_Condition.Location = new System.Drawing.Point(8, 93); + this.Notification_Condition.Name = "Notification_Condition"; + this.Notification_Condition.Size = new System.Drawing.Size(150, 23); + this.Notification_Condition.TabIndex = 3; + this.Notification_Condition.Text = "疲労回復通知の設定..."; + this.Notification_Condition.UseVisualStyleBackColor = true; + this.Notification_Condition.Click += new System.EventHandler(this.Notification_Condition_Click); + // + // Notification_Repair + // + this.Notification_Repair.Location = new System.Drawing.Point(8, 64); + this.Notification_Repair.Name = "Notification_Repair"; + this.Notification_Repair.Size = new System.Drawing.Size(150, 23); + this.Notification_Repair.TabIndex = 2; + this.Notification_Repair.Text = "入渠完了通知の設定..."; + this.Notification_Repair.UseVisualStyleBackColor = true; + this.Notification_Repair.Click += new System.EventHandler(this.Notification_Repair_Click); + // + // Notification_Construction + // + this.Notification_Construction.Location = new System.Drawing.Point(8, 35); + this.Notification_Construction.Name = "Notification_Construction"; + this.Notification_Construction.Size = new System.Drawing.Size(150, 23); + this.Notification_Construction.TabIndex = 1; + this.Notification_Construction.Text = "建造完了通知の設定..."; + this.Notification_Construction.UseVisualStyleBackColor = true; + this.Notification_Construction.Click += new System.EventHandler(this.Notification_Construction_Click); + // + // Notification_Expedition + // + this.Notification_Expedition.Location = new System.Drawing.Point(8, 6); + this.Notification_Expedition.Name = "Notification_Expedition"; + this.Notification_Expedition.Size = new System.Drawing.Size(150, 23); + this.Notification_Expedition.TabIndex = 0; + this.Notification_Expedition.Text = "遠征帰投通知の設定..."; + this.Notification_Expedition.UseVisualStyleBackColor = true; + this.Notification_Expedition.Click += new System.EventHandler(this.Notification_Expedition_Click); + // + // tabPage17 + // + this.tabPage17.Controls.Add(this.BGMPlayer_SyncBrowserMute); + this.tabPage17.Controls.Add(this.BGMPlayer_SetVolumeAll); + this.tabPage17.Controls.Add(this.BGMPlayer_VolumeAll); + this.tabPage17.Controls.Add(this.BGMPlayer_Enabled); + this.tabPage17.Controls.Add(this.BGMPlayer_ControlGrid); + this.tabPage17.Location = new System.Drawing.Point(4, 24); + this.tabPage17.Name = "tabPage17"; + this.tabPage17.Padding = new System.Windows.Forms.Padding(3); + this.tabPage17.Size = new System.Drawing.Size(696, 372); + this.tabPage17.TabIndex = 9; + this.tabPage17.Text = "BGM"; + this.tabPage17.UseVisualStyleBackColor = true; + // + // BGMPlayer_SyncBrowserMute + // + this.BGMPlayer_SyncBrowserMute.AutoSize = true; + this.BGMPlayer_SyncBrowserMute.Location = new System.Drawing.Point(175, 9); + this.BGMPlayer_SyncBrowserMute.Name = "BGMPlayer_SyncBrowserMute"; + this.BGMPlayer_SyncBrowserMute.Size = new System.Drawing.Size(85, 19); + this.BGMPlayer_SyncBrowserMute.TabIndex = 4; + this.BGMPlayer_SyncBrowserMute.Text = "Mute sync"; + this.ToolTipInfo.SetToolTip(this.BGMPlayer_SyncBrowserMute, "Syncronize mute setting with browser window."); + this.BGMPlayer_SyncBrowserMute.UseVisualStyleBackColor = true; + // + // BGMPlayer_SetVolumeAll + // + this.BGMPlayer_SetVolumeAll.Location = new System.Drawing.Point(353, 6); + this.BGMPlayer_SetVolumeAll.Name = "BGMPlayer_SetVolumeAll"; + this.BGMPlayer_SetVolumeAll.Size = new System.Drawing.Size(100, 23); + this.BGMPlayer_SetVolumeAll.TabIndex = 3; + this.BGMPlayer_SetVolumeAll.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_SetVolumeAll; + this.BGMPlayer_SetVolumeAll.UseVisualStyleBackColor = true; + this.BGMPlayer_SetVolumeAll.Click += new System.EventHandler(this.BGMPlayer_SetVolumeAll_Click); + // + // BGMPlayer_VolumeAll + // + this.BGMPlayer_VolumeAll.Location = new System.Drawing.Point(287, 6); + this.BGMPlayer_VolumeAll.Name = "BGMPlayer_VolumeAll"; + this.BGMPlayer_VolumeAll.Size = new System.Drawing.Size(60, 23); + this.BGMPlayer_VolumeAll.TabIndex = 2; + this.BGMPlayer_VolumeAll.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + this.BGMPlayer_VolumeAll.Value = new decimal(new int[] { 100, 0, 0, 0}); - // - // BGMPlayer_Enabled - // - this.BGMPlayer_Enabled.AutoSize = true; - this.BGMPlayer_Enabled.Location = new System.Drawing.Point(8, 9); - this.BGMPlayer_Enabled.Name = "BGMPlayer_Enabled"; - this.BGMPlayer_Enabled.Size = new System.Drawing.Size(161, 19); - this.BGMPlayer_Enabled.TabIndex = 1; - this.BGMPlayer_Enabled.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_Enabled; - this.ToolTipInfo.SetToolTip(this.BGMPlayer_Enabled, global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_Enabled_Tooltip); - this.BGMPlayer_Enabled.UseVisualStyleBackColor = true; - // - // BGMPlayer_ControlGrid - // - this.BGMPlayer_ControlGrid.AllowUserToAddRows = false; - this.BGMPlayer_ControlGrid.AllowUserToDeleteRows = false; - this.BGMPlayer_ControlGrid.AllowUserToResizeColumns = false; - this.BGMPlayer_ControlGrid.AllowUserToResizeRows = false; - this.BGMPlayer_ControlGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + // + // BGMPlayer_Enabled + // + this.BGMPlayer_Enabled.AutoSize = true; + this.BGMPlayer_Enabled.Location = new System.Drawing.Point(8, 9); + this.BGMPlayer_Enabled.Name = "BGMPlayer_Enabled"; + this.BGMPlayer_Enabled.Size = new System.Drawing.Size(161, 19); + this.BGMPlayer_Enabled.TabIndex = 1; + this.BGMPlayer_Enabled.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_Enabled; + this.ToolTipInfo.SetToolTip(this.BGMPlayer_Enabled, global::ElectronicObserver.Window.Dialog.ConfigRes.BGMPlayer_Enabled_Tooltip); + this.BGMPlayer_Enabled.UseVisualStyleBackColor = true; + // + // BGMPlayer_ControlGrid + // + this.BGMPlayer_ControlGrid.AllowUserToAddRows = false; + this.BGMPlayer_ControlGrid.AllowUserToDeleteRows = false; + this.BGMPlayer_ControlGrid.AllowUserToResizeColumns = false; + this.BGMPlayer_ControlGrid.AllowUserToResizeRows = false; + this.BGMPlayer_ControlGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BGMPlayer_ControlGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.BGMPlayer_ControlGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { @@ -2769,251 +2884,206 @@ private void InitializeComponent() this.BGMPlayer_ColumnContent, this.BGMPlayer_ColumnPath, this.BGMPlayer_ColumnSetting}); - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Meiryo UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.BGMPlayer_ControlGrid.DefaultCellStyle = dataGridViewCellStyle1; - this.BGMPlayer_ControlGrid.Location = new System.Drawing.Point(6, 35); - this.BGMPlayer_ControlGrid.MultiSelect = false; - this.BGMPlayer_ControlGrid.Name = "BGMPlayer_ControlGrid"; - this.BGMPlayer_ControlGrid.RowHeadersVisible = false; - this.BGMPlayer_ControlGrid.RowTemplate.Height = 21; - this.BGMPlayer_ControlGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.BGMPlayer_ControlGrid.Size = new System.Drawing.Size(684, 269); - this.BGMPlayer_ControlGrid.TabIndex = 0; - this.BGMPlayer_ControlGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.BGMPlayer_ControlGrid_CellContentClick); - this.BGMPlayer_ControlGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.BGMPlayer_ControlGrid_CellFormatting); - this.BGMPlayer_ControlGrid.CurrentCellDirtyStateChanged += new System.EventHandler(this.BGMPlayer_ControlGrid_CurrentCellDirtyStateChanged); - // - // BGMPlayer_ColumnEnabled - // - this.BGMPlayer_ColumnEnabled.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; - this.BGMPlayer_ColumnEnabled.HeaderText = "○"; - this.BGMPlayer_ColumnEnabled.Name = "BGMPlayer_ColumnEnabled"; - this.BGMPlayer_ColumnEnabled.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.BGMPlayer_ColumnEnabled.Width = 25; - // - // BGMPlayer_ColumnContent - // - this.BGMPlayer_ColumnContent.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.Scene; - this.BGMPlayer_ColumnContent.Name = "BGMPlayer_ColumnContent"; - this.BGMPlayer_ColumnContent.ReadOnly = true; - this.BGMPlayer_ColumnContent.Width = 80; - // - // BGMPlayer_ColumnPath - // - this.BGMPlayer_ColumnPath.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.BGMPlayer_ColumnPath.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.FileName; - this.BGMPlayer_ColumnPath.Name = "BGMPlayer_ColumnPath"; - this.BGMPlayer_ColumnPath.ReadOnly = true; - this.BGMPlayer_ColumnPath.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // BGMPlayer_ColumnSetting - // - this.BGMPlayer_ColumnSetting.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.Settings; - this.BGMPlayer_ColumnSetting.Name = "BGMPlayer_ColumnSetting"; - this.BGMPlayer_ColumnSetting.Width = 40; - // - // ToolTipInfo - // - this.ToolTipInfo.AutoPopDelay = 30000; - this.ToolTipInfo.InitialDelay = 500; - this.ToolTipInfo.ReshowDelay = 100; - this.ToolTipInfo.ShowAlways = true; - // - // ButtonOK - // - this.ButtonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.ButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK; - this.ButtonOK.Location = new System.Drawing.Point(536, 406); - this.ButtonOK.Name = "ButtonOK"; - this.ButtonOK.Size = new System.Drawing.Size(75, 23); - this.ButtonOK.TabIndex = 1; - this.ButtonOK.Text = "OK"; - this.ButtonOK.UseVisualStyleBackColor = true; - // - // ButtonCancel - // - this.ButtonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.ButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.ButtonCancel.Location = new System.Drawing.Point(617, 406); - this.ButtonCancel.Name = "ButtonCancel"; - this.ButtonCancel.Size = new System.Drawing.Size(75, 23); - this.ButtonCancel.TabIndex = 2; - this.ButtonCancel.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Cancel; - this.ButtonCancel.UseVisualStyleBackColor = true; - // - // FolderBrowser - // - this.FolderBrowser.Description = global::ElectronicObserver.Window.Dialog.ConfigRes.FolderSearch; - // - // FontSelector - // - this.FontSelector.ShowEffects = false; - // - // LayoutFileBrowser - // - this.LayoutFileBrowser.Filter = "Layout Archive|*.zip|File|*"; - this.LayoutFileBrowser.Title = global::ElectronicObserver.Window.Dialog.ConfigRes.LayoutSearch; - // - // APIListBrowser - // - this.APIListBrowser.Filter = "Text File|*.txt|File|*"; - this.APIListBrowser.Title = "Open API List File"; - // - // Log_PlayTime - // - this.Log_PlayTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.Log_PlayTime.AutoSize = true; - this.Log_PlayTime.Location = new System.Drawing.Point(7, 410); - this.Log_PlayTime.Name = "Log_PlayTime"; - this.Log_PlayTime.Size = new System.Drawing.Size(62, 15); - this.Log_PlayTime.TabIndex = 3; - this.Log_PlayTime.Text = "Play time"; - // - // PlayTimeTimer - // - this.PlayTimeTimer.Enabled = true; - this.PlayTimeTimer.Interval = 1000; - this.PlayTimeTimer.Tick += new System.EventHandler(this.PlayTimeTimer_Tick); - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(8, 222); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(57, 15); - this.label21.TabIndex = 16; - this.label21.Text = "Theme:"; - // - // comboBox1 - // - this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox1.FormattingEnabled = true; - this.comboBox1.Location = new System.Drawing.Point(71, 222); - this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(80, 23); - this.comboBox1.TabIndex = 17; - this.comboBox1.Items.AddRange(new object[] { - "Light", "Dark", "Custom"}); - this.ToolTipInfo.SetToolTip(this.comboBox1, "Use the specified color theme.\n" + - "Changes will take effect after restart.\n" + - "Custom option will use color values from Settings\\ColorScheme.json"); - // - // FormFleet_AppliesSallyAreaColor - // - this.FormFleet_AppliesSallyAreaColor.AutoSize = true; - this.FormFleet_AppliesSallyAreaColor.Location = new System.Drawing.Point(358, 188); - this.FormFleet_AppliesSallyAreaColor.Name = "FormFleet_AppliesSallyAreaColor"; - this.FormFleet_AppliesSallyAreaColor.Size = new System.Drawing.Size(170, 19); - this.FormFleet_AppliesSallyAreaColor.TabIndex = 23; - this.FormFleet_AppliesSallyAreaColor.Text = "Use fleet tag color"; - this.ToolTipInfo.SetToolTip(this.FormFleet_AppliesSallyAreaColor, "Use fleet tag color as background of each ship name.\nThe colors may not match each event tag colors."); - this.FormFleet_AppliesSallyAreaColor.UseVisualStyleBackColor = true; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Meiryo UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.BGMPlayer_ControlGrid.DefaultCellStyle = dataGridViewCellStyle1; + this.BGMPlayer_ControlGrid.Location = new System.Drawing.Point(6, 35); + this.BGMPlayer_ControlGrid.MultiSelect = false; + this.BGMPlayer_ControlGrid.Name = "BGMPlayer_ControlGrid"; + this.BGMPlayer_ControlGrid.RowHeadersVisible = false; + this.BGMPlayer_ControlGrid.RowTemplate.Height = 21; + this.BGMPlayer_ControlGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.BGMPlayer_ControlGrid.Size = new System.Drawing.Size(684, 263); + this.BGMPlayer_ControlGrid.TabIndex = 0; + this.BGMPlayer_ControlGrid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.BGMPlayer_ControlGrid_CellContentClick); + this.BGMPlayer_ControlGrid.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.BGMPlayer_ControlGrid_CellFormatting); + this.BGMPlayer_ControlGrid.CurrentCellDirtyStateChanged += new System.EventHandler(this.BGMPlayer_ControlGrid_CurrentCellDirtyStateChanged); // - // Control_ShowExpeditionAlertDialog + // BGMPlayer_ColumnEnabled + // + this.BGMPlayer_ColumnEnabled.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; + this.BGMPlayer_ColumnEnabled.HeaderText = "○"; + this.BGMPlayer_ColumnEnabled.Name = "BGMPlayer_ColumnEnabled"; + this.BGMPlayer_ColumnEnabled.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.BGMPlayer_ColumnEnabled.Width = 25; + // + // BGMPlayer_ColumnContent + // + this.BGMPlayer_ColumnContent.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.Scene; + this.BGMPlayer_ColumnContent.Name = "BGMPlayer_ColumnContent"; + this.BGMPlayer_ColumnContent.ReadOnly = true; + this.BGMPlayer_ColumnContent.Width = 80; + // + // BGMPlayer_ColumnPath + // + this.BGMPlayer_ColumnPath.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.BGMPlayer_ColumnPath.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.FileName; + this.BGMPlayer_ColumnPath.Name = "BGMPlayer_ColumnPath"; + this.BGMPlayer_ColumnPath.ReadOnly = true; + this.BGMPlayer_ColumnPath.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // BGMPlayer_ColumnSetting + // + this.BGMPlayer_ColumnSetting.HeaderText = global::ElectronicObserver.Window.Dialog.ConfigRes.Settings; + this.BGMPlayer_ColumnSetting.Name = "BGMPlayer_ColumnSetting"; + this.BGMPlayer_ColumnSetting.Width = 40; + // + // ToolTipInfo + // + this.ToolTipInfo.AutoPopDelay = 30000; + this.ToolTipInfo.InitialDelay = 500; + this.ToolTipInfo.ReshowDelay = 100; + this.ToolTipInfo.ShowAlways = true; + // + // ButtonOK + // + this.ButtonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.ButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK; + this.ButtonOK.Location = new System.Drawing.Point(536, 406); + this.ButtonOK.Name = "ButtonOK"; + this.ButtonOK.Size = new System.Drawing.Size(75, 23); + this.ButtonOK.TabIndex = 1; + this.ButtonOK.Text = "OK"; + this.ButtonOK.UseVisualStyleBackColor = true; + // + // ButtonCancel + // + this.ButtonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.ButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.ButtonCancel.Location = new System.Drawing.Point(617, 406); + this.ButtonCancel.Name = "ButtonCancel"; + this.ButtonCancel.Size = new System.Drawing.Size(75, 23); + this.ButtonCancel.TabIndex = 2; + this.ButtonCancel.Text = global::ElectronicObserver.Window.Dialog.ConfigRes.Cancel; + this.ButtonCancel.UseVisualStyleBackColor = true; + // + // FolderBrowser + // + this.FolderBrowser.Description = global::ElectronicObserver.Window.Dialog.ConfigRes.FolderSearch; + // + // FontSelector + // + this.FontSelector.ShowEffects = false; + // + // LayoutFileBrowser + // + this.LayoutFileBrowser.Filter = "Layout Archive|*.zip|File|*"; + this.LayoutFileBrowser.Title = global::ElectronicObserver.Window.Dialog.ConfigRes.LayoutSearch; + // + // APIListBrowser + // + this.APIListBrowser.Filter = "Text File|*.txt|File|*"; + this.APIListBrowser.Title = "Open API List File"; + // + // Log_PlayTime + // + this.Log_PlayTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Log_PlayTime.AutoSize = true; + this.Log_PlayTime.Location = new System.Drawing.Point(7, 410); + this.Log_PlayTime.Name = "Log_PlayTime"; + this.Log_PlayTime.Size = new System.Drawing.Size(62, 15); + this.Log_PlayTime.TabIndex = 3; + this.Log_PlayTime.Text = "Play time"; + // + // PlayTimeTimer + // + this.PlayTimeTimer.Enabled = true; + this.PlayTimeTimer.Interval = 1000; + this.PlayTimeTimer.Tick += new System.EventHandler(this.PlayTimeTimer_Tick); // - this.Control_ShowExpeditionAlertDialog.AutoSize = true; - this.Control_ShowExpeditionAlertDialog.Location = new System.Drawing.Point(9, 143); - this.Control_ShowExpeditionAlertDialog.Name = "Control_ShowExpeditionAlertDialog"; - this.Control_ShowExpeditionAlertDialog.Size = new System.Drawing.Size(181, 19); - this.Control_ShowExpeditionAlertDialog.TabIndex = 8; - this.Control_ShowExpeditionAlertDialog.Text = "失敗する遠征出撃時に警告する"; - this.ToolTipInfo.SetToolTip(this.Control_ShowExpeditionAlertDialog, "編成条件を満たさない艦隊が遠征に出発したときに、警告ダイアログを表示するかを指定します。"); - this.Control_ShowExpeditionAlertDialog.UseVisualStyleBackColor = true; - // // DialogConfiguration - // + // this.AcceptButton = this.ButtonOK; - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.CancelButton = this.ButtonCancel; - this.ClientSize = new System.Drawing.Size(704, 441); - this.Controls.Add(this.Log_PlayTime); - this.Controls.Add(this.ButtonCancel); - this.Controls.Add(this.ButtonOK); - this.Controls.Add(this.tabControl1); - this.Font = new System.Drawing.Font("Meiryo UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "DialogConfiguration"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = ConfigRes.Settings; - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DialogConfiguration_FormClosed); - this.Load += new System.EventHandler(this.DialogConfiguration_Load); - this.tabControl1.ResumeLayout(false); - this.tabPage1.ResumeLayout(false); - this.tabPage1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.Connection_UpstreamProxyPort)).EndInit(); - this.Connection_PanelSaveData.ResumeLayout(false); - this.Connection_PanelSaveData.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.Connection_Port)).EndInit(); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.UI_RenderingTestChanger)).EndInit(); - this.tabPage3.ResumeLayout(false); - this.tabPage3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.Log_LogLevel)).EndInit(); - this.tabPage4.ResumeLayout(false); - this.tabPage4.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.Control_ConditionBorder)).EndInit(); - this.tabPage5.ResumeLayout(false); - this.tabPage5.PerformLayout(); - this.Debug_SealingPanel.ResumeLayout(false); - this.Debug_SealingPanel.PerformLayout(); - this.tabPage6.ResumeLayout(false); - this.tabPage6.PerformLayout(); - this.tabPage7.ResumeLayout(false); - this.tabControl2.ResumeLayout(false); - this.tabPage8.ResumeLayout(false); - this.tabPage8.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FormFleet_FixedShipNameWidth)).EndInit(); - this.tabPage9.ResumeLayout(false); - this.tabPage9.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FormArsenal_MaxShipNameWidth)).EndInit(); - this.tabPage19.ResumeLayout(false); - this.tabPage19.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FormDock_MaxShipNameWidth)).EndInit(); - this.tabPage16.ResumeLayout(false); - this.tabPage16.PerformLayout(); - this.tabPage18.ResumeLayout(false); - this.tabPage18.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FormCompass_MaxShipNameWidth)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.FormCompass_CandidateDisplayCount)).EndInit(); - this.tabPage10.ResumeLayout(false); - this.tabPage10.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.tabPage13.ResumeLayout(false); - this.tabPage13.PerformLayout(); - this.tabPage20.ResumeLayout(false); - this.tabPage20.PerformLayout(); - this.tabPage12.ResumeLayout(false); - this.tabPage12.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FormBrowser_ZoomRate)).EndInit(); - this.tabPage21.ResumeLayout(false); - this.tabPage21.PerformLayout(); - this.SubWindow_Json.ResumeLayout(false); - this.SubWindow_Json.PerformLayout(); - this.SubWindow_Json_SealingPanel.ResumeLayout(false); - this.SubWindow_Json_SealingPanel.PerformLayout(); - this.tabPage11.ResumeLayout(false); - this.tabPage11.PerformLayout(); - this.tabPage17.ResumeLayout(false); - this.tabPage17.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.BGMPlayer_VolumeAll)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.BGMPlayer_ControlGrid)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.CancelButton = this.ButtonCancel; + this.ClientSize = new System.Drawing.Size(704, 441); + this.Controls.Add(this.Log_PlayTime); + this.Controls.Add(this.ButtonCancel); + this.Controls.Add(this.ButtonOK); + this.Controls.Add(this.tabControl1); + this.Font = new System.Drawing.Font("Meiryo UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "DialogConfiguration"; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "設定"; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DialogConfiguration_FormClosed); + this.Load += new System.EventHandler(this.DialogConfiguration_Load); + this.tabControl1.ResumeLayout(false); + this.tabPage1.ResumeLayout(false); + this.tabPage1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.Connection_UpstreamProxyPort)).EndInit(); + this.Connection_PanelSaveData.ResumeLayout(false); + this.Connection_PanelSaveData.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.Connection_Port)).EndInit(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.UI_RenderingTestChanger)).EndInit(); + this.tabPage3.ResumeLayout(false); + this.tabPage3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.Log_LogLevel)).EndInit(); + this.tabPage4.ResumeLayout(false); + this.tabPage4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.Control_ConditionBorder)).EndInit(); + this.tabPage5.ResumeLayout(false); + this.tabPage5.PerformLayout(); + this.Debug_SealingPanel.ResumeLayout(false); + this.Debug_SealingPanel.PerformLayout(); + this.tabPage6.ResumeLayout(false); + this.tabPage6.PerformLayout(); + this.tabPage7.ResumeLayout(false); + this.tabControl2.ResumeLayout(false); + this.tabPage8.ResumeLayout(false); + this.tabPage8.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FormFleet_FixedShipNameWidth)).EndInit(); + this.tabPage9.ResumeLayout(false); + this.tabPage9.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FormArsenal_MaxShipNameWidth)).EndInit(); + this.tabPage19.ResumeLayout(false); + this.tabPage19.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FormDock_MaxShipNameWidth)).EndInit(); + this.tabPage16.ResumeLayout(false); + this.tabPage16.PerformLayout(); + this.tabPage18.ResumeLayout(false); + this.tabPage18.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FormCompass_MaxShipNameWidth)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.FormCompass_CandidateDisplayCount)).EndInit(); + this.tabPage10.ResumeLayout(false); + this.tabPage10.PerformLayout(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.tabPage13.ResumeLayout(false); + this.tabPage13.PerformLayout(); + this.tabPage20.ResumeLayout(false); + this.tabPage20.PerformLayout(); + this.tabPage12.ResumeLayout(false); + this.tabPage12.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.FormBrowser_ZoomRate)).EndInit(); + this.tabPage21.ResumeLayout(false); + this.tabPage21.PerformLayout(); + this.SubWindow_Json.ResumeLayout(false); + this.SubWindow_Json.PerformLayout(); + this.SubWindow_Json_SealingPanel.ResumeLayout(false); + this.SubWindow_Json_SealingPanel.PerformLayout(); + this.tabPage11.ResumeLayout(false); + this.tabPage11.PerformLayout(); + this.tabPage17.ResumeLayout(false); + this.tabPage17.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.BGMPlayer_VolumeAll)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.BGMPlayer_ControlGrid)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -3240,5 +3310,9 @@ private void InitializeComponent() private System.Windows.Forms.CheckBox FormFleet_AppliesSallyAreaColor; private System.Windows.Forms.CheckBox Control_ShowExpeditionAlertDialog; private System.Windows.Forms.CheckBox FormBrowser_SavesBrowserLog; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.TextBox Control_DiscordRPCMessage; + private System.Windows.Forms.CheckBox Control_EnableDiscordRPC; + private System.Windows.Forms.CheckBox Control_DiscordRPCShowFCM; } } \ No newline at end of file diff --git a/ElectronicObserver/Window/Dialog/DialogConfiguration.cs b/ElectronicObserver/Window/Dialog/DialogConfiguration.cs index bf57d64ad..f84c51166 100644 --- a/ElectronicObserver/Window/Dialog/DialogConfiguration.cs +++ b/ElectronicObserver/Window/Dialog/DialogConfiguration.cs @@ -374,9 +374,13 @@ public void FromConfiguration(Configuration.ConfigurationData config) Control_PowerEngagementForm.SelectedIndex = config.Control.PowerEngagementForm - 1; Control_ShowSallyAreaAlertDialog.Checked = config.Control.ShowSallyAreaAlertDialog; Control_ShowExpeditionAlertDialog.Checked = config.Control.ShowExpeditionAlertDialog; + Control_EnableDiscordRPC.Checked = config.Control.EnableDiscordRPC; + Control_DiscordRPCMessage.Text = config.Control.DiscordRPCMessage; + Control_DiscordRPCShowFCM.Checked = config.Control.DiscordRPCShowFCM; + Control_DiscordRPCMessage.ReadOnly = !config.Control.EnableDiscordRPC; - //[デバッグ] - Debug_EnableDebugMenu.Checked = config.Debug.EnableDebugMenu; + //[デバッグ] + Debug_EnableDebugMenu.Checked = config.Debug.EnableDebugMenu; Debug_LoadAPIListOnLoad.Checked = config.Debug.LoadAPIListOnLoad; Debug_APIListPath.Text = config.Debug.APIListPath; Debug_AlertOnError.Checked = config.Debug.AlertOnError; @@ -596,6 +600,10 @@ public void ToConfiguration(Configuration.ConfigurationData config) config.Control.PowerEngagementForm = Control_PowerEngagementForm.SelectedIndex + 1; config.Control.ShowSallyAreaAlertDialog = Control_ShowSallyAreaAlertDialog.Checked; config.Control.ShowExpeditionAlertDialog = Control_ShowExpeditionAlertDialog.Checked; + config.Control.EnableDiscordRPC = Control_EnableDiscordRPC.Checked; + config.Control.DiscordRPCMessage = Control_DiscordRPCMessage.Text; + config.Control.DiscordRPCShowFCM = Control_DiscordRPCShowFCM.Checked; + //[デバッグ] config.Debug.EnableDebugMenu = Debug_EnableDebugMenu.Checked; @@ -947,6 +955,9 @@ private void UI_RenderingTestChanger_Scroll(object sender, EventArgs e) UI_RenderingTest.Value = UI_RenderingTestChanger.Value; } - - } + private void Control_EnableDiscordRPC_CheckStateChanged(object sender, EventArgs e) + { + Control_DiscordRPCMessage.ReadOnly = !Control_EnableDiscordRPC.Checked; + } + } } diff --git a/ElectronicObserver/Window/Dialog/DialogConfiguration.resx b/ElectronicObserver/Window/Dialog/DialogConfiguration.resx index 872f1d224..eb72c327d 100644 --- a/ElectronicObserver/Window/Dialog/DialogConfiguration.resx +++ b/ElectronicObserver/Window/Dialog/DialogConfiguration.resx @@ -120,6 +120,19 @@ 17, 17 + + Specify placement of the 7th ship in Striking Force fleet mode. + If enabled, it will be displayed under the 6th ship. + If disabled, it will be displayed as flagship of the escort fleet. + Disabling the setting may save vertical space. + + + Disabling the setting may improve performance. +Note: if preserve drawing buffer is not enabled, screenshot +size may be limited to browser window size. +* Changes will take effect after application restart. + + True diff --git a/ElectronicObserver/packages.config b/ElectronicObserver/packages.config index 1dfb96cd7..403c84a2b 100644 --- a/ElectronicObserver/packages.config +++ b/ElectronicObserver/packages.config @@ -1,5 +1,7 @@  + - + + \ No newline at end of file