Files
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

36 lines
960 B
C#

using Lskj.Control;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Lskj.ToolSetNew
{
public partial class UnionForm : BaseForm
{
public UnionForm()
{
InitializeComponent();
this.andBtn.Click += new EventHandler(OnBtn_Click);
this.orBtn.Click += new EventHandler(OnBtn_Click);
}
private void OnBtn_Click(object sender, EventArgs e)
{
DevExpress.XtraEditors.SimpleButton simpleButton = (DevExpress.XtraEditors.SimpleButton)sender;
if (simpleButton.Text.Equals("And"))
{
this.DialogResult = DialogResult.OK;
}
else if (simpleButton.Text.Equals("Or"))
{
this.DialogResult = DialogResult.Yes;
}
}
}
}