Beispiel #1
0
        private void tmiOffense_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            frmOffenseList pForm = new frmOffenseList();

            pForm.MdiParent = this;
            pForm.Indicator = "0";
            pForm.Show();
            this.Cursor = Cursors.Default;
        }
Beispiel #2
0
        private void dgOffense_DoubleClick(object sender, EventArgs e)
        {
            CloseAll();
            frmOffenseList objfrmOffenseList = new frmOffenseList();

            objfrmOffenseList.MDIIpanema  = this;
            objfrmOffenseList.FormCaller  = this;
            objfrmOffenseList.Indicator   = "1";
            objfrmOffenseList.OffenseCode = dgOffense.SelectedRows[0].Cells[0].Value.ToString();
            objfrmOffenseList.MdiParent   = this;
            objfrmOffenseList.Show();
        }