Beispiel #1
0
 public WindowConfig(ISettings settings)
 {
     stayOnTop      = new SettingBoolEntry(settings, false, "StayOnTop", "Config", "Window");
     topMost        = new SettingBoolEntry(settings, false, "TopMost", "Config", "Window");
     position       = new SettingPointEntry(settings, new System.Drawing.Point(256, 256), "Position", "Config", "Window");
     size           = new SettingSizeEntry(settings, new System.Drawing.Size(319, 392), "Size", "Config", "Window");
     showInTaskbar  = new SettingBoolEntry(settings, true, "ShowInTaskbar", "Config", "Window");
     showInTray     = new SettingBoolEntry(settings, false, "ShowInTray", "Config", "Window");
     minimizeToTray = new SettingBoolEntry(settings, false, "MinimizeToTray", "Config", "Window");
 }
Beispiel #2
0
 public WindowConfig(ISettings settings)
 {
     stayOnTop = new SettingBoolEntry(settings, false, "StayOnTop", "Config", "Window");
     topMost = new SettingBoolEntry(settings, false, "TopMost", "Config", "Window");
     position = new SettingPointEntry(settings, new System.Drawing.Point(256, 256), "Position", "Config", "Window");
     size = new SettingSizeEntry(settings, new System.Drawing.Size(319, 392), "Size", "Config", "Window");
     showInTaskbar = new SettingBoolEntry(settings, true, "ShowInTaskbar", "Config", "Window");
     showInTray = new SettingBoolEntry(settings, false, "ShowInTray", "Config", "Window");
     minimizeToTray = new SettingBoolEntry(settings, false, "MinimizeToTray", "Config", "Window");
 }