public static DefaultSetting GetDefaultSetting() { if (setting == null) { setting = new DefaultSetting(); } return(setting); }
public Cream() { InitializeComponent(); this.FormBorderStyle = FormBorderStyle.FixedSingle; setting = DefaultSetting.GetDefaultSetting(); }
public Settings() { InitializeComponent(); this.FormBorderStyle = FormBorderStyle.FixedSingle; settings = DefaultSetting.GetDefaultSetting(); textBoxLocation.Text = settings.Location; }