//----------��ʾ��̬ͼ��ѡ��--------- private void btnRoom_Click(object sender, System.EventArgs e) { RoomStatus newfrm=new RoomStatus(2,mainForm); newfrm.ShowDialog(); }
//-----------��ʾ��̬ͼ--------------- private void menuItem9_Click(object sender, System.EventArgs e) { //ͨ���������Ʋ�ѯ�ô����Ƿ��Ѿ����ڣ����������ʾ��������´���һ�� if (this.checkChildFrmExist("RoomStatus") == true) { return; } RoomStatus newFrm=new RoomStatus(0,this); newFrm.MdiParent = this; newFrm.Show(); }