예제 #1
0
 protected override void OnDestroyed()
 {
     Log.Verbose($"Destroying {GetType ()}");
     ViewModel = null;
     ViewModel?.Dispose();
     ctx.Dispose();
     ctx = null;
     treeview.Dispose();
     treeview = null;
     base.OnDestroyed();
     Disposed = true;
 }
예제 #2
0
        public JobsManagerView()
        {
            this.Build();
            treeview = new JobsTreeView();
            treeview.ShowAll();
            treeviewbox.PackStart(treeview, true, true, 0);
            cancelbutton.Visible  = false;
            retrybutton.Visible   = false;
            acceptButton.Clicked += async(sender, e) => await App.Current.StateController.MoveBack();

            Bind();
        }