Esempio n. 1
0
 private void VendorButton_Click(object sender, EventArgs e)
 {
     HideContent();
     this.vendorView1.Viewable = true;
     m_activeView = this.vendorView1;
     disableToolbarColor();
     //vendorButton.BackColor = System.Drawing.SystemColors.ActiveCaption;
     vendorButton.ForeColor = System.Drawing.Color.Gold;
     printSheetToolStripMenuItem.Enabled = false;
 }
Esempio n. 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            HideContent();
            this.loginView1.Viewable = true;
            m_activeView = this.loginView1;
            customMenuStrip1.Enabled = false;
            customToolStrip1.Enabled = false;

            string szUpdate = MMSUtility.CheckUpdate();
            statusLabelStrip.Text = szUpdate;
            checkUpdateButton.Enabled = false;

            if (!MMSUtility.UserPref.QBIntegration)
            {
                refreshQBConnectionToolStripMenuItem.Enabled = false;
            }
        }
Esempio n. 3
0
 private void FourStepServicesButtonClick(object sender, EventArgs e)
 {
     HideContent();
     this.servicefourstepView1.Viewable = true;
     m_activeView = this.servicefourstepView1;
     disableToolbarColor();
     servicefourstepButton.ForeColor = System.Drawing.Color.Gold;
     printSheetToolStripMenuItem.Enabled = false;
 }
Esempio n. 4
0
        private void login_Successfull(object sender, EventArgs e)
        {
            //start here - show the first screen
            HideContent();
            //this.scheduleView1.Viewable = true;

            //this.customerView1.Viewable = true;
            //customerButton.ForeColor = System.Drawing.Color.Gold;
            this.serviceView1.Viewable = true;
            m_activeView = this.serviceView1;
            serviceButton.ForeColor = System.Drawing.Color.Gold;

            //enable menu and toolbar
            customMenuStrip1.Enabled = true;
            customToolStrip1.Enabled = true;
            checkUpdateButton.Enabled = true;
        }
Esempio n. 5
0
        private void customerButton_Click(object sender, EventArgs e)
        {
            HideContent();
            this.customerView1.Viewable = true;
            m_activeView = this.customerView1;
            disableToolbarColor();
            //customerButton.BackColor = System.Drawing.SystemColors.ActiveCaption;
            customerButton.ForeColor = System.Drawing.Color.Gold;
            if (this.customerView1.EditMode != 0)
            {

            }
            printSheetToolStripMenuItem.Enabled = false;
        }