Example #1
0
        public Frame()
        {
            InitializeComponent();

            sqLiteMonitor1.IsActive = true;
            sqLiteMonitor1.TraceEvent += new Devart.Common.MonitorEventHandler(this.monitor_TraceEvent);
            logFile = new StreamWriter("vectra.log");
            this.toolStripStatusLabel1.Text = String.Format("Accounting Period ending {0} ({1})", getFridaysDate().ToString("dd-MMM-yyyy"), getCurrentAcntPeriod());
            Form f = new Home();
            activateForm(f, FormWindowState.Normal, FormStartPosition.Manual);
        }
Example #2
0
 // - Buttons
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     Form f = new Home();
     activateForm(f, FormWindowState.Normal, FormStartPosition.Manual);
 }
Example #3
0
 private void HomeMenuItem1_Click(object sender, EventArgs e)
 {
     Form f = new Home();
     activateForm(f, FormWindowState.Normal, FormStartPosition.Manual);
 }