Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Model model = new Model();
     PresentationModel presentationModel = new PresentationModel(model);
     Application.Run(new MainRMS(presentationModel));
 }
Exemplo n.º 2
0
        DataTable _userData; //紀錄目前登入的使用者是誰,以後想取用使用者資料,統一跟這個拿就可以

        #endregion Fields

        #region Constructors

        public PresentationModel(Model model)
        {
            _model = model;
        }