Пример #1
0
        private void btnSearchSDKUser_Click(object sender, EventArgs e)
        {
            Cursor = System.Windows.Forms.Cursors.WaitCursor;
            using (Finder.SDKUsers frmSDKUser = new Solsage_Process_Management_System.Finder.SDKUsers())
            {
                if (frmSDKUser.ShowDialog() == DialogResult.OK)
                {
                    if (frmSDKUser.sSelectedSDKUserCode != "")
                    {
                        txtDefSDKUser.Text = frmSDKUser.sSelectedSDKUserCode;
                        txtDefSDKUser.Focus();
                        txtDefSDKUser.SelectionStart = 0;
                        txtDefSDKUser.SelectionLength = txtDefSDKUser.Text.Length;
                    }
                }
            }

            Cursor = System.Windows.Forms.Cursors.Default;
        }
Пример #2
0
        private void cmdAddSourceInventory_Click(object sender, EventArgs e)
        {
            Cursor = System.Windows.Forms.Cursors.WaitCursor;
            using (Finder.SDKUsers frmSDKUserZoom = new Solsage_Process_Management_System.Finder.SDKUsers())
            {
                if (frmSDKUserZoom.ShowDialog() == DialogResult.OK)
                {
                    if (frmSDKUserZoom.sSelectedSDKUserCode != "")
                    {
                        txtDefSDKUser.Text = frmSDKUserZoom.sSelectedSDKUserCode;

                    }
                }

                Cursor = System.Windows.Forms.Cursors.Default;
            }
        }