using LYFZ.ComponentLibrary;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LYFZ.Software.UI.FinancialManagement
{
    public partial class FrmPayroll : LYFZ.ComponentLibrary.BaseContentsFormMain
    {
        public FrmPayroll()
        {
            InitializeComponent();
            this.dgv.RefreshTheme();
            this.dgvAll.RefreshTheme();
            //this.flowLayoutPanel1.BorderStyle = BorderStyle.FixedSingle;
            //panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
            this.flowLayoutPanel1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
            this.panelEx16.BackColor = UIBlueThemeResources.AreaBackgroundColor;
            this.panelEx18.BackColor = UIBlueThemeResources.AreaBackgroundColor;
            this.UcNavigationTool.LabTitle = "工资管理";
            this.btnClose.Click += btnClose_Click;
            this.Shown += FrmPayroll_Shown;
            this.btnSelect.Click += btnSelect_Click;
            this.cmbEmployeeName.ComboBoxTree_NodeMouseClick += cmbEmployeeName_ComboBoxTree_NodeMouseClick;
            this.cmbItemCategory.ComboBoxTree_NodeMouseClick += cmbItemCategory_ComboBoxTree_NodeMouseClick;
            this.cmbProjectTitle.ComboBoxTree_NodeMouseClick += cmbProjectTitle_ComboBoxTree_NodeMouseClick;
            this.cmbProcessStatus.ComboBoxTree_NodeMouseClick += cmbProcessStatus_ComboBoxTree_NodeMouseClick;
            this.txtAmountRange1.KeyPress += txtAmountRange1_KeyPress;
            this.txtAmountRange2.KeyPress += txtAmountRange2_KeyPress;
            this.cmbCustomerSource.ComboBoxTree_NodeMouseClick += cmbPay_PaymentMethod_ComboBoxTree_NodeMouseClick;
            this.CtvPak_Name.ComboBoxTree_NodeMouseClick += CtvPak_Name_ComboBoxTree_NodeMouseClick;
            this.dgvAll.SortCompare += dgvAll_SortCompare;
            this.btnSave.Click += btnSave_Click;
            this.cmbCommissionScheme.ComboBoxTree_NodeMouseClick += cmbCommissionScheme_ComboBoxTree_NodeMouseClick;
            this.btnSearchRecord.Click += btnSearchRecord_Click;
            this.btnExPort.Click += btnExPort_Click;
            this.txtScores1.KeyPress += txtScores1_KeyPress;
            this.txtScores2.KeyPress += txtScores2_KeyPress;

        }

        protected virtual void txtScores2_KeyPress(object sender, KeyPressEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void txtScores1_KeyPress(object sender, KeyPressEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void btnExPort_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void btnSearchRecord_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbCommissionScheme_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void btnSave_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void dgvAll_SortCompare(object sender, DataGridViewSortCompareEventArgs e)
        {
            //throw new NotImplementedException();
        }


        protected virtual void btnCalculate_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void CtvPak_Name_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbPay_PaymentMethod_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void txtAmountRange2_KeyPress(object sender, KeyPressEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void txtAmountRange1_KeyPress(object sender, KeyPressEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbEmployeeName_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbProcessStatus_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbProjectTitle_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbItemCategory_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void cmbEmployeeName_ComboBoxTreeViewEx_TextChanged(object sender, TreeViewEventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void btnSelect_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void FrmPayroll_Shown(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        protected virtual void btnClose_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }
    }
}