private async void main_Load(object sender, EventArgs e) { cssv = new CSafeSetValue(webclient_UploadProgressChanged); cscp = new CSafeComplete(webclient_DownloadFileCompleted); csct = new CSafeControl(down_StreamControlCallBack); uscp = new USafeComplet(up_StreamCompleteCallback); ussv = new USafeSetValue(up_StreamProgressCallback); usct = new USafeControl(up_StreamControlCallBack); await Signin(); }