Beispiel #1
0
 public SoundConfig()
 {
     InitializeComponent();
     config                     = this;
     filePrintFinished          = RegMemory.GetString("soundPrintFinished", filePrintFinished);
     filePrintPaused            = RegMemory.GetString("soundPrintPaused", filePrintPaused);
     fileError                  = RegMemory.GetString("soundError", fileError);
     fileSoundCommand           = RegMemory.GetString("soundSoundCommand", fileSoundCommand);
     checkPrintFinished.Checked = RegMemory.GetBool("soundPrintFinishedEnabled", checkPrintFinished.Checked);
     checkPrintPaused.Checked   = RegMemory.GetBool("soundPrintPausedEnabled", checkPrintPaused.Checked);
     checkError.Checked         = RegMemory.GetBool("soundErrorEnabled", checkError.Checked);
     checkSoundCommand.Checked  = RegMemory.GetBool("soundSoundCommandEnabled", checkSoundCommand.Checked);
     translate();
     Main.main.languageChanged += translate;
 }
Beispiel #2
0
 public SoundConfig()
 {
     InitializeComponent();
     config = this;
     filePrintFinished = RegMemory.GetString("soundPrintFinished", filePrintFinished);
     filePrintPaused = RegMemory.GetString("soundPrintPaused", filePrintPaused);
     fileError = RegMemory.GetString("soundError", fileError);
     fileSoundCommand = RegMemory.GetString("soundSoundCommand", fileSoundCommand);
     checkPrintFinished.Checked = RegMemory.GetBool("soundPrintFinishedEnabled", checkPrintFinished.Checked);
     checkPrintPaused.Checked = RegMemory.GetBool("soundPrintPausedEnabled", checkPrintPaused.Checked);
     checkError.Checked = RegMemory.GetBool("soundErrorEnabled", checkError.Checked);
     checkSoundCommand.Checked = RegMemory.GetBool("soundSoundCommandEnabled", checkSoundCommand.Checked);
     translate();
     Main.main.languageChanged += translate;
 }
Beispiel #3
0
 public SoundConfig()
 {
     InitializeComponent();
     config = this;
     filePrintFinished = RegMemory.GetString("soundPrintFinished", filePrintFinished);
     filePrintPaused = RegMemory.GetString("soundPrintPaused", filePrintPaused);
     fileError = RegMemory.GetString("soundError", fileError);
     fileSoundCommand = RegMemory.GetString("soundSoundCommand", fileSoundCommand);
     checkPrintFinished.Checked = RegMemory.GetBool("soundPrintFinishedEnabled", checkPrintFinished.Checked);
     checkPrintPaused.Checked = RegMemory.GetBool("soundPrintPausedEnabled", checkPrintPaused.Checked);
     checkError.Checked = RegMemory.GetBool("soundErrorEnabled", checkError.Checked);
     checkSoundCommand.Checked = RegMemory.GetBool("soundSoundCommandEnabled", checkSoundCommand.Checked);
     labelPrintFinished.Text = "File:" + filePrintFinished;
     labelPrintPaused.Text = "File:" + filePrintPaused;
     labelError.Text = "File:" + fileError;
     labelSoundCommand.Text = "File:" + fileSoundCommand;
 }