static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Model model = new Model(); PresentationModel presentationModel = new PresentationModel(model); Application.Run(new MainRMS(presentationModel)); }
DataTable _userData; //紀錄目前登入的使用者是誰,以後想取用使用者資料,統一跟這個拿就可以 #endregion Fields #region Constructors public PresentationModel(Model model) { _model = model; }