Beispiel #1
0
        public void ShowSettings()
        {
            if (settingsWindow == null)
            {
                StopWatching();

                settingsWindow         = new OctoprintUploader();
                settingsWindow.Closed += Window_Closed;
                settingsWindow.Show();
            }
        }
Beispiel #2
0
 private void Window_Closed(object sender, EventArgs e)
 {
     StartWatching();
     settingsWindow = null;
 }