Beispiel #1
0
        private void Frm_TableView_Load(object sender, EventArgs e)
        {
            txtSQL.Visible = false;
            lblSum.Text    = "";

            lblStatus.Text = "Client: " + Globals.clientid + "; User: "******"; Transaction: SE11";
            // kiem tra permission
            if (gen.checkPermission(Globals.username, "SE11", Globals.companycode) == false)
            {
                XtraMessageBox.Show("You do not the permission to execute this transaction code", "HAMACO", MessageBoxButtons.OK, MessageBoxIcon.Error);
                this.Close();
            }

            lvpq.Visible = false;

            toolTip1.SetToolTip(btnDisplay, "Display");
            toolTip1.SetToolTip(btnContent, "Content");

            // Load table co trong DB.
            load_tablename();

            //load datagrid of tables in the DB
            load_datagrid();
        }