示例#1
0
 public MainForm()
 {
     InitializeComponent();
     cmd = MainFormCmd.getInstance();
     cmd.MainProcessForm = this;
     initTreeList();
 }
示例#2
0
        public static MainFormCmd getInstance()
        {
            if (null == MainFormCmd.cmd)
            {
                cmd = new MainFormCmd();

            }
            return cmd;
        }