void UpdateViewConfig(ViewConfig config) { _configuration.AcccountKey = config.AcccountKey; _configuration.AccountName = config.AccountName; _configuration.ContainerName = config.ContainerName; _configuration.SyncFolder = config.SyncFolder; }
public MainView() : base(Gtk.WindowType.Toplevel) { this.Build(); _connectionDialog = new ConnectionDialog(); _connectionDialog.Hide(); _connectionDialog.Close += ConnectionDialogClosed; this._configuration = new ViewConfig(); }
public ConnectionDialog() { this.Build(); Configuration = new ViewConfig(); }
public void ShowDialog(ViewConfig config) { this.Configuration = config; this.SetDataBind(); this.Show(); }