using CoreFS.CA06; 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 Core.StlMes.Client.Mcp.Coupling { public partial class Oback : FrmBase { public Oback() { InitializeComponent(); } private string strNum = ""; public string StrNum { get { return strNum; } set { strNum = value; } } private string strat = ""; public string Strat { get { return strat; } set { strat = value; } } private void DoSave() { StrNum = txtNum.Value.ToString(); Strat = "1"; this.Close(); } private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e) { switch (e.Tool.Key) { case "Save": DoSave(); break; case "Close": DoClose(); break; } } private void DoClose() { this.Close(); } } }