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 WarM { public partial class Frm_Split : Form { public Frm_Split() { InitializeComponent(); } public int IsOk; private void cmdOK_Click(object sender, EventArgs e) { DBUtility.Gy_BaseFun.SaveControlInfo(groupBox2, this.Name); IsOk = 1; this.Visible = false; } private void cmdCancel_Click(object sender, EventArgs e) { IsOk = 2; this.Visible = false; } private void Frm_Split_Activated(object sender, EventArgs e) { IsOk = 0; } } }