예제 #1
0
        public System.Windows.Forms.Form GetForm()
        {
            if (m_Form == null)
            {
                m_Form = (System.Windows.Forms.Form)Activator.CreateInstance(m_FormType, m_Args);

                m_Form.CreateControl();

                m_Form.Closed += new EventHandler(m_Form_Closed);
            }

            return(m_Form);
        }
예제 #2
0
		public System.Windows.Forms.Form GetForm()
		{
			if (m_Form==null)
			{
				m_Form = (System.Windows.Forms.Form)Activator.CreateInstance(m_FormType,m_Args);

				m_Form.CreateControl();

				m_Form.Closed +=new EventHandler(m_Form_Closed);
			}

			return m_Form;
		}