Пример #1
0
 public static DefaultSetting GetDefaultSetting()
 {
     if (setting == null)
     {
         setting = new DefaultSetting();
     }
     return(setting);
 }
Пример #2
0
        public Cream()
        {
            InitializeComponent();

            this.FormBorderStyle = FormBorderStyle.FixedSingle;

            setting = DefaultSetting.GetDefaultSetting();
        }
Пример #3
0
        public Settings()
        {
            InitializeComponent();

            this.FormBorderStyle = FormBorderStyle.FixedSingle;

            settings             = DefaultSetting.GetDefaultSetting();
            textBoxLocation.Text = settings.Location;
        }