Esempio n. 1
0
        public frmUtama()
        {
            InitializeComponent();

            BaseWinFramework.TouchScreenVersion = true;
            BaseFramework.DefaultDp             = new SqlServerPersistance(".\\SqlExpress", "Buku Besar", false, string.Empty);
            BaseWinFramework.Init(null);
        }
Esempio n. 2
0
        static void Main()
        {
            BaseFramework.DefaultDataPersistance =
                new AccessPersistance("C:\\Data", "Examples01", true);

            BaseWinFramework.Init();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmStart());
        }
Esempio n. 3
0
        public frmMain()
        {
            InitializeComponent();

            BaseWinFramework.Init(this);
            BaseFramework.AutoUpdateMetaData = false;
            BaseFramework.UseEventServer     = true;
            BaseSecurity.LoginWithRole       = false;

            eventClient1.onConnected      += new EventAction(eventClient1_onConnected);
            eventClient1.onDisconnected   += new EventAction(eventClient1_onDisconnected);
            eventClient1.onConnectTimeOut += new EventAction(eventClient1_onConnectTimeOut);
            UpdateStatus(false);
        }