//两位数生成按钮click事件 private void liangWeiShuGenerateBtn_Click(object sender, EventArgs e) { if (otForm == null || otForm.IsDisposed)//判断窗口是否打开 { otForm = new OutputForm(); } liangWeiShuGenerate(); }
//十一选五“生成”按钮点击 private void computingButton_Click(object sender, EventArgs e) { if (f2 == null || f2.IsDisposed)//判断窗口是否打开 { f2 = new OutputForm(); } get11Data(); }
private void calHaoMaXT_Click(object sender, EventArgs e) { if (otFormNormal == null || otFormNormal.IsDisposed)//判断窗口是否打开 { otFormNormal = new OutputForm(); } List <string> result = new List <string>(calHaoMaXingTai()); result.Sort(); generateDataCalHaoMaXingTai(result); }
//时时彩“生成”按钮点击 private void button1_Click(object sender, EventArgs e) { if (f2 == null || f2.IsDisposed)//判断窗口是否打开 { f2 = new OutputForm(); } if (f1.chuHaoGeShu() == true && f3.chuHaoGeShu() == true && f4.chuHaoGeShu() == true) { getData(); } }
private void button1_Click(object sender, EventArgs e) { if (f2 == null || f2.IsDisposed)//判断窗口是否打开 { f2 = new OutputForm(); } f2.Text = "Hello"; string a = ""; for (int i = 0; i < oSum().Count(); i++) a += (oSum()[i].Substring(0, 2) + " "); f2.textBox1.Text = a; //try { f2.Text = "共计 " + (ans.Length / 4).ToString() + " 注"; f2.textBox1.Text = ans.Substring(0, ans.Length - 1); } //catch { f2.Text = "出错"; f2.textBox1.Text = "运算出错,请您检查您设置的条件!"; } f2.Show(); }
private void button1_Click(object sender, EventArgs e) { if (f2 == null || f2.IsDisposed)//判断窗口是否打开 { f2 = new OutputForm(); } f2.Text = "Hello"; string a = ""; for (int i = 0; i < oSum().Count(); i++) { a += (oSum()[i].Substring(0, 2) + " "); } f2.textBox1.Text = a; //try { f2.Text = "共计 " + (ans.Length / 4).ToString() + " 注"; f2.textBox1.Text = ans.Substring(0, ans.Length - 1); } //catch { f2.Text = "出错"; f2.textBox1.Text = "运算出错,请您检查您设置的条件!"; } f2.Show(); }
//时时彩“生成”按钮点击 private void button1_Click(object sender, EventArgs e) { if (f2 == null || f2.IsDisposed)//判断窗口是否打开 { f2 = new OutputForm(); } }