private async void BtnExcuteReplacement_Click(object sender, EventArgs e) { StartThreadParameter st = new StartThreadParameter(this); //st.SetFunctoinClass(this); st.SetFullThreadName("FileNameChange.Threading.ChangeNavigationPage"); st.SetGetParamgeterFunctionName("GetChangeNavigationPageParameter"); st.SetButtonStatusFuncionName("SetChangeNavigationPageButtonStatus"); bool x = await RunThread(st); }
private async void Button1_Click(object sender, EventArgs e) { StartThreadParameter st = new StartThreadParameter(); st.SetFullThreadName("ExampleWinformApp.Threading.GetRandomNumber"); st.SetGetParamgeterFunctionName("GetRandomNumberParameter"); st.SetButtonStatusFuncionName("SetRandomNumberButtonStatus"); int x = await RunThread(st); this.richTextBox1.AppendText(x.ToString() + "\r\n"); }
private async void BtnExcutePDFValidation_Click(object sender, EventArgs e) { StartThreadParameter st = new StartThreadParameter(this); //st.SetFunctoinClass(this); st.SetgenericTypeName(typeof(System.Boolean)); st.SetFullThreadName("FileNameChange.Threading.ValidatePDF`1"); st.SetGetParamgeterFunctionName("GetValidatePDFParameter"); st.SetButtonStatusFuncionName("SetValidatePDFButtonStatus"); bool x = await RunThread(st); }
private async void BtnTraverse_Click(object sender, EventArgs e) { //await RunThread(FileNameChange.Tools.ThreadName.Traverse); StartThreadParameter st = new StartThreadParameter(this); st.SetgenericTypeName(typeof(System.Boolean)); st.SetFullThreadName("FileNameChange.Threading.ThreadTraverse`1"); st.SetGetParamgeterFunctionName("GetTraverseParameter"); st.SetButtonStatusFuncionName("SetTraverseButtonStatus"); bool x = await RunThread(st); }
private async void BtnCheckName_Click(object sender, EventArgs e) { //await RunThread(FileNameChange.Tools.ThreadName.CheckName); StartThreadParameter st = new StartThreadParameter(this); //st.SetFunctoinClass(this); st.SetFullThreadName("FileNameChange.Threading.CheckName"); st.SetGetParamgeterFunctionName("GetCheckNameParameter"); st.SetButtonStatusFuncionName("SetCheckNameButtonStatus"); bool x = await RunThread(st); }
private async void BtnExcute_Click(object sender, EventArgs e) { //await RunThread(FileNameChange.Tools.ThreadName.ChangeFileName); StartThreadParameter st = new StartThreadParameter(this); st.SetgenericTypeName(typeof(System.Boolean)); st.SetFullThreadName("FileNameChange.Threading.ChangeFileName`1"); st.SetGetParamgeterFunctionName("GetChangeFileNameParameter"); st.SetButtonStatusFuncionName("SetChangeFileNameButtonStatus"); bool x = await RunThread(st); //this.richTextBox1.AppendText(x.ToString() + "\r\n"); }