Exemplo n.º 1
0
        private void btn_Add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frm_AddNewUnit frm = new frm_AddNewUnit( );

            frm.FormClosed += new FormClosedEventHandler(dongform);
            frm.Show( );
        }
        private void btn_AddNewUnit_Click(object sender, EventArgs e)
        {
            frm_AddNewUnit frm = new frm_AddNewUnit( );

            frm.FormClosed += new FormClosedEventHandler(dongformUnit);
            frm.ShowDialog( );
        }