コード例 #1
0
        private bool LoadResource()
        {
            if (!CheckKeyFileAvailable())
            {
                return(false);
            }

            if (!CommonFunc.RunWithProcessingUC(
                    new OperationHandlerWithResult(CheckbinAvailable),
                    "Initialing..."))
            {
                return(false);
            }

            return(true);
        }
コード例 #2
0
 private void btn_updateM3U8_Click(object sender, RoutedEventArgs e)
 {
     CommonFunc.RunWithProcessingUC(new OperationHandlerWithResult(CommonFunc.DownloadM3U8), "Downloading fils...");
 }