| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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;
- using CoreFS.CA06;
- namespace Core.StlMes.Client.SaleOrder
- {
- public partial class PopupTextBox : FrmBase
- {
- public string TextInfo
- {
- get { return txtInfo.Text.Trim(); }
- }
- public PopupTextBox(string textInfo)
- {
- InitializeComponent();
- this.txtInfo.Text = textInfo;
- }
- private void btnOk_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.OK;
- }
- private void btnCancel_Click(object sender, EventArgs e)
- {
- this.DialogResult = DialogResult.Cancel;
- }
- private void txtInfo_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.Control)
- {
- if (e.KeyCode == Keys.A)
- {
- txtInfo.SelectAll();
- }
- }
- }
- }
- }
|