Example #1
0
        private void txtReadyTime_Click(object sender, EventArgs e)
        {
            FrmTaCustReadyTime frmTaCustReadyTime = new FrmTaCustReadyTime();

            frmTaCustReadyTime.Location = new Point(this.txtReadyTime.Location.X + this.Location.X, txtReadyTime.Location.Y - frmTaCustReadyTime.Height);

            if (frmTaCustReadyTime.ShowDialog() == DialogResult.OK)
            {
                if (!string.IsNullOrEmpty(frmTaCustReadyTime.strShopTime))
                {
                    txtReadyTime.Text = frmTaCustReadyTime.strShopTime;
                }
            }
        }
Example #2
0
        private void txtReadyTime_Click(object sender, EventArgs e)
        {
            //if (!string.IsNullOrEmpty(cusNum))
            //{
            FrmTaCustReadyTime frmTaCustReadyTime = new FrmTaCustReadyTime();

            //frmTaCustReadyTime.Location = gridControlCustomer.Location;
            frmTaCustReadyTime.Location = new Point(gridControlCustomer.Location.X + 100, gridControlCustomer.Location.Y + 50);
            //frmTaCustReadyTime.Size = gridControlCustomer.Size;

            if (frmTaCustReadyTime.ShowDialog() == DialogResult.OK)
            {
                if (!string.IsNullOrEmpty(frmTaCustReadyTime.strShopTime))
                {
                    txtReadyTime.Text = frmTaCustReadyTime.strShopTime;
                }
            }
            //}
        }