Пример #1
0
        private void LoadInterface()
        {
            if (frmInterface == null)
            {
                frmInterface = new frmIndustryTypeDetails();
            }

            if (IsEdit)
            {
                frmInterface.IsEdit       = true;
                frmInterface.IndustryCode = IndustryCode;
                frmInterface.IndustryName = IndustryName;
            }
            else if (IsAdd)
            {
                frmInterface.IsAdd        = true;
                frmInterface.IndustryCode = IndustryCode;
                frmInterface.IndustryName = IndustryName;
            }
        }
Пример #2
0
 private void UnloadInterface()
 {
     frmInterface.Close();
     frmInterface = null;
 }