You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EveChatNotifier/FormMain.cs
+30-10Lines changed: 30 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ public partial class FormMain : Form
18
18
{
19
19
privateTimert=newTimer();
20
20
privateList<LogFile>_LogFiles=newList<LogFile>();
21
-
privatestaticboolisPlaying=false;
22
21
privateDateTimelastNotified=DateTime.Now;
23
22
privatePopupNotifierNotifier=newPopupNotifier();
24
23
privateSettings_Settings=null;
24
+
privateIWavePlayerwp=newWaveOut();
25
25
26
26
privatestringPathEveChatLogs;
27
27
privatestringPathMoveOldLogs;
@@ -56,6 +56,22 @@ public FormMain()
56
56
Properties.Settings.Default.Reload();
57
57
}
58
58
59
+
// first launch ask for move logs
60
+
if(!Properties.Settings.Default.AskedToMoveLogs)
61
+
{
62
+
if(!Properties.Settings.Default.MoveOldLogs)
63
+
{
64
+
if(MessageBox.Show(string.Format("Do you want to let the program move your old log files?{0}{0}Moving the log files is a huge performance boost and highly recommended! If you do not move the logs, this program could need a lot of cpu power.{0}{0}This can be enabled/disabled in the settings at any time.",Environment.NewLine),"Activate log moving",MessageBoxButtons.YesNo,MessageBoxIcon.Question,MessageBoxDefaultButton.Button1)==DialogResult.Yes)
tbHelp.Text="Path to the folder where all eve chat logs are. These files are going to be monitored.";
142
+
tbHelp.Text="Path to the folder where all eve chat logs are located in. This folder is watched for new logs and each log is monitored by this tool for changes.";
tbHelp.Text="Path to the file this program is writing its logfile into. All actions done by this tool are protocolled in there.";
147
+
tbHelp.Text="Path to the file this program is writing its logfile into. All actions done by this tool are protocolled in there. (You can see all actions in here - even possible errors for support reasons.)";
tbHelp.Text="If activated the programm tries to move all eve chat log files to the old folder directory.";
152
+
tbHelp.Text="If activated the programm tries to move all eve chat log files to the old folder directory. Highly recommended to save computer ressources!";
tbHelp.Text=string.Format("The sound file which should be played. Please keep in mind that this sound should be short because there is no abort function!{0}Supported files are e.g.: mp3, wav, ogg",Environment.NewLine);
162
+
tbHelp.Text=string.Format("The sound file which should be played. Keep in mind that as long the playback needs there will be no new notifications!{0}Supported files are e.g.: mp3, wav, ogg",Environment.NewLine);
tbHelp.Text="Here you can add additional keywords you want to use for notification. Please seperate them using ','! Not case sensitive.";
167
+
tbHelp.Text="Here you can add additional keywords you want to use for notification. Please seperate them using ',' - not case sensitive. (e.g. if you have nickname everyone uses";
0 commit comments