Beispiel #1
0
        public ConfigurationForm(AssemblyConfig config)
        {
            InitializeComponent();

            Icon    = Resources.icon;
            _config = config;

            if (!_config.IsDefault)
            {
                txtUri.Text      = _config.StorageUri.ToString();
                txtUserName.Text = _config.UserName;
                txtPassword.Text = _config.GetPassword();
            }
            if (ShortcutManager.Exists())
            {
                chkSendTo.Checked = true;
            }
        }