Merge branch 'master' into support/1.1

* master:
  Removed unneccasry parts of code
This commit is contained in:
Serraniel 2018-03-29 13:55:48 +02:00
commit 389b11d762

View file

@ -262,18 +262,6 @@ namespace DML.Application
private async void toolStripDropDownButton1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e) private async void toolStripDropDownButton1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
{ {
/*
* var uiScheduler = TaskScheduler.FromCurrentSynchronizationContext();
Task.Factory.StartNew(delegate { DoBackgroundComputation(); },
backgroundScheduler).
ContinueWith(delegate { UpdateUI(); }, uiScheduler).
*/
var backgroundScheduler = TaskScheduler.Default;
var uiScheduler = TaskScheduler.FromCurrentSynchronizationContext();
OnlineState state = (OnlineState)Convert.ToInt32(e.ClickedItem.Tag); OnlineState state = (OnlineState)Convert.ToInt32(e.ClickedItem.Tag);
lbStatus.Text = state.ToString(); lbStatus.Text = state.ToString();