Esempio n. 1
0
        private void btnLost_Click(object sender, EventArgs e)
        {
            frmLostProperty frm = new frmLostProperty();

            frm.ShowDialog();
            frm.Dispose();
        }
Esempio n. 2
0
        void ShowForm(long id)
        {
            frmLostProperty frm = new frmLostProperty();

            frm.OnDisplayRecord(id);


            //DockWindow doc = UI.MainMenuForm.MainMenuFrm.GetDockByName("frmLoseProperty1");

            //if (doc != null)
            //{
            //    doc.Close();
            //}

            //MainMenuForm.MainMenuFrm.ShowForm(frm);
            frm.ShowDialog();
            frm.Dispose();
        }