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(); txtRootFolder.Text = config.RootFolder; } }
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; } }