예제 #1
0
 void UpdateViewConfig(ViewConfig config)
 {
     _configuration.AcccountKey = config.AcccountKey;
     _configuration.AccountName = config.AccountName;
     _configuration.ContainerName = config.ContainerName;
     _configuration.SyncFolder = config.SyncFolder;
 }
예제 #2
0
        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();
 }