Newer
Older
IRIS_REFACTOR / irisRefactor / FrmService / StartFormObject.cs
yanxiaowei on 11 Aug 2020 655 bytes first commit
using irisHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace irisRefactor.FrmService
{
    public class StartFormObject
    {
       
        public static Form getEntity()
        {
            ProMemory.InitProMemory();
            switch (ProMemory.formType)
            {
                case "1":
                    return Form1.GetInstance();
                case "2":
                    return Form2.GetInstance();
                default:
                    return DefaultForm.GetInstance();
            }
        }

       

    }
}