diff --git a/AboutBox1.Designer.cs b/AboutBox1.Designer.cs index 915e045..a171fc1 100644 --- a/AboutBox1.Designer.cs +++ b/AboutBox1.Designer.cs @@ -76,7 +76,7 @@ private void InitializeComponent() this.logoPictureBox.Name = "logoPictureBox"; this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 4); this.logoPictureBox.TabStop = false; - this.logoPictureBox.Click += new System.EventHandler(this.logoPictureBox_Click); + this.logoPictureBox.Click += new System.EventHandler(this.LogoPictureBox_Click); // // labelProductName // diff --git a/AboutBox1.cs b/AboutBox1.cs index ac16341..398ed43 100644 --- a/AboutBox1.cs +++ b/AboutBox1.cs @@ -129,9 +129,14 @@ private void Button_donate_pp_Click(object sender, EventArgs e) Process.Start(psinfo); } - private void logoPictureBox_Click(object sender, EventArgs e) + /// + /// Путь к расположению программы + /// + /// + /// + private void LogoPictureBox_Click(object sender, EventArgs e) { - MessageBox.Show(Application.StartupPath); + MessageBox.Show(LocRes.GetString("copy_clip") + Environment.NewLine + Application.StartupPath,LocRes.GetString("app_path")); Clipboard.Clear(); Clipboard.SetText(Application.StartupPath); } diff --git a/FirehoseFinder.csproj b/FirehoseFinder.csproj index fad98ea..31dcb7d 100644 --- a/FirehoseFinder.csproj +++ b/FirehoseFinder.csproj @@ -15,7 +15,7 @@ true - ftp://fhf.mywebcommunity.org/fhf.mywebcommunity.org/ + C:\Users\serge\Desktop\Publishing\ true Web true @@ -36,8 +36,8 @@ publish.htm false true - 2 - 22.2.3.2 + 1 + 22.2.4.1 false true true @@ -114,6 +114,7 @@ prompt true + Properties\app.manifest @@ -236,8 +237,8 @@ Write_Sectors.cs - - + + AboutBox1.cs @@ -333,7 +334,7 @@ Always - + PreserveNewest @@ -346,6 +347,16 @@ + + False + + + + + Include + True + Satellite + False diff --git a/Form1.cs b/Form1.cs index 93cdcde..eb2f95c 100644 --- a/Form1.cs +++ b/Form1.cs @@ -1769,7 +1769,7 @@ public void BotSendMes(string send_message, string version) string message_not_mark = send_message.Replace("_", "\\_") .Replace("*", "\\*") .Replace("[", "\\[") - .Replace("`", "\\`") + .Replace("`", "\\`");/* .Replace("]", "\\]") .Replace("(", "\\(") .Replace(")", "\\)") @@ -1784,7 +1784,7 @@ public void BotSendMes(string send_message, string version) .Replace("}", "\\}") .Replace(".", "\\.") .Replace("!", "\\!") - .Replace("\"", "\\\""); + .Replace("\"", "\\\"");*/ string correct_mess = message_not_mark; //Ограничение на размер сообщения. Оставляем только конец. if (message_not_mark.Length >= 4096) @@ -1793,8 +1793,8 @@ public void BotSendMes(string send_message, string version) .Insert(0, "..."); } //Устанавливаем моношрифт - correct_mess=correct_mess.Insert(0, "`") - .Insert(correct_mess.LastIndexOf('\u000A'), "`"); + //correct_mess=correct_mess.Insert(0, "`") + // .Insert(correct_mess.LastIndexOf('\u000A'), "`"); var mybot = new TelegramBotApi.TelegramBotClient(Resources.bot); long chat = -1001227261414; try diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index bf7ca64..3814111 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ // Можно задать все значения или принять номера сборки и редакции по умолчанию // используя "*", как показано ниже: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("22.2.3.2")] -[assembly: AssemblyFileVersion("22.2.3.2")] +[assembly: AssemblyVersion("22.2.4.1")] +[assembly: AssemblyFileVersion("22.2.4.1")] [assembly: NeutralResourcesLanguage("ru-RU")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index ad2144d..72d8f0c 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -69,6 +69,15 @@ internal static string about { } } + /// + /// Ищет локализованную строку, похожую на Путь установки программы. + /// + internal static string app_path { + get { + return ResourceManager.GetString("app_path", resourceCulture); + } + } + /// /// Ищет локализованную строку, похожую на 1577249282:AAFIZncf-90YpwMk_I7ad_YNwh4tnr5FXHo. /// @@ -78,6 +87,15 @@ internal static string bot { } } + /// + /// Ищет локализованную строку, похожую на Скопировано в буфер. + /// + internal static string copy_clip { + get { + return ResourceManager.GetString("copy_clip", resourceCulture); + } + } + /// /// Поиск локализованного ресурса типа System.Drawing.Icon, аналогичного (Значок). /// diff --git a/Properties/Resources.en.resx b/Properties/Resources.en.resx index 5357fc2..2d22a75 100644 --- a/Properties/Resources.en.resx +++ b/Properties/Resources.en.resx @@ -121,6 +121,14 @@ About О программе + + Workdir application + Путь установки программы + + + Copy to clipboard + Скопировано в буфер + A restart of the application is required for the change of the selected language to take effect. Click "Ok" to restart the application now or "Cancel" for the changes to take effect at the next launch. Для вступления в силу изменения выбранного языка требуется перезапуск приложения. Нажмите "Ок" для перезагрузки приложения сейчас или "Отмена" для вступления изменений в силу при следующем запуске. diff --git a/Properties/Resources.resx b/Properties/Resources.resx index e604f67..c75767f 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -120,10 +120,16 @@ О программе + + Путь установки программы + ..\Resources\bot.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;windows-1251 + + Скопировано в буфер + ..\resources\fh.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a