コード例 #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");
 }
コード例 #2
0
ファイル: ProfileConfig.cs プロジェクト: greeduomacro/phoenix
 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");
 }