private void responseGetOnlineElement()
        {
            switch (downloadSingleResponse)
            {
            case DownloadSingleResponse.SUCCESS:
                tbStatusBar.Text = "Success: Element downloaded";
                //TODO handle download
                return;

            default:
                tbStatusBar.Text = "Error: " + downloadSingleResponse.ToString();
                return;
            }
        }
Beispiel #2
0
        private void responseGetOnlineElement()
        {
            switch (downloadSingleResponse)
            {
            case DownloadSingleResponse.SUCCESS:
                StatusBarText = "Success: Element downloaded";
                Singleton <ClassManager> .Instance.AddClass(downloadedClass);

                return;

            default:
                StatusBarText = "Error: " + downloadSingleResponse.ToString();
                return;
            }
        }