Example #1
0
        public FrmReleases()
        {
            InitializeComponent();
            var config = JsonConvert.DeserializeObject <Config>(File.ReadAllText("config.json"));

            _client = new VstsClient(config);
            _async  = new AsyncManager();
            _async.AsyncWorkBegun    += (x, y) => btnRefresh.Enabled = false;
            _async.AsyncWorkComplete += (x, y) => btnRefresh.Enabled = true;
        }