Beispiel #1
0
        public string BuildWhereQuery(GP8000.UserControl.CrtTaCondition1 control1)
        {
            bool isAll = control1.R_ALL.Checked == true ? true: false;

            string result = "";

            if (!isAll)
            {
                string strField = control1.ck.Checked == false ? "EMP_ID":"EMP_I1";
                if (control1.R_DEP.Checked)                     //bo phan
                {
                    result = string.Format("WHERE bophan.DEP_NM = N'{0}'", control1.CB_DEP.Text.ToString());
                }
                else if (control1.R_WID.Checked)                // ma
                {
                    string from = control1.txt_fr.Text;
                    string to   = control1.txt_to.Text;
                    result = string.Format("WHERE nhanvien.{0} Between N'{1}' and N'{2}'", strField, from, to);
                }
                else if (control1.R_NON.Checked)                // khong lien tuc
                {
                    string arrayList = "";
                    for (int i = 0; i < control1.list.Count; i++)
                    {
                        if (arrayList != "")
                        {
                            arrayList += ",";
                        }
                        arrayList += "N'" + control1.list[i] + "'";
                    }
                    result = string.Format("WHERE nhanvien.{0} in ({1})", strField, arrayList);
                }
            }
            else
            {
                result = "";
            }
            return(result);
        }
Beispiel #2
0
        /// <summary>
        /// Phu cap 30 %
        /// </summary>
        public void CalPhuCap30(SqlConnection con, GP8000.UserControl.CrtTaCondition1 control1, C1.Win.C1Input.C1DateEdit dt1, C1.Win.C1Input.C1DateEdit dt2, string eID, string attDT)
        {
            try
            {
                bool isMessage = false;
                if (PublicFunction.GPS)
                {
                    string         sql    = string.Format("update FILC06A set PhuCap30Per = 0, PRO_HR = 0 where SHI_ID = '00'");
                    Func.RecordSet rsPC00 = new Func.RecordSet(sql, con);
                    isMessage = true;
                }
                else
                {
                    //Get where
                    string strWhere = "", dTime = "";
                    if (control1 != null)
                    {
                        isMessage = true;
                        strWhere  = GP8000.Function.Common.Ints.BuildWhereQuery(control1);
                        strWhere  = strWhere.IndexOf("WHERE") != -1 ? strWhere + " AND" : "WHERE";
                        dTime     = string.Format("(chamcong.ATT_DT >= '{0}' AND chamcong.ATT_DT<='{1}') And ca.PC30Per = 1", Convert.ToDateTime(dt1.Value).ToString("yyyy-MM-dd"), Convert.ToDateTime(dt2.Value).ToString("yyyy-MM-dd"));
                    }
                    else
                    {
                        isMessage = false;
                        strWhere  = string.Format("WHERE nhanvien.EMP_ID = N'{0}'", eID);
                        dTime     = string.Format(" AND chamcong.ATT_DT = '{0}'", attDT);
                    }
                    string sql = string.Format("select chamcong.EMP_ID, chamcong.ONN_01, chamcong.OFF_01, chamcong.ONN_02, chamcong.OFF_02, chamcong.ONN_03, chamcong.OFF_03, chamcong.ONN_04, chamcong.OFF_04, chamcong.ONN_05, chamcong.OFF_05, ca.ONN_TM, ca.OFF_TM, chamcong.ATT_DT " +
                                               "from FILB01A nhanvien " +
                                               "join FILA02A bophan on nhanvien.DEP_ID = bophan.DEP_ID " +
                                               "join FILA07A chucvu on nhanvien.POS_ID = chucvu.POS_ID " +
                                               "left join FILB01AC nghiviec on nghiviec.EMP_ID = nhanvien.EMP_ID " +
                                               "join FILC06A chamcong on nhanvien.EMP_ID = chamcong.EMP_ID " +
                                               "join FILC02B ca on chamcong.SHI_ID = ca.SHI_ID " +
                                               "{0} {1} ", strWhere, dTime);

                    Func.RecordSet rsData = new Func.RecordSet(sql, con);

                    //Get list empID & list attDT
                    ArrayList arrListEMP_ID = GetListValueByCol(rsData, "EMP_ID");
                    ArrayList arrListATT_DT = GetListValueByCol(rsData, "ATT_DT");

                    for (int x = 0; x < arrListEMP_ID.Count; x++)
                    {
                        string empID = arrListEMP_ID[x].ToString();                         //Get a empID
                        for (int y = 0; y < arrListATT_DT.Count; y++)
                        {
                            string att = Convert.ToDateTime(arrListATT_DT[y]).ToString("yyyy-MM-dd");                             //Get a attDT

                            string sqlData = string.Format("select * from FILC06A chamcong " +
                                                           "join FILC02B ca on chamcong.SHI_ID = ca.SHI_ID " +
                                                           "where EMP_ID = N'{0}' " +
                                                           "and ATT_DT = '{1}'  and ca.PC30Per=1 " +
                                                           "order by SEQ_NO asc", empID, att);

                            Func.RecordSet data = new Func.RecordSet(sqlData, con);

                            ArrayList arrListGioTM = new ArrayList();
                            ArrayList arrListGio   = new ArrayList();

                            //Get all minute TM
                            for (int z = 0; z < data.rows; z++)
                            {
                                arrListGioTM.AddRange(GetListTime(data.record(z, "ONN_TM"), data.record(z, "OFF_TM")));
                            }

                            //Get all minute employ
                            arrListGio.AddRange(GetListTime(data.record(0, "ONN_01"), data.record(0, "OFF_01")));
                            arrListGio.AddRange(GetListTime(data.record(0, "ONN_02"), data.record(0, "OFF_02")));
                            arrListGio.AddRange(GetListTime(data.record(0, "ONN_03"), data.record(0, "OFF_03")));
                            arrListGio.AddRange(GetListTime(data.record(0, "ONN_04"), data.record(0, "OFF_04")));
                            arrListGio.AddRange(GetListTime(data.record(0, "ONN_05"), data.record(0, "OFF_05")));

                            //Get all minute work
                            ArrayList arrListResult = new ArrayList();
                            arrListResult.AddRange(GetDulicateItem(arrListGioTM, arrListGio));

                            //Get hour work
                            double strResult = (Convert.ToDouble(arrListResult.Count) / 60);
                            strResult = ConvertHour(arrListResult.Count, strResult);


                            string updatePhuCap = string.Format("update FILC06A set PhuCap30Per = {2} " +
                                                                "where ATT_DT = '{1}' and EMP_ID = N'{0}'", empID, att, strResult);
                            PublicFunction.SQL_Execute(updatePhuCap, con, true);
                        }
                    }
                }
                if (isMessage)
                {
                    MessageBox.Show("Tính phụ cấp thành công!!!");
                }
            }
            catch (Exception ex)
            {
                //MessageBox.Show("CalPhuCap30");
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.panel3     = new System.Windows.Forms.Panel();
     this.label5     = new System.Windows.Forms.Label();
     this.panel1     = new System.Windows.Forms.Panel();
     this.panel4     = new System.Windows.Forms.Panel();
     this.err        = new System.Windows.Forms.TextBox();
     this.tm         = new System.Windows.Forms.Label();
     this.panel9     = new System.Windows.Forms.Panel();
     this.panel8     = new System.Windows.Forms.Panel();
     this.c4         = new System.Windows.Forms.Label();
     this.label6     = new System.Windows.Forms.Label();
     this.c2         = new System.Windows.Forms.Label();
     this.pro3       = new System.Windows.Forms.ProgressBar();
     this.pro4       = new System.Windows.Forms.ProgressBar();
     this.panel7     = new System.Windows.Forms.Panel();
     this.panel6     = new System.Windows.Forms.Panel();
     this.c3         = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.c1         = new System.Windows.Forms.Label();
     this.pro1       = new System.Windows.Forms.ProgressBar();
     this.pro2       = new System.Windows.Forms.ProgressBar();
     this.panel5     = new System.Windows.Forms.Panel();
     this.panel2     = new System.Windows.Forms.Panel();
     this.btnTinhPC  = new System.Windows.Forms.Button();
     this.cmd_for    = new System.Windows.Forms.Button();
     this.dt2        = new C1.Win.C1Input.C1DateEdit();
     this.dt1        = new C1.Win.C1Input.C1DateEdit();
     this.label1     = new System.Windows.Forms.Label();
     this.cmd_close  = new System.Windows.Forms.Button();
     this.cmd_att    = new System.Windows.Forms.Button();
     this.control1   = new GP8000.UserControl.CrtTaCondition1();
     this.label3     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.timer1     = new System.Windows.Forms.Timer(this.components);
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel8.SuspendLayout();
     this.panel6.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(1156, 36);
     this.panel3.TabIndex = 13;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(1156, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1156, 670);
     this.panel1.TabIndex = 14;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.err);
     this.panel4.Controls.Add(this.tm);
     this.panel4.Controls.Add(this.panel9);
     this.panel4.Controls.Add(this.panel8);
     this.panel4.Controls.Add(this.panel7);
     this.panel4.Controls.Add(this.panel6);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 180);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(1156, 490);
     this.panel4.TabIndex = 9;
     this.panel4.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel4_Paint);
     //
     // err
     //
     this.err.BackColor   = System.Drawing.Color.LightSteelBlue;
     this.err.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.err.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.err.Location    = new System.Drawing.Point(0, 280);
     this.err.Multiline   = true;
     this.err.Name        = "err";
     this.err.ReadOnly    = true;
     this.err.Size        = new System.Drawing.Size(1156, 210);
     this.err.TabIndex    = 15;
     this.err.Visible     = false;
     //
     // tm
     //
     this.tm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.tm.BackColor = System.Drawing.Color.Black;
     this.tm.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tm.ForeColor = System.Drawing.Color.Red;
     this.tm.Location  = new System.Drawing.Point(0, 220);
     this.tm.Name      = "tm";
     this.tm.Size      = new System.Drawing.Size(1156, 24);
     this.tm.TabIndex  = 14;
     this.tm.Tag       = "N";
     this.tm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel9
     //
     this.panel9.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel9.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel9.Location  = new System.Drawing.Point(0, 212);
     this.panel9.Name      = "panel9";
     this.panel9.Size      = new System.Drawing.Size(1156, 4);
     this.panel9.TabIndex  = 12;
     //
     // panel8
     //
     this.panel8.Controls.Add(this.c4);
     this.panel8.Controls.Add(this.label6);
     this.panel8.Controls.Add(this.c2);
     this.panel8.Controls.Add(this.pro3);
     this.panel8.Controls.Add(this.pro4);
     this.panel8.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel8.Location = new System.Drawing.Point(0, 108);
     this.panel8.Name     = "panel8";
     this.panel8.Size     = new System.Drawing.Size(1156, 104);
     this.panel8.TabIndex = 11;
     //
     // c4
     //
     this.c4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c4.BackColor = System.Drawing.Color.Black;
     this.c4.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c4.ForeColor = System.Drawing.Color.White;
     this.c4.Location  = new System.Drawing.Point(0, 76);
     this.c4.Name      = "c4";
     this.c4.Size      = new System.Drawing.Size(1156, 24);
     this.c4.TabIndex  = 13;
     this.c4.Tag       = "N";
     this.c4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label6
     //
     this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label6.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label6.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.RoyalBlue;
     this.label6.Location  = new System.Drawing.Point(0, 0);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(1156, 23);
     this.label6.TabIndex  = 9;
     this.label6.Text      = "label6";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // c2
     //
     this.c2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c2.BackColor = System.Drawing.Color.Black;
     this.c2.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c2.ForeColor = System.Drawing.Color.White;
     this.c2.Location  = new System.Drawing.Point(0, 54);
     this.c2.Name      = "c2";
     this.c2.Size      = new System.Drawing.Size(1156, 24);
     this.c2.TabIndex  = 12;
     this.c2.Tag       = "N";
     this.c2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro3
     //
     this.pro3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro3.Location = new System.Drawing.Point(4, 22);
     this.pro3.Name     = "pro3";
     this.pro3.Size     = new System.Drawing.Size(1148, 16);
     this.pro3.TabIndex = 10;
     //
     // pro4
     //
     this.pro4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro4.Location = new System.Drawing.Point(4, 38);
     this.pro4.Name     = "pro4";
     this.pro4.Size     = new System.Drawing.Size(1148, 16);
     this.pro4.TabIndex = 11;
     //
     // panel7
     //
     this.panel7.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel7.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel7.Location  = new System.Drawing.Point(0, 104);
     this.panel7.Name      = "panel7";
     this.panel7.Size      = new System.Drawing.Size(1156, 4);
     this.panel7.TabIndex  = 10;
     //
     // panel6
     //
     this.panel6.Controls.Add(this.c3);
     this.panel6.Controls.Add(this.label4);
     this.panel6.Controls.Add(this.c1);
     this.panel6.Controls.Add(this.pro1);
     this.panel6.Controls.Add(this.pro2);
     this.panel6.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(1156, 104);
     this.panel6.TabIndex = 9;
     //
     // c3
     //
     this.c3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c3.BackColor = System.Drawing.Color.Black;
     this.c3.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c3.ForeColor = System.Drawing.Color.White;
     this.c3.Location  = new System.Drawing.Point(0, 80);
     this.c3.Name      = "c3";
     this.c3.Size      = new System.Drawing.Size(1156, 24);
     this.c3.TabIndex  = 9;
     this.c3.Tag       = "N";
     this.c3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.label4.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label4.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.RoyalBlue;
     this.label4.Location  = new System.Drawing.Point(0, 0);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(1156, 23);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "label4";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(0, 56);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(1156, 24);
     this.c1.TabIndex  = 8;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(4, 24);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(1148, 16);
     this.pro1.TabIndex = 2;
     //
     // pro2
     //
     this.pro2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro2.Location = new System.Drawing.Point(4, 40);
     this.pro2.Name     = "pro2";
     this.pro2.Size     = new System.Drawing.Size(1148, 16);
     this.pro2.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location  = new System.Drawing.Point(0, 176);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(1156, 4);
     this.panel5.TabIndex  = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnTinhPC);
     this.panel2.Controls.Add(this.cmd_for);
     this.panel2.Controls.Add(this.dt2);
     this.panel2.Controls.Add(this.dt1);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.cmd_close);
     this.panel2.Controls.Add(this.cmd_att);
     this.panel2.Controls.Add(this.control1);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1156, 176);
     this.panel2.TabIndex = 0;
     //
     // btnTinhPC
     //
     this.btnTinhPC.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnTinhPC.Location  = new System.Drawing.Point(832, 16);
     this.btnTinhPC.Name      = "btnTinhPC";
     this.btnTinhPC.Size      = new System.Drawing.Size(136, 40);
     this.btnTinhPC.TabIndex  = 157;
     this.btnTinhPC.Text      = "Tính ph? c?p 30%";
     this.btnTinhPC.Visible   = false;
     this.btnTinhPC.Click    += new System.EventHandler(this.btnTinhPC_Click);
     //
     // cmd_for
     //
     this.cmd_for.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_for.Location  = new System.Drawing.Point(688, 68);
     this.cmd_for.Name      = "cmd_for";
     this.cmd_for.Size      = new System.Drawing.Size(136, 40);
     this.cmd_for.TabIndex  = 155;
     this.cmd_for.Text      = "button1";
     this.cmd_for.Visible   = false;
     this.cmd_for.Click    += new System.EventHandler(this.cmd_for_Click);
     //
     // dt2
     //
     this.dt2.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location   = new System.Drawing.Point(536, 44);
     this.dt2.Name       = "dt2";
     this.dt2.Size       = new System.Drawing.Size(132, 23);
     this.dt2.TabIndex   = 150;
     this.dt2.Tag        = null;
     //
     // dt1
     //
     this.dt1.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location   = new System.Drawing.Point(536, 16);
     this.dt1.Name       = "dt1";
     this.dt1.Size       = new System.Drawing.Size(132, 23);
     this.dt1.TabIndex   = 149;
     this.dt1.Tag        = null;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(452, 20);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "label1";
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(688, 120);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 40);
     this.cmd_close.TabIndex  = 154;
     this.cmd_close.Text      = "button3";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_att
     //
     this.cmd_att.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_att.Location  = new System.Drawing.Point(688, 16);
     this.cmd_att.Name      = "cmd_att";
     this.cmd_att.Size      = new System.Drawing.Size(136, 40);
     this.cmd_att.TabIndex  = 152;
     this.cmd_att.Text      = "button1";
     this.cmd_att.Click    += new System.EventHandler(this.cmd_att_Click);
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 0;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.SystemColors.Control;
     this.label3.Location  = new System.Drawing.Point(512, 92);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 156;
     this.label3.Tag       = "N";
     this.label3.Text      = "->>";
     this.label3.Visible   = false;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(452, 48);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(100, 23);
     this.label2.TabIndex = 151;
     this.label2.Text     = "label2";
     //
     // timer1
     //
     this.timer1.Interval = 1000;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // frmTaCardDataSwitchVS
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(1156, 706);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font    = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name    = "frmTaCardDataSwitchVS";
     this.Text    = "frmTaCardDataSwitchVS";
     this.Closed += new System.EventHandler(this.frmTaCardDataSwitch_Closed_1);
     this.Load   += new System.EventHandler(this.frmTaCardDataSwitch_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.panel8.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.YYY_YY    = new System.Windows.Forms.DateTimePicker();
     this.label1    = new System.Windows.Forms.Label();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.cmd_close = new System.Windows.Forms.Button();
     this.cmd_OK    = new System.Windows.Forms.Button();
     this.pro       = new System.Windows.Forms.ProgressBar();
     this.lb        = new System.Windows.Forms.Label();
     this.lb2       = new System.Windows.Forms.Label();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(446, 36);
     this.panel3.TabIndex = 5;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(446, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // YYY_YY
     //
     this.YYY_YY.CustomFormat = "yyyyMM";
     this.YYY_YY.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.YYY_YY.Location     = new System.Drawing.Point(100, 36);
     this.YYY_YY.Name         = "YYY_YY";
     this.YYY_YY.Size         = new System.Drawing.Size(104, 23);
     this.YYY_YY.TabIndex     = 32;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 44);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(92, 23);
     this.label1.TabIndex = 31;
     this.label1.Text     = "label1";
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 60);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(448, 164);
     this.control1.TabIndex = 6;
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(259, 296);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(116, 36);
     this.cmd_close.TabIndex  = 27;
     this.cmd_close.Text      = "Close";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_OK
     //
     this.cmd_OK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_OK.Location  = new System.Drawing.Point(72, 296);
     this.cmd_OK.Name      = "cmd_OK";
     this.cmd_OK.Size      = new System.Drawing.Size(116, 36);
     this.cmd_OK.TabIndex  = 26;
     this.cmd_OK.Text      = "OK";
     this.cmd_OK.Click    += new System.EventHandler(this.cmd_OK_Click);
     //
     // pro
     //
     this.pro.Location = new System.Drawing.Point(4, 228);
     this.pro.Name     = "pro";
     this.pro.Size     = new System.Drawing.Size(432, 16);
     this.pro.TabIndex = 28;
     //
     // lb
     //
     this.lb.BackColor = System.Drawing.Color.Black;
     this.lb.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lb.ForeColor = System.Drawing.Color.White;
     this.lb.Location  = new System.Drawing.Point(4, 244);
     this.lb.Name      = "lb";
     this.lb.Size      = new System.Drawing.Size(432, 23);
     this.lb.TabIndex  = 29;
     this.lb.Tag       = "N";
     this.lb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lb2
     //
     this.lb2.BackColor = System.Drawing.Color.Black;
     this.lb2.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lb2.ForeColor = System.Drawing.Color.White;
     this.lb2.Location  = new System.Drawing.Point(4, 264);
     this.lb2.Name      = "lb2";
     this.lb2.Size      = new System.Drawing.Size(432, 23);
     this.lb2.TabIndex  = 30;
     this.lb2.Tag       = "N";
     this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // frmTaTransferNextYear
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(446, 338);
     this.Controls.Add(this.YYY_YY);
     this.Controls.Add(this.lb2);
     this.Controls.Add(this.lb);
     this.Controls.Add(this.pro);
     this.Controls.Add(this.cmd_close);
     this.Controls.Add(this.cmd_OK);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.control1);
     this.Font            = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTaTransferNextYear";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "frmTaTransferNextYear";
     this.Load           += new System.EventHandler(this.frmTaCalAnnualLeave_Load);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.panel1    = new System.Windows.Forms.Panel();
     this.c1        = new System.Windows.Forms.Label();
     this.pro1      = new System.Windows.Forms.ProgressBar();
     this.panel5    = new System.Windows.Forms.Panel();
     this.p1        = new System.Windows.Forms.Panel();
     this.cb1       = new System.Windows.Forms.ComboBox();
     this.cb        = new System.Windows.Forms.ComboBox();
     this.dt3       = new C1.Win.C1Input.C1DateEdit();
     this.label6    = new System.Windows.Forms.Label();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.cmd_att   = new System.Windows.Forms.Button();
     this.cmd_close = new System.Windows.Forms.Button();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.p1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).BeginInit();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(692, 36);
     this.panel3.TabIndex = 13;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(692, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.c1);
     this.panel1.Controls.Add(this.pro1);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.p1);
     this.panel1.Controls.Add(this.cmd_att);
     this.panel1.Controls.Add(this.cmd_close);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(692, 280);
     this.panel1.TabIndex = 14;
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(4, 196);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(684, 32);
     this.c1.TabIndex  = 8;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(4, 176);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(684, 20);
     this.pro1.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location  = new System.Drawing.Point(0, 168);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(692, 4);
     this.panel5.TabIndex  = 1;
     //
     // p1
     //
     this.p1.Controls.Add(this.cb1);
     this.p1.Controls.Add(this.cb);
     this.p1.Controls.Add(this.dt3);
     this.p1.Controls.Add(this.label6);
     this.p1.Controls.Add(this.label1);
     this.p1.Controls.Add(this.label2);
     this.p1.Controls.Add(this.control1);
     this.p1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.p1.Location = new System.Drawing.Point(0, 0);
     this.p1.Name     = "p1";
     this.p1.Size     = new System.Drawing.Size(692, 168);
     this.p1.TabIndex = 0;
     //
     // cb1
     //
     this.cb1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cb1.Location      = new System.Drawing.Point(532, 72);
     this.cb1.Name          = "cb1";
     this.cb1.Size          = new System.Drawing.Size(152, 24);
     this.cb1.TabIndex      = 170;
     //
     // cb
     //
     this.cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cb.Location      = new System.Drawing.Point(532, 44);
     this.cb.Name          = "cb";
     this.cb.Size          = new System.Drawing.Size(152, 24);
     this.cb.TabIndex      = 169;
     //
     // dt3
     //
     this.dt3.CustomFormat = "yyyyMM";
     this.dt3.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt3.Location     = new System.Drawing.Point(532, 16);
     this.dt3.Name         = "dt3";
     this.dt3.Size         = new System.Drawing.Size(152, 23);
     this.dt3.TabIndex     = 167;
     this.dt3.Tag          = null;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(448, 76);
     this.label6.Name     = "label6";
     this.label6.TabIndex = 168;
     this.label6.Text     = "label6";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(448, 20);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 161;
     this.label1.Text     = "label1";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(448, 48);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 164;
     this.label2.Text     = "label2";
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 0;
     //
     // cmd_att
     //
     this.cmd_att.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_att.Location  = new System.Drawing.Point(160, 236);
     this.cmd_att.Name      = "cmd_att";
     this.cmd_att.Size      = new System.Drawing.Size(136, 40);
     this.cmd_att.TabIndex  = 152;
     this.cmd_att.Text      = "cal";
     this.cmd_att.Click    += new System.EventHandler(this.cmd_att_Click);
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(396, 236);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 40);
     this.cmd_close.TabIndex  = 154;
     this.cmd_close.Text      = "button3";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // frmTaNotesSlipCal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(692, 316);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font            = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTaNotesSlipCal";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "frmTaNotesSlipCal";
     this.Load           += new System.EventHandler(this.frmTaCardDataSwitch_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.p1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.txt_RPT_DR        = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.c1DockingTab1     = new C1.Win.C1Command.C1DockingTab();
     this.c1DockingTabPage1 = new C1.Win.C1Command.C1DockingTabPage();
     this.vs             = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.c1CommandDock1 = new C1.Win.C1Command.C1CommandDock();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.panel3         = new System.Windows.Forms.Panel();
     this.nav            = new Navigator1._0.NavigatorAuto();
     this.label5         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel4         = new System.Windows.Forms.Panel();
     this.p         = new System.Windows.Forms.Panel();
     this.panel8    = new System.Windows.Forms.Panel();
     this.panel5    = new System.Windows.Forms.Panel();
     this.vs2       = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.nav2      = new Navigator1._0.NavigatorAuto();
     this.splitter3 = new System.Windows.Forms.Splitter();
     this.panel7    = new System.Windows.Forms.Panel();
     this.nav1      = new Navigator1._0.NavigatorAuto();
     this.vs1       = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.panel6    = new System.Windows.Forms.Panel();
     this.cmd_close = new System.Windows.Forms.Button();
     this.cmd_print = new System.Windows.Forms.Button();
     this.panel9    = new System.Windows.Forms.Panel();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.dt1       = new C1.Win.C1Input.C1DateEdit();
     this.dt2       = new C1.Win.C1Input.C1DateEdit();
     this.ck        = new System.Windows.Forms.CheckBox();
     this.label2    = new System.Windows.Forms.Label();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.panel2    = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).BeginInit();
     this.c1DockingTab1.SuspendLayout();
     this.c1DockingTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vs)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandDock1)).BeginInit();
     this.c1CommandDock1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.p.SuspendLayout();
     this.panel8.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vs2)).BeginInit();
     this.panel7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vs1)).BeginInit();
     this.panel6.SuspendLayout();
     this.panel9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // txt_RPT_DR
     //
     this.txt_RPT_DR.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.txt_RPT_DR.BackColor = System.Drawing.SystemColors.Window;
     this.txt_RPT_DR.Location  = new System.Drawing.Point(104, 12);
     this.txt_RPT_DR.MaxLength = 200;
     this.txt_RPT_DR.Name      = "txt_RPT_DR";
     this.txt_RPT_DR.Size      = new System.Drawing.Size(596, 23);
     this.txt_RPT_DR.TabIndex  = 1;
     this.txt_RPT_DR.Tag       = "RPT_DR";
     this.txt_RPT_DR.Text      = "textBox1";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4, 20);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "label1";
     //
     // c1DockingTab1
     //
     this.c1DockingTab1.Alignment   = System.Windows.Forms.TabAlignment.Bottom;
     this.c1DockingTab1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.c1DockingTab1.CanAutoHide = true;
     this.c1DockingTab1.CanMoveTabs = true;
     this.c1DockingTab1.Controls.Add(this.c1DockingTabPage1);
     this.c1DockingTab1.Font          = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1DockingTab1.Location      = new System.Drawing.Point(0, 0);
     this.c1DockingTab1.Name          = "c1DockingTab1";
     this.c1DockingTab1.SelectedIndex = 0;
     this.c1DockingTab1.ShowCaption   = true;
     this.c1DockingTab1.ShowSingleTab = false;
     this.c1DockingTab1.Size          = new System.Drawing.Size(240, 600);
     this.c1DockingTab1.TabIndex      = 0;
     this.c1DockingTab1.TabSizeMode   = C1.Win.C1Command.TabSizeModeEnum.Fit;
     this.c1DockingTab1.TabStyle      = C1.Win.C1Command.TabStyleEnum.WindowsXP;
     //
     // c1DockingTabPage1
     //
     this.c1DockingTabPage1.Controls.Add(this.vs);
     this.c1DockingTabPage1.ImageIndex = -1;
     this.c1DockingTabPage1.Location   = new System.Drawing.Point(1, 1);
     this.c1DockingTabPage1.Name       = "c1DockingTabPage1";
     this.c1DockingTabPage1.Size       = new System.Drawing.Size(235, 598);
     this.c1DockingTabPage1.TabIndex   = 0;
     this.c1DockingTabPage1.Text       = "Page1";
     //
     // vs
     //
     this.vs.AllowEditing = false;
     this.vs.AutoResize   = false;
     this.vs.BorderStyle  = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.XpThemes;
     this.vs.ColumnInfo   = "10,1,0,0,0,100,Columns:0{Width:38;}\t";
     this.vs.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.vs.KeyActionTab = C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross;
     this.vs.Location     = new System.Drawing.Point(0, 23);
     this.vs.Name         = "vs";
     this.vs.Size         = new System.Drawing.Size(235, 575);
     this.vs.Styles       = ((C1.Win.C1FlexGrid.CellStyleCollection)(new C1.Win.C1FlexGrid.CellStyleCollection("")));
     this.vs.TabIndex     = 13;
     //
     // c1CommandDock1
     //
     this.c1CommandDock1.Controls.Add(this.c1DockingTab1);
     this.c1CommandDock1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.c1CommandDock1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1CommandDock1.Id       = 1;
     this.c1CommandDock1.Location = new System.Drawing.Point(0, 0);
     this.c1CommandDock1.Name     = "c1CommandDock1";
     this.c1CommandDock1.Size     = new System.Drawing.Size(240, 600);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.txt_RPT_DR);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(4, -4);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(704, 40);
     this.groupBox1.TabIndex  = 9;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Tag       = "N";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.nav);
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panel3.Location = new System.Drawing.Point(240, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(708, 32);
     this.panel3.TabIndex = 12;
     //
     // nav
     //
     this.nav.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.nav.Connection    = null;
     this.nav.ConnectionDel = null;
     this.nav.Dock          = System.Windows.Forms.DockStyle.Left;
     this.nav.Font          = new System.Drawing.Font("Tahoma", 9.75F);
     this.nav.ForeColor     = System.Drawing.Color.Black;
     this.nav.form          = null;
     this.nav.FormName      = null;
     this.nav.Grid          = null;
     this.nav.History       = false;
     this.nav.IsNull        = true;
     this.nav.Language      = "EN";
     this.nav.Location      = new System.Drawing.Point(0, 0);
     this.nav.MSG_Exit      = false;
     this.nav.MulltiDel     = false;
     this.nav.Name          = "nav";
     this.nav.Security      = 0;
     this.nav.ShowPopupMenu = true;
     this.nav.Size          = new System.Drawing.Size(292, 32);
     this.nav.TabIndex      = 28;
     this.nav.Tag           = "";
     this.nav.ToolBar_Auto  = true;
     this.nav.UserID        = null;
     this.nav.VisibleGrid   = true;
     this.nav.Where         = null;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(708, 32);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "N";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(240, 32);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(708, 568);
     this.panel1.TabIndex = 13;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.p);
     this.panel4.Controls.Add(this.panel6);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 43);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(708, 525);
     this.panel4.TabIndex = 12;
     //
     // p
     //
     this.p.Controls.Add(this.panel8);
     this.p.Controls.Add(this.splitter3);
     this.p.Controls.Add(this.panel7);
     this.p.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.p.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.p.Location = new System.Drawing.Point(0, 0);
     this.p.Name     = "p";
     this.p.Size     = new System.Drawing.Size(708, 309);
     this.p.TabIndex = 2;
     //
     // panel8
     //
     this.panel8.Controls.Add(this.panel5);
     this.panel8.Controls.Add(this.nav2);
     this.panel8.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel8.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panel8.Location = new System.Drawing.Point(283, 0);
     this.panel8.Name     = "panel8";
     this.panel8.Size     = new System.Drawing.Size(425, 309);
     this.panel8.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.Controls.Add(this.vs2);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 32);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(425, 277);
     this.panel5.TabIndex = 31;
     //
     // vs2
     //
     this.vs2.AllowDragging = C1.Win.C1FlexGrid.AllowDraggingEnum.Both;
     this.vs2.AutoResize    = false;
     this.vs2.BorderStyle   = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.XpThemes;
     this.vs2.ColumnInfo    = "10,1,0,0,0,100,Columns:0{Width:38;}\t";
     this.vs2.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.vs2.KeyActionTab  = C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross;
     this.vs2.Location      = new System.Drawing.Point(0, 0);
     this.vs2.Name          = "vs2";
     this.vs2.Size          = new System.Drawing.Size(425, 277);
     this.vs2.Styles        = ((C1.Win.C1FlexGrid.CellStyleCollection)(new C1.Win.C1FlexGrid.CellStyleCollection("")));
     this.vs2.TabIndex      = 15;
     //
     // nav2
     //
     this.nav2.BackColor     = System.Drawing.SystemColors.Control;
     this.nav2.Connection    = null;
     this.nav2.ConnectionDel = null;
     this.nav2.Dock          = System.Windows.Forms.DockStyle.Top;
     this.nav2.Font          = new System.Drawing.Font("Tahoma", 9.75F);
     this.nav2.ForeColor     = System.Drawing.Color.Black;
     this.nav2.form          = null;
     this.nav2.FormName      = null;
     this.nav2.Grid          = null;
     this.nav2.History       = false;
     this.nav2.IsNull        = true;
     this.nav2.Language      = "EN";
     this.nav2.Location      = new System.Drawing.Point(0, 0);
     this.nav2.MSG_Exit      = false;
     this.nav2.MulltiDel     = false;
     this.nav2.Name          = "nav2";
     this.nav2.Security      = 0;
     this.nav2.ShowPopupMenu = true;
     this.nav2.Size          = new System.Drawing.Size(425, 32);
     this.nav2.TabIndex      = 30;
     this.nav2.Tag           = "";
     this.nav2.ToolBar_Auto  = true;
     this.nav2.UserID        = null;
     this.nav2.VisibleGrid   = true;
     this.nav2.Where         = null;
     //
     // splitter3
     //
     this.splitter3.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.splitter3.Location = new System.Drawing.Point(280, 0);
     this.splitter3.Name     = "splitter3";
     this.splitter3.Size     = new System.Drawing.Size(3, 309);
     this.splitter3.TabIndex = 1;
     this.splitter3.TabStop  = false;
     //
     // panel7
     //
     this.panel7.Controls.Add(this.nav1);
     this.panel7.Controls.Add(this.vs1);
     this.panel7.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel7.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panel7.Location = new System.Drawing.Point(0, 0);
     this.panel7.Name     = "panel7";
     this.panel7.Size     = new System.Drawing.Size(280, 309);
     this.panel7.TabIndex = 0;
     //
     // nav1
     //
     this.nav1.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.nav1.Connection    = null;
     this.nav1.ConnectionDel = null;
     this.nav1.Font          = new System.Drawing.Font("Tahoma", 9.75F);
     this.nav1.ForeColor     = System.Drawing.Color.Black;
     this.nav1.form          = null;
     this.nav1.FormName      = null;
     this.nav1.Grid          = null;
     this.nav1.History       = false;
     this.nav1.IsNull        = true;
     this.nav1.Language      = "EN";
     this.nav1.Location      = new System.Drawing.Point(-6, 0);
     this.nav1.MSG_Exit      = false;
     this.nav1.MulltiDel     = false;
     this.nav1.Name          = "nav1";
     this.nav1.Security      = 0;
     this.nav1.ShowPopupMenu = true;
     this.nav1.Size          = new System.Drawing.Size(292, 32);
     this.nav1.TabIndex      = 29;
     this.nav1.Tag           = "";
     this.nav1.ToolBar_Auto  = true;
     this.nav1.UserID        = null;
     this.nav1.Visible       = false;
     this.nav1.VisibleGrid   = true;
     this.nav1.Where         = null;
     //
     // vs1
     //
     this.vs1.AllowEditing = false;
     this.vs1.AutoResize   = false;
     this.vs1.BorderStyle  = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.XpThemes;
     this.vs1.ColumnInfo   = "10,1,0,0,0,100,Columns:0{Width:38;}\t";
     this.vs1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.vs1.KeyActionTab = C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross;
     this.vs1.Location     = new System.Drawing.Point(0, 0);
     this.vs1.Name         = "vs1";
     this.vs1.Size         = new System.Drawing.Size(280, 309);
     this.vs1.Styles       = ((C1.Win.C1FlexGrid.CellStyleCollection)(new C1.Win.C1FlexGrid.CellStyleCollection("")));
     this.vs1.TabIndex     = 14;
     //
     // panel6
     //
     this.panel6.Controls.Add(this.cmd_close);
     this.panel6.Controls.Add(this.cmd_print);
     this.panel6.Controls.Add(this.panel9);
     this.panel6.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel6.Location = new System.Drawing.Point(0, 309);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(708, 216);
     this.panel6.TabIndex = 1;
     //
     // cmd_close
     //
     this.cmd_close.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cmd_close.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location     = new System.Drawing.Point(392, 176);
     this.cmd_close.Name         = "cmd_close";
     this.cmd_close.Size         = new System.Drawing.Size(92, 32);
     this.cmd_close.TabIndex     = 169;
     this.cmd_close.Text         = "button2";
     //
     // cmd_print
     //
     this.cmd_print.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_print.Location  = new System.Drawing.Point(224, 176);
     this.cmd_print.Name      = "cmd_print";
     this.cmd_print.Size      = new System.Drawing.Size(92, 32);
     this.cmd_print.TabIndex  = 168;
     this.cmd_print.Text      = "button1";
     this.cmd_print.Click    += new System.EventHandler(this.cmd_print_Click);
     //
     // panel9
     //
     this.panel9.Controls.Add(this.control1);
     this.panel9.Controls.Add(this.dt1);
     this.panel9.Controls.Add(this.dt2);
     this.panel9.Controls.Add(this.ck);
     this.panel9.Controls.Add(this.label2);
     this.panel9.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel9.Location = new System.Drawing.Point(0, 0);
     this.panel9.Name     = "panel9";
     this.panel9.Size     = new System.Drawing.Size(708, 168);
     this.panel9.TabIndex = 167;
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(4, 0);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 1;
     //
     // dt1
     //
     this.dt1.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location   = new System.Drawing.Point(544, 16);
     this.dt1.Name       = "dt1";
     this.dt1.Size       = new System.Drawing.Size(132, 23);
     this.dt1.TabIndex   = 164;
     this.dt1.Tag        = null;
     //
     // dt2
     //
     this.dt2.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location   = new System.Drawing.Point(544, 44);
     this.dt2.Name       = "dt2";
     this.dt2.Size       = new System.Drawing.Size(132, 23);
     this.dt2.TabIndex   = 165;
     this.dt2.Tag        = null;
     //
     // ck
     //
     this.ck.Checked         = true;
     this.ck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.ck.Location        = new System.Drawing.Point(456, 12);
     this.ck.Name            = "ck";
     this.ck.Size            = new System.Drawing.Size(92, 28);
     this.ck.TabIndex        = 2;
     this.ck.Text            = "checkBox1";
     this.ck.CheckedChanged += new System.EventHandler(this.ck_CheckedChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(460, 48);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(88, 20);
     this.label2.TabIndex = 166;
     this.label2.Text     = "label2";
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter1.Location = new System.Drawing.Point(0, 40);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(708, 3);
     this.splitter1.TabIndex = 11;
     this.splitter1.TabStop  = false;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.groupBox1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(708, 40);
     this.panel2.TabIndex = 10;
     //
     // frmTaTAPrintOut
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(948, 600);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.c1CommandDock1);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "frmTaTAPrintOut";
     this.Text  = "frmTaTAPrintOut";
     this.Load += new System.EventHandler(this.frmTaTAPrintOut_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1DockingTab1)).EndInit();
     this.c1DockingTab1.ResumeLayout(false);
     this.c1DockingTabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vs)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandDock1)).EndInit();
     this.c1CommandDock1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.p.ResumeLayout(false);
     this.panel8.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vs2)).EndInit();
     this.panel7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vs1)).EndInit();
     this.panel6.ResumeLayout(false);
     this.panel9.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.cmd_close = new System.Windows.Forms.Button();
     this.cmd_OK    = new System.Windows.Forms.Button();
     this.pro       = new System.Windows.Forms.ProgressBar();
     this.lb        = new System.Windows.Forms.Label();
     this.lb2       = new System.Windows.Forms.Label();
     this.dtpto     = new C1.Win.C1Input.C1DateEdit();
     this.dtpfrom   = new C1.Win.C1Input.C1DateEdit();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtpto)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtpfrom)).BeginInit();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(446, 36);
     this.panel3.TabIndex = 5;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(446, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 71);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 6;
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(261, 299);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(116, 36);
     this.cmd_close.TabIndex  = 27;
     this.cmd_close.Text      = "Close";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_OK
     //
     this.cmd_OK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_OK.Location  = new System.Drawing.Point(69, 299);
     this.cmd_OK.Name      = "cmd_OK";
     this.cmd_OK.Size      = new System.Drawing.Size(116, 36);
     this.cmd_OK.TabIndex  = 26;
     this.cmd_OK.Text      = "OK";
     this.cmd_OK.Click    += new System.EventHandler(this.cmd_OK_Click);
     //
     // pro
     //
     this.pro.Location = new System.Drawing.Point(4, 235);
     this.pro.Name     = "pro";
     this.pro.Size     = new System.Drawing.Size(436, 16);
     this.pro.TabIndex = 28;
     //
     // lb
     //
     this.lb.BackColor = System.Drawing.Color.Black;
     this.lb.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lb.ForeColor = System.Drawing.Color.White;
     this.lb.Location  = new System.Drawing.Point(4, 251);
     this.lb.Name      = "lb";
     this.lb.Size      = new System.Drawing.Size(436, 23);
     this.lb.TabIndex  = 29;
     this.lb.Tag       = "N";
     this.lb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lb2
     //
     this.lb2.BackColor = System.Drawing.Color.Black;
     this.lb2.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lb2.ForeColor = System.Drawing.Color.White;
     this.lb2.Location  = new System.Drawing.Point(4, 271);
     this.lb2.Name      = "lb2";
     this.lb2.Size      = new System.Drawing.Size(436, 23);
     this.lb2.TabIndex  = 30;
     this.lb2.Tag       = "N";
     this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // dtpto
     //
     this.dtpto.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dtpto.Location   = new System.Drawing.Point(311, 39);
     this.dtpto.Name       = "dtpto";
     this.dtpto.Size       = new System.Drawing.Size(132, 23);
     this.dtpto.TabIndex   = 154;
     this.dtpto.Tag        = null;
     //
     // dtpfrom
     //
     this.dtpfrom.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dtpfrom.Location     = new System.Drawing.Point(88, 39);
     this.dtpfrom.Name         = "dtpfrom";
     this.dtpfrom.Size         = new System.Drawing.Size(132, 23);
     this.dtpfrom.TabIndex     = 153;
     this.dtpfrom.Tag          = null;
     this.dtpfrom.TextChanged += new System.EventHandler(this.dtpfrom_TextChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 43);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 152;
     this.label1.Tag       = "label1";
     this.label1.Text      = "label1";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(227, 43);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(81, 23);
     this.label2.TabIndex  = 155;
     this.label2.Tag       = "label2";
     this.label2.Text      = "label2";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // frmTaCalAnnualLeaveMonth
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(446, 344);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.dtpto);
     this.Controls.Add(this.dtpfrom);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.lb2);
     this.Controls.Add(this.lb);
     this.Controls.Add(this.pro);
     this.Controls.Add(this.cmd_close);
     this.Controls.Add(this.cmd_OK);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.control1);
     this.Font            = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmTaCalAnnualLeaveMonth";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "frmTaCalAnnualLeave";
     this.Load           += new System.EventHandler(this.frmTaCalAnnualLeave_Load);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dtpto)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtpfrom)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.panel1    = new System.Windows.Forms.Panel();
     this.c1        = new System.Windows.Forms.Label();
     this.pro2      = new System.Windows.Forms.ProgressBar();
     this.pro1      = new System.Windows.Forms.ProgressBar();
     this.panel5    = new System.Windows.Forms.Panel();
     this.panel2    = new System.Windows.Forms.Panel();
     this.ck1       = new System.Windows.Forms.CheckBox();
     this.dt2       = new C1.Win.C1Input.C1DateEdit();
     this.dt1       = new C1.Win.C1Input.C1DateEdit();
     this.label1    = new System.Windows.Forms.Label();
     this.cmd_close = new System.Windows.Forms.Button();
     this.cmd_ok    = new System.Windows.Forms.Button();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.label3    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(928, 36);
     this.panel3.TabIndex = 16;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(928, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.c1);
     this.panel1.Controls.Add(this.pro2);
     this.panel1.Controls.Add(this.pro1);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(928, 256);
     this.panel1.TabIndex = 17;
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(0, 220);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(928, 28);
     this.c1.TabIndex  = 8;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro2
     //
     this.pro2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro2.Location = new System.Drawing.Point(0, 200);
     this.pro2.Name     = "pro2";
     this.pro2.Size     = new System.Drawing.Size(928, 16);
     this.pro2.TabIndex = 3;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(0, 180);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(928, 16);
     this.pro1.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location  = new System.Drawing.Point(0, 176);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(928, 4);
     this.panel5.TabIndex  = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.ck1);
     this.panel2.Controls.Add(this.dt2);
     this.panel2.Controls.Add(this.dt1);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.cmd_close);
     this.panel2.Controls.Add(this.cmd_ok);
     this.panel2.Controls.Add(this.control1);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(928, 176);
     this.panel2.TabIndex = 0;
     //
     // ck1
     //
     this.ck1.Location = new System.Drawing.Point(456, 72);
     this.ck1.Name     = "ck1";
     this.ck1.Size     = new System.Drawing.Size(212, 24);
     this.ck1.TabIndex = 159;
     this.ck1.Text     = "checkBox1";
     //
     // dt2
     //
     this.dt2.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location   = new System.Drawing.Point(536, 44);
     this.dt2.Name       = "dt2";
     this.dt2.Size       = new System.Drawing.Size(132, 23);
     this.dt2.TabIndex   = 150;
     this.dt2.Tag        = null;
     //
     // dt1
     //
     this.dt1.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location   = new System.Drawing.Point(536, 16);
     this.dt1.Name       = "dt1";
     this.dt1.Size       = new System.Drawing.Size(132, 23);
     this.dt1.TabIndex   = 149;
     this.dt1.Tag        = null;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(452, 20);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 1;
     this.label1.Text     = "label1";
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(688, 108);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 40);
     this.cmd_close.TabIndex  = 154;
     this.cmd_close.Text      = "button3";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_ok
     //
     this.cmd_ok.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_ok.Location  = new System.Drawing.Point(688, 32);
     this.cmd_ok.Name      = "cmd_ok";
     this.cmd_ok.Size      = new System.Drawing.Size(136, 40);
     this.cmd_ok.TabIndex  = 152;
     this.cmd_ok.Text      = "OK";
     this.cmd_ok.Click    += new System.EventHandler(this.cmd_ok_Click);
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 0;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.SystemColors.Control;
     this.label3.Location  = new System.Drawing.Point(588, 144);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 156;
     this.label3.Tag       = "N";
     this.label3.Text      = "->>";
     this.label3.Visible   = false;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(452, 48);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 151;
     this.label2.Text     = "label2";
     //
     // frmTaInitSalary
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(928, 292);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "frmTaInitSalary";
     this.Text  = "frmTaInitSalary";
     this.Load += new System.EventHandler(this.frmTaInitSalary_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #9
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmTaManagerReport));
            this.panel3 = new System.Windows.Forms.Panel();
            this.nav    = new Navigator1._0.NavigatorAuto();
            this.label5 = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panel4 = new System.Windows.Forms.Panel();
//			this.rp = new AxPrintReportExcel.AxReportExcel();
            this.panel5    = new System.Windows.Forms.Panel();
            this.cmd_ok    = new System.Windows.Forms.Button();
            this.cmd_close = new System.Windows.Forms.Button();
            this.panel6    = new System.Windows.Forms.Panel();
            this.p5        = new System.Windows.Forms.Panel();
            this.control1  = new GP8000.UserControl.CrtTaCondition1();
            this.p4        = new System.Windows.Forms.Panel();
            this.ck_vat    = new System.Windows.Forms.CheckBox();
            this.ck_labour = new System.Windows.Forms.CheckBox();
            this.p3        = new System.Windows.Forms.Panel();
            this.dt_m      = new System.Windows.Forms.DateTimePicker();
            this.label3    = new System.Windows.Forms.Label();
            this.p2        = new System.Windows.Forms.Panel();
            this.label2    = new System.Windows.Forms.Label();
            this.dt_y      = new System.Windows.Forms.DateTimePicker();
            this.cb_q      = new System.Windows.Forms.ComboBox();
            this.p1        = new System.Windows.Forms.Panel();
            this.label1    = new System.Windows.Forms.Label();
            this.dt_dt2    = new System.Windows.Forms.DateTimePicker();
            this.dt_dt1    = new System.Windows.Forms.DateTimePicker();
            this.splitter1 = new System.Windows.Forms.Splitter();
            this.panel2    = new System.Windows.Forms.Panel();
            this.vs        = new C1.Win.C1FlexGrid.C1FlexGrid();
            this.panel3.SuspendLayout();
            this.panel1.SuspendLayout();
//			this.panel4.SuspendLayout();
//			((System.ComponentModel.ISupportInitialize)(this.rp)).BeginInit();
            this.panel5.SuspendLayout();
            this.p5.SuspendLayout();
            this.p4.SuspendLayout();
            this.p3.SuspendLayout();
            this.p2.SuspendLayout();
            this.p1.SuspendLayout();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.vs)).BeginInit();
            this.SuspendLayout();
            //
            // panel3
            //
            this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
            this.panel3.Controls.Add(this.nav);
            this.panel3.Controls.Add(this.label5);
            this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel3.Location = new System.Drawing.Point(0, 0);
            this.panel3.Name     = "panel3";
            this.panel3.Size     = new System.Drawing.Size(904, 36);
            this.panel3.TabIndex = 5;
            //
            // nav
            //
            this.nav.BackColor     = System.Drawing.Color.LightSteelBlue;
            this.nav.Connection    = null;
            this.nav.ConnectionDel = null;
            this.nav.Dock          = System.Windows.Forms.DockStyle.Left;
            this.nav.Font          = new System.Drawing.Font("Tahoma", 9.75F);
            this.nav.form          = null;
            this.nav.FormName      = null;
            this.nav.Grid          = null;
            this.nav.History       = false;
            this.nav.IsNull        = true;
            this.nav.Language      = "EN";
            this.nav.Location      = new System.Drawing.Point(0, 0);
            this.nav.MSG_Exit      = false;
            this.nav.MulltiDel     = false;
            this.nav.Name          = "nav";
            this.nav.Security      = 0;
            this.nav.ShowPopupMenu = true;
            this.nav.Size          = new System.Drawing.Size(360, 36);
            this.nav.TabIndex      = 28;
            this.nav.Tag           = "";
            this.nav.ToolBar_Auto  = true;
            this.nav.UserID        = null;
            this.nav.Visible       = false;
            this.nav.VisibleGrid   = true;
            this.nav.Where         = null;
            //
            // label5
            //
            this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
            this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
            this.label5.Location  = new System.Drawing.Point(0, 0);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(904, 36);
            this.label5.TabIndex  = 11;
            this.label5.Tag       = "N";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panel1
            //
            this.panel1.Controls.Add(this.panel4);
            this.panel1.Controls.Add(this.splitter1);
            this.panel1.Controls.Add(this.panel2);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 36);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(904, 468);
            this.panel1.TabIndex = 6;
            //
            // panel4
            //
//			this.panel4.Controls.Add(this.rp);
            this.panel4.Controls.Add(this.panel5);
            this.panel4.Controls.Add(this.panel6);
            this.panel4.Controls.Add(this.p5);
            this.panel4.Controls.Add(this.p4);
            this.panel4.Controls.Add(this.p3);
            this.panel4.Controls.Add(this.p2);
            this.panel4.Controls.Add(this.p1);
            this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panel4.Location = new System.Drawing.Point(367, 0);
            this.panel4.Name     = "panel4";
            this.panel4.Size     = new System.Drawing.Size(537, 468);
            this.panel4.TabIndex = 2;
            //
            // rp
            //
//			this.rp.ContainingControl = this;
//			this.rp.Enabled = true;
//			this.rp.Location = new System.Drawing.Point(148, 392);
//			this.rp.Name = "rp";
//			this.rp.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("rp.OcxState")));
//			this.rp.Size = new System.Drawing.Size(85, 20);
//			this.rp.TabIndex = 29;
//			this.rp.Visible = false;
            //
            // panel5
            //
            this.panel5.Controls.Add(this.cmd_ok);
            this.panel5.Controls.Add(this.cmd_close);
            this.panel5.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel5.Location = new System.Drawing.Point(0, 308);
            this.panel5.Name     = "panel5";
            this.panel5.Size     = new System.Drawing.Size(537, 56);
            this.panel5.TabIndex = 28;
            //
            // cmd_ok
            //
            this.cmd_ok.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.cmd_ok.Location  = new System.Drawing.Point(80, 8);
            this.cmd_ok.Name      = "cmd_ok";
            this.cmd_ok.Size      = new System.Drawing.Size(116, 36);
            this.cmd_ok.TabIndex  = 26;
            this.cmd_ok.Text      = "Save";
            this.cmd_ok.Click    += new System.EventHandler(this.cmd_ok_Click);
            //
            // cmd_close
            //
            this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.cmd_close.Location  = new System.Drawing.Point(260, 8);
            this.cmd_close.Name      = "cmd_close";
            this.cmd_close.Size      = new System.Drawing.Size(116, 36);
            this.cmd_close.TabIndex  = 27;
            this.cmd_close.Text      = "Close";
            this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
            //
            // panel6
            //
            this.panel6.BackColor = System.Drawing.Color.CornflowerBlue;
            this.panel6.Dock      = System.Windows.Forms.DockStyle.Top;
            this.panel6.Location  = new System.Drawing.Point(0, 304);
            this.panel6.Name      = "panel6";
            this.panel6.Size      = new System.Drawing.Size(537, 4);
            this.panel6.TabIndex  = 5;
            //
            // p5
            //
            this.p5.Controls.Add(this.control1);
            this.p5.Dock     = System.Windows.Forms.DockStyle.Top;
            this.p5.Location = new System.Drawing.Point(0, 132);
            this.p5.Name     = "p5";
            this.p5.Size     = new System.Drawing.Size(537, 172);
            this.p5.TabIndex = 4;
            //
            // control1
            //
            this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.control1.Location = new System.Drawing.Point(8, 0);
            this.control1.Name     = "control1";
            this.control1.Size     = new System.Drawing.Size(460, 176);
            this.control1.TabIndex = 0;
            //
            // p4
            //
            this.p4.Controls.Add(this.ck_vat);
            this.p4.Controls.Add(this.ck_labour);
            this.p4.Dock     = System.Windows.Forms.DockStyle.Top;
            this.p4.Location = new System.Drawing.Point(0, 100);
            this.p4.Name     = "p4";
            this.p4.Size     = new System.Drawing.Size(537, 32);
            this.p4.TabIndex = 3;
            //
            // ck_vat
            //
            this.ck_vat.Location = new System.Drawing.Point(280, 4);
            this.ck_vat.Name     = "ck_vat";
            this.ck_vat.TabIndex = 1;
            this.ck_vat.Text     = "checkBox2";
            //
            // ck_labour
            //
            this.ck_labour.Location = new System.Drawing.Point(148, 4);
            this.ck_labour.Name     = "ck_labour";
            this.ck_labour.TabIndex = 0;
            this.ck_labour.Text     = "checkBox1";
            //
            // p3
            //
            this.p3.Controls.Add(this.dt_m);
            this.p3.Controls.Add(this.label3);
            this.p3.Dock     = System.Windows.Forms.DockStyle.Top;
            this.p3.Location = new System.Drawing.Point(0, 68);
            this.p3.Name     = "p3";
            this.p3.Size     = new System.Drawing.Size(537, 32);
            this.p3.TabIndex = 2;
            //
            // dt_m
            //
            this.dt_m.CustomFormat = "yyyyMM";
            this.dt_m.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dt_m.Location     = new System.Drawing.Point(144, 4);
            this.dt_m.Name         = "dt_m";
            this.dt_m.Size         = new System.Drawing.Size(108, 23);
            this.dt_m.TabIndex     = 5;
            //
            // label3
            //
            this.label3.Location = new System.Drawing.Point(8, 8);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(140, 23);
            this.label3.TabIndex = 6;
            this.label3.Text     = "label3";
            //
            // p2
            //
            this.p2.Controls.Add(this.label2);
            this.p2.Controls.Add(this.dt_y);
            this.p2.Controls.Add(this.cb_q);
            this.p2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.p2.Location = new System.Drawing.Point(0, 36);
            this.p2.Name     = "p2";
            this.p2.Size     = new System.Drawing.Size(537, 32);
            this.p2.TabIndex = 1;
            //
            // label2
            //
            this.label2.Location = new System.Drawing.Point(8, 8);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(136, 23);
            this.label2.TabIndex = 4;
            this.label2.Text     = "label2";
            //
            // dt_y
            //
            this.dt_y.CustomFormat = "yyyy";
            this.dt_y.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dt_y.Location     = new System.Drawing.Point(144, 4);
            this.dt_y.Name         = "dt_y";
            this.dt_y.Size         = new System.Drawing.Size(108, 23);
            this.dt_y.TabIndex     = 3;
            //
            // cb_q
            //
            this.cb_q.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cb_q.Items.AddRange(new object[] {
                "1",
                "2",
                "3",
                "4"
            });
            this.cb_q.Location = new System.Drawing.Point(276, 4);
            this.cb_q.Name     = "cb_q";
            this.cb_q.Size     = new System.Drawing.Size(108, 24);
            this.cb_q.TabIndex = 7;
            //
            // p1
            //
            this.p1.Controls.Add(this.label1);
            this.p1.Controls.Add(this.dt_dt2);
            this.p1.Controls.Add(this.dt_dt1);
            this.p1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.p1.Location = new System.Drawing.Point(0, 0);
            this.p1.Name     = "p1";
            this.p1.Size     = new System.Drawing.Size(537, 36);
            this.p1.TabIndex = 0;
            //
            // label1
            //
            this.label1.Location = new System.Drawing.Point(8, 12);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(136, 23);
            this.label1.TabIndex = 2;
            this.label1.Text     = "label1";
            //
            // dt_dt2
            //
            this.dt_dt2.CustomFormat = "yyyy/MM/dd";
            this.dt_dt2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dt_dt2.Location     = new System.Drawing.Point(276, 8);
            this.dt_dt2.Name         = "dt_dt2";
            this.dt_dt2.Size         = new System.Drawing.Size(108, 23);
            this.dt_dt2.TabIndex     = 1;
            //
            // dt_dt1
            //
            this.dt_dt1.CustomFormat = "yyyy/MM/dd";
            this.dt_dt1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dt_dt1.Location     = new System.Drawing.Point(144, 8);
            this.dt_dt1.Name         = "dt_dt1";
            this.dt_dt1.Size         = new System.Drawing.Size(108, 23);
            this.dt_dt1.TabIndex     = 0;
            //
            // splitter1
            //
            this.splitter1.Location = new System.Drawing.Point(364, 0);
            this.splitter1.Name     = "splitter1";
            this.splitter1.Size     = new System.Drawing.Size(3, 468);
            this.splitter1.TabIndex = 1;
            this.splitter1.TabStop  = false;
            //
            // panel2
            //
            this.panel2.Controls.Add(this.vs);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(364, 468);
            this.panel2.TabIndex = 0;
            //
            // vs
            //
            this.vs.AllowEditing = false;
            this.vs.BorderStyle  = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.XpThemes;
            this.vs.ColumnInfo   = "10,1,0,0,0,100,Columns:0{Width:38;}\t";
            this.vs.Dock         = System.Windows.Forms.DockStyle.Fill;
            this.vs.Font         = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.vs.KeyActionTab = C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross;
            this.vs.Location     = new System.Drawing.Point(0, 0);
            this.vs.Name         = "vs";
            this.vs.Size         = new System.Drawing.Size(364, 468);
            this.vs.Styles       = ((C1.Win.C1FlexGrid.CellStyleCollection)(new C1.Win.C1FlexGrid.CellStyleCollection("")));
            this.vs.TabIndex     = 27;
            //
            // frmTaManagerReport
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
            this.ClientSize        = new System.Drawing.Size(904, 504);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.panel3);
            this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Name  = "frmTaManagerReport";
            this.Text  = "frmTaManagerReport";
            this.Load += new System.EventHandler(this.frmTaHRReport_Load);
            this.panel3.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
//			this.panel4.ResumeLayout(false);
//			((System.ComponentModel.ISupportInitialize)(this.rp)).EndInit();
            this.panel5.ResumeLayout(false);
            this.p5.ResumeLayout(false);
            this.p4.ResumeLayout(false);
            this.p3.ResumeLayout(false);
            this.p2.ResumeLayout(false);
            this.p1.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.vs)).EndInit();
            this.ResumeLayout(false);
        }
Beispiel #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3          = new System.Windows.Forms.Panel();
     this.label5          = new System.Windows.Forms.Label();
     this.panel1          = new System.Windows.Forms.Panel();
     this.cmd_stop        = new System.Windows.Forms.Button();
     this.c1              = new System.Windows.Forms.Label();
     this.pro2            = new System.Windows.Forms.ProgressBar();
     this.pro1            = new System.Windows.Forms.ProgressBar();
     this.panel5          = new System.Windows.Forms.Panel();
     this.panel2          = new System.Windows.Forms.Panel();
     this.dt3             = new C1.Win.C1Input.C1DateEdit();
     this.label6          = new System.Windows.Forms.Label();
     this.dt2             = new C1.Win.C1Input.C1DateEdit();
     this.dt1             = new C1.Win.C1Input.C1DateEdit();
     this.label1          = new System.Windows.Forms.Label();
     this.cmd_close       = new System.Windows.Forms.Button();
     this.cmd_mon         = new System.Windows.Forms.Button();
     this.control1        = new GP8000.UserControl.CrtTaCondition1();
     this.label3          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.panel4          = new System.Windows.Forms.Panel();
     this.chkUpdateSalary = new System.Windows.Forms.CheckBox();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(840, 36);
     this.panel3.TabIndex = 13;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(840, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmd_stop);
     this.panel1.Controls.Add(this.c1);
     this.panel1.Controls.Add(this.pro2);
     this.panel1.Controls.Add(this.pro1);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(840, 312);
     this.panel1.TabIndex = 14;
     //
     // cmd_stop
     //
     this.cmd_stop.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_stop.Location  = new System.Drawing.Point(352, 260);
     this.cmd_stop.Name      = "cmd_stop";
     this.cmd_stop.Size      = new System.Drawing.Size(136, 40);
     this.cmd_stop.TabIndex  = 155;
     this.cmd_stop.Text      = "Stop";
     this.cmd_stop.Click    += new System.EventHandler(this.cmd_stop_Click);
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(0, 220);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(840, 28);
     this.c1.TabIndex  = 8;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro2
     //
     this.pro2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro2.Location = new System.Drawing.Point(0, 200);
     this.pro2.Name     = "pro2";
     this.pro2.Size     = new System.Drawing.Size(840, 16);
     this.pro2.TabIndex = 3;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(0, 180);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(840, 16);
     this.pro1.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location  = new System.Drawing.Point(0, 176);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(840, 4);
     this.panel5.TabIndex  = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.dt3);
     this.panel2.Controls.Add(this.label6);
     this.panel2.Controls.Add(this.dt2);
     this.panel2.Controls.Add(this.dt1);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.cmd_close);
     this.panel2.Controls.Add(this.cmd_mon);
     this.panel2.Controls.Add(this.control1);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(840, 176);
     this.panel2.TabIndex = 0;
     //
     // dt3
     //
     this.dt3.CustomFormat = "yyyyMM";
     this.dt3.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt3.Location     = new System.Drawing.Point(536, 68);
     this.dt3.Name         = "dt3";
     this.dt3.Size         = new System.Drawing.Size(132, 23);
     this.dt3.TabIndex     = 159;
     this.dt3.Tag          = null;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(452, 72);
     this.label6.Name     = "label6";
     this.label6.TabIndex = 160;
     this.label6.Text     = "label6";
     //
     // dt2
     //
     this.dt2.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location   = new System.Drawing.Point(536, 40);
     this.dt2.Name       = "dt2";
     this.dt2.Size       = new System.Drawing.Size(132, 23);
     this.dt2.TabIndex   = 150;
     this.dt2.Tag        = null;
     this.dt2.Leave     += new System.EventHandler(this.dt2_Leave);
     //
     // dt1
     //
     this.dt1.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location   = new System.Drawing.Point(536, 12);
     this.dt1.Name       = "dt1";
     this.dt1.Size       = new System.Drawing.Size(132, 23);
     this.dt1.TabIndex   = 149;
     this.dt1.Tag        = null;
     this.dt1.Leave     += new System.EventHandler(this.dt2_Leave);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(452, 16);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 1;
     this.label1.Text     = "label1";
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(692, 104);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 40);
     this.cmd_close.TabIndex  = 154;
     this.cmd_close.Text      = "Close";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_mon
     //
     this.cmd_mon.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_mon.Location  = new System.Drawing.Point(692, 28);
     this.cmd_mon.Name      = "cmd_mon";
     this.cmd_mon.Size      = new System.Drawing.Size(136, 40);
     this.cmd_mon.TabIndex  = 152;
     this.cmd_mon.Text      = "Subsidy";
     this.cmd_mon.Click    += new System.EventHandler(this.cmd_mon_Click);
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 0;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.SystemColors.Control;
     this.label3.Location  = new System.Drawing.Point(712, 88);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 156;
     this.label3.Tag       = "N";
     this.label3.Text      = "->>";
     this.label3.Visible   = false;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(452, 44);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 151;
     this.label2.Text     = "label2";
     //
     // panel4
     //
     this.panel4.Controls.Add(this.chkUpdateSalary);
     this.panel4.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panel4.Location = new System.Drawing.Point(448, 4);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(232, 164);
     this.panel4.TabIndex = 162;
     //
     // chkUpdateSalary
     //
     this.chkUpdateSalary.Location = new System.Drawing.Point(8, 96);
     this.chkUpdateSalary.Name     = "chkUpdateSalary";
     this.chkUpdateSalary.Size     = new System.Drawing.Size(208, 24);
     this.chkUpdateSalary.TabIndex = 0;
     this.chkUpdateSalary.Text     = "checkBox1";
     //
     // frmTaSubsidyCal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(840, 348);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "frmTaSubsidyCal";
     this.Text  = "frmTaSubsidyCal";
     this.Load += new System.EventHandler(this.frmTaCardDataSwitch_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     this.panel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.panel1    = new System.Windows.Forms.Panel();
     this.panel4    = new System.Windows.Forms.Panel();
     this.panel2    = new System.Windows.Forms.Panel();
     this.btUnLock  = new System.Windows.Forms.Button();
     this.cmd_ok    = new System.Windows.Forms.Button();
     this.cmd_close = new System.Windows.Forms.Button();
     this.panel5    = new System.Windows.Forms.Panel();
     this.rdsalary  = new System.Windows.Forms.RadioButton();
     this.rdaddup   = new System.Windows.Forms.RadioButton();
     this.rdatt     = new System.Windows.Forms.RadioButton();
     this.panel6    = new System.Windows.Forms.Panel();
     this.p5        = new System.Windows.Forms.Panel();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.p1        = new System.Windows.Forms.Panel();
     this.label1    = new System.Windows.Forms.Label();
     this.dt_dt2    = new System.Windows.Forms.DateTimePicker();
     this.dt_dt1    = new System.Windows.Forms.DateTimePicker();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel5.SuspendLayout();
     this.p5.SuspendLayout();
     this.p1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(760, 36);
     this.panel3.TabIndex = 5;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(760, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "N";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(760, 318);
     this.panel1.TabIndex = 6;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.panel2);
     this.panel4.Controls.Add(this.panel5);
     this.panel4.Controls.Add(this.panel6);
     this.panel4.Controls.Add(this.p5);
     this.panel4.Controls.Add(this.p1);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(3, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(757, 318);
     this.panel4.TabIndex = 2;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btUnLock);
     this.panel2.Controls.Add(this.cmd_ok);
     this.panel2.Controls.Add(this.cmd_close);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 264);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(757, 52);
     this.panel2.TabIndex = 29;
     //
     // btUnLock
     //
     this.btUnLock.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btUnLock.Location  = new System.Drawing.Point(200, 8);
     this.btUnLock.Name      = "btUnLock";
     this.btUnLock.Size      = new System.Drawing.Size(88, 36);
     this.btUnLock.TabIndex  = 31;
     this.btUnLock.Text      = "UnLock";
     this.btUnLock.Click    += new System.EventHandler(this.btUnLock_Click);
     //
     // cmd_ok
     //
     this.cmd_ok.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_ok.Location  = new System.Drawing.Point(40, 8);
     this.cmd_ok.Name      = "cmd_ok";
     this.cmd_ok.Size      = new System.Drawing.Size(88, 36);
     this.cmd_ok.TabIndex  = 29;
     this.cmd_ok.Text      = "Lock";
     this.cmd_ok.Click    += new System.EventHandler(this.cmd_ok_Click);
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(368, 8);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(104, 36);
     this.cmd_close.TabIndex  = 30;
     this.cmd_close.Text      = "Close";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // panel5
     //
     this.panel5.Controls.Add(this.rdsalary);
     this.panel5.Controls.Add(this.rdaddup);
     this.panel5.Controls.Add(this.rdatt);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location = new System.Drawing.Point(0, 212);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(757, 52);
     this.panel5.TabIndex = 28;
     //
     // rdsalary
     //
     this.rdsalary.Location = new System.Drawing.Point(400, 16);
     this.rdsalary.Name     = "rdsalary";
     this.rdsalary.Size     = new System.Drawing.Size(144, 16);
     this.rdsalary.TabIndex = 2;
     this.rdsalary.Tag      = "N";
     this.rdsalary.Text     = "Salary";
     //
     // rdaddup
     //
     this.rdaddup.Location = new System.Drawing.Point(216, 18);
     this.rdaddup.Name     = "rdaddup";
     this.rdaddup.Size     = new System.Drawing.Size(144, 16);
     this.rdaddup.TabIndex = 1;
     this.rdaddup.Tag      = "N";
     this.rdaddup.Text     = "Month Add Up";
     //
     // rdatt
     //
     this.rdatt.Location = new System.Drawing.Point(24, 16);
     this.rdatt.Name     = "rdatt";
     this.rdatt.Size     = new System.Drawing.Size(144, 16);
     this.rdatt.TabIndex = 0;
     this.rdatt.Tag      = "N";
     this.rdatt.Text     = "Daily Attendance";
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel6.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel6.Location  = new System.Drawing.Point(0, 208);
     this.panel6.Name      = "panel6";
     this.panel6.Size      = new System.Drawing.Size(757, 4);
     this.panel6.TabIndex  = 5;
     //
     // p5
     //
     this.p5.Controls.Add(this.control1);
     this.p5.Dock     = System.Windows.Forms.DockStyle.Top;
     this.p5.Location = new System.Drawing.Point(0, 36);
     this.p5.Name     = "p5";
     this.p5.Size     = new System.Drawing.Size(757, 172);
     this.p5.TabIndex = 4;
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(8, 0);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(460, 176);
     this.control1.TabIndex = 0;
     //
     // p1
     //
     this.p1.Controls.Add(this.label1);
     this.p1.Controls.Add(this.dt_dt2);
     this.p1.Controls.Add(this.dt_dt1);
     this.p1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.p1.Location = new System.Drawing.Point(0, 0);
     this.p1.Name     = "p1";
     this.p1.Size     = new System.Drawing.Size(757, 36);
     this.p1.TabIndex = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(120, 23);
     this.label1.TabIndex = 2;
     this.label1.Text     = "label1";
     this.label1.Visible  = false;
     //
     // dt_dt2
     //
     this.dt_dt2.CustomFormat = "yyyy/MM/dd";
     this.dt_dt2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dt_dt2.Location     = new System.Drawing.Point(276, 8);
     this.dt_dt2.Name         = "dt_dt2";
     this.dt_dt2.Size         = new System.Drawing.Size(108, 23);
     this.dt_dt2.TabIndex     = 1;
     //
     // dt_dt1
     //
     this.dt_dt1.CustomFormat = "yyyy/MM/dd";
     this.dt_dt1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dt_dt1.Location     = new System.Drawing.Point(144, 8);
     this.dt_dt1.Name         = "dt_dt1";
     this.dt_dt1.Size         = new System.Drawing.Size(108, 23);
     this.dt_dt1.TabIndex     = 0;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(0, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 318);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // frmTaAttendanceLock
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(760, 354);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "frmTaAttendanceLock";
     this.Text  = "frmTaAttendanceLock";
     this.Load += new System.EventHandler(this.frmTaHRReport_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.p5.ResumeLayout(false);
     this.p1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmTaPayrollCal));
     this.panel3      = new System.Windows.Forms.Panel();
     this.label5      = new System.Windows.Forms.Label();
     this.panel1      = new System.Windows.Forms.Panel();
     this.panel4      = new System.Windows.Forms.Panel();
     this.label3      = new System.Windows.Forms.Label();
     this.panel2      = new System.Windows.Forms.Panel();
     this.c1          = new System.Windows.Forms.Label();
     this.pro1        = new System.Windows.Forms.ProgressBar();
     this.panel5      = new System.Windows.Forms.Panel();
     this.p1          = new System.Windows.Forms.Panel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.cmd_staff   = new System.Windows.Forms.Button();
     this.dt3         = new C1.Win.C1Input.C1DateEdit();
     this.label6      = new System.Windows.Forms.Label();
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.r2          = new System.Windows.Forms.RadioButton();
     this.r1          = new System.Windows.Forms.RadioButton();
     this.dt2         = new C1.Win.C1Input.C1DateEdit();
     this.dt1         = new C1.Win.C1Input.C1DateEdit();
     this.label1      = new System.Windows.Forms.Label();
     this.label2      = new System.Windows.Forms.Label();
     this.cmd_close   = new System.Windows.Forms.Button();
     this.cmd_att     = new System.Windows.Forms.Button();
     this.control1    = new GP8000.UserControl.CrtTaCondition1();
     this.cmd_sa      = new System.Windows.Forms.Button();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel2.SuspendLayout();
     this.p1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     this.SuspendLayout();
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(996, 36);
     this.panel3.TabIndex = 13;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(0, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(996, 36);
     this.label5.TabIndex  = 11;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.panel5);
     this.panel1.Controls.Add(this.p1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 36);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(996, 400);
     this.panel1.TabIndex = 14;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.label3);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 232);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(996, 168);
     this.panel4.TabIndex = 174;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.LemonChiffon;
     this.label3.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label3.Location  = new System.Drawing.Point(0, 0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(996, 168);
     this.label3.TabIndex  = 172;
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.c1);
     this.panel2.Controls.Add(this.pro1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 180);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(996, 52);
     this.panel2.TabIndex = 173;
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(4, 20);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(988, 28);
     this.c1.TabIndex  = 8;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(4, 4);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(988, 16);
     this.pro1.TabIndex = 2;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel5.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location  = new System.Drawing.Point(0, 176);
     this.panel5.Name      = "panel5";
     this.panel5.Size      = new System.Drawing.Size(996, 4);
     this.panel5.TabIndex  = 1;
     //
     // p1
     //
     this.p1.Controls.Add(this.pictureBox1);
     this.p1.Controls.Add(this.cmd_staff);
     this.p1.Controls.Add(this.dt3);
     this.p1.Controls.Add(this.label6);
     this.p1.Controls.Add(this.groupBox1);
     this.p1.Controls.Add(this.dt2);
     this.p1.Controls.Add(this.dt1);
     this.p1.Controls.Add(this.label1);
     this.p1.Controls.Add(this.label2);
     this.p1.Controls.Add(this.cmd_close);
     this.p1.Controls.Add(this.cmd_att);
     this.p1.Controls.Add(this.control1);
     this.p1.Controls.Add(this.cmd_sa);
     this.p1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.p1.Location = new System.Drawing.Point(0, 0);
     this.p1.Name     = "p1";
     this.p1.Size     = new System.Drawing.Size(996, 176);
     this.p1.TabIndex = 0;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(836, 4);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(148, 168);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 172;
     this.pictureBox1.TabStop  = false;
     //
     // cmd_staff
     //
     this.cmd_staff.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_staff.Location  = new System.Drawing.Point(688, 12);
     this.cmd_staff.Name      = "cmd_staff";
     this.cmd_staff.Size      = new System.Drawing.Size(136, 32);
     this.cmd_staff.TabIndex  = 170;
     this.cmd_staff.Text      = "cal";
     this.cmd_staff.Click    += new System.EventHandler(this.cmd_staff_Click);
     //
     // dt3
     //
     this.dt3.CustomFormat = "yyyyMM";
     this.dt3.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt3.Location     = new System.Drawing.Point(540, 68);
     this.dt3.Name         = "dt3";
     this.dt3.Size         = new System.Drawing.Size(132, 23);
     this.dt3.TabIndex     = 167;
     this.dt3.Tag          = null;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(456, 72);
     this.label6.Name     = "label6";
     this.label6.TabIndex = 168;
     this.label6.Text     = "label6";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.r2);
     this.groupBox1.Controls.Add(this.r1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(456, 88);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(216, 72);
     this.groupBox1.TabIndex  = 169;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Tag       = "N";
     //
     // r2
     //
     this.r2.Checked  = true;
     this.r2.Location = new System.Drawing.Point(12, 44);
     this.r2.Name     = "r2";
     this.r2.Size     = new System.Drawing.Size(184, 24);
     this.r2.TabIndex = 1;
     this.r2.TabStop  = true;
     this.r2.Text     = "radioButton2";
     //
     // r1
     //
     this.r1.Location = new System.Drawing.Point(12, 16);
     this.r1.Name     = "r1";
     this.r1.Size     = new System.Drawing.Size(184, 24);
     this.r1.TabIndex = 0;
     this.r1.Text     = "radioButton1";
     //
     // dt2
     //
     this.dt2.FormatType    = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location      = new System.Drawing.Point(540, 40);
     this.dt2.Name          = "dt2";
     this.dt2.Size          = new System.Drawing.Size(132, 23);
     this.dt2.TabIndex      = 163;
     this.dt2.Tag           = null;
     this.dt2.ValueChanged += new System.EventHandler(this.dt2_ValueChanged);
     //
     // dt1
     //
     this.dt1.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location     = new System.Drawing.Point(540, 12);
     this.dt1.Name         = "dt1";
     this.dt1.Size         = new System.Drawing.Size(132, 23);
     this.dt1.TabIndex     = 162;
     this.dt1.Tag          = null;
     this.dt1.TextChanged += new System.EventHandler(this.dt1_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(456, 16);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 161;
     this.label1.Text     = "label1";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(456, 44);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 164;
     this.label2.Text     = "label2";
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(688, 126);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 32);
     this.cmd_close.TabIndex  = 154;
     this.cmd_close.Text      = "button3";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_att
     //
     this.cmd_att.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_att.Location  = new System.Drawing.Point(688, 88);
     this.cmd_att.Name      = "cmd_att";
     this.cmd_att.Size      = new System.Drawing.Size(136, 32);
     this.cmd_att.TabIndex  = 152;
     this.cmd_att.Text      = "cal";
     this.cmd_att.Click    += new System.EventHandler(this.cmd_att_Click);
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(0, 4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 0;
     //
     // cmd_sa
     //
     this.cmd_sa.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_sa.Location  = new System.Drawing.Point(688, 50);
     this.cmd_sa.Name      = "cmd_sa";
     this.cmd_sa.Size      = new System.Drawing.Size(136, 32);
     this.cmd_sa.TabIndex  = 153;
     this.cmd_sa.Text      = "cal";
     this.cmd_sa.Click    += new System.EventHandler(this.cmd_sa_Click);
     //
     // frmTaPayrollCal
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(996, 436);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel3);
     this.Font  = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "frmTaPayrollCal";
     this.Text  = "frmTaPayrollCal";
     this.Load += new System.EventHandler(this.frmTaCardDataSwitch_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.p1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt3)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1    = new System.Windows.Forms.Panel();
     this.panel2    = new System.Windows.Forms.Panel();
     this.c1        = new System.Windows.Forms.Label();
     this.pro1      = new System.Windows.Forms.ProgressBar();
     this.panel6    = new System.Windows.Forms.Panel();
     this.panel5    = new System.Windows.Forms.Panel();
     this.dt1       = new C1.Win.C1Input.C1DateEdit();
     this.control1  = new GP8000.UserControl.CrtTaCondition1();
     this.dt2       = new C1.Win.C1Input.C1DateEdit();
     this.label1    = new System.Windows.Forms.Label();
     this.cmd_close = new System.Windows.Forms.Button();
     this.cmd_tran  = new System.Windows.Forms.Button();
     this.label6    = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.r2        = new System.Windows.Forms.RadioButton();
     this.r1        = new System.Windows.Forms.RadioButton();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.panel4    = new System.Windows.Forms.Panel();
     this.vs        = new C1.Win.C1FlexGrid.C1FlexGrid();
     this.panel3    = new System.Windows.Forms.Panel();
     this.label5    = new System.Windows.Forms.Label();
     this.panel7    = new System.Windows.Forms.Panel();
     this.nav       = new Navigator1._0.NavigatorAuto();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vs)).BeginInit();
     this.panel3.SuspendLayout();
     this.panel7.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(788, 452);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.c1);
     this.panel2.Controls.Add(this.pro1);
     this.panel2.Controls.Add(this.panel6);
     this.panel2.Controls.Add(this.panel5);
     this.panel2.Controls.Add(this.splitter1);
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 36);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(788, 416);
     this.panel2.TabIndex = 9;
     //
     // c1
     //
     this.c1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.c1.BackColor = System.Drawing.Color.Black;
     this.c1.Font      = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.c1.ForeColor = System.Drawing.Color.White;
     this.c1.Location  = new System.Drawing.Point(4, 380);
     this.c1.Name      = "c1";
     this.c1.Size      = new System.Drawing.Size(780, 28);
     this.c1.TabIndex  = 181;
     this.c1.Tag       = "N";
     this.c1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pro1
     //
     this.pro1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.pro1.Location = new System.Drawing.Point(4, 360);
     this.pro1.Name     = "pro1";
     this.pro1.Size     = new System.Drawing.Size(780, 16);
     this.pro1.TabIndex = 180;
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.Color.CornflowerBlue;
     this.panel6.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel6.Location  = new System.Drawing.Point(0, 352);
     this.panel6.Name      = "panel6";
     this.panel6.Size      = new System.Drawing.Size(788, 4);
     this.panel6.TabIndex  = 179;
     //
     // panel5
     //
     this.panel5.Controls.Add(this.dt1);
     this.panel5.Controls.Add(this.control1);
     this.panel5.Controls.Add(this.dt2);
     this.panel5.Controls.Add(this.label1);
     this.panel5.Controls.Add(this.cmd_close);
     this.panel5.Controls.Add(this.cmd_tran);
     this.panel5.Controls.Add(this.label6);
     this.panel5.Controls.Add(this.groupBox1);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location = new System.Drawing.Point(0, 187);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(788, 165);
     this.panel5.TabIndex = 178;
     //
     // dt1
     //
     this.dt1.CustomFormat = "yyyyMM";
     this.dt1.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt1.Location     = new System.Drawing.Point(516, 16);
     this.dt1.Name         = "dt1";
     this.dt1.Size         = new System.Drawing.Size(120, 23);
     this.dt1.TabIndex     = 170;
     this.dt1.Tag          = null;
     //
     // control1
     //
     this.control1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.control1.Location = new System.Drawing.Point(4, -4);
     this.control1.Name     = "control1";
     this.control1.Size     = new System.Drawing.Size(444, 164);
     this.control1.TabIndex = 173;
     //
     // dt2
     //
     this.dt2.CustomFormat = "yyyyMM";
     this.dt2.FormatType   = C1.Win.C1Input.FormatTypeEnum.CustomFormat;
     this.dt2.Location     = new System.Drawing.Point(516, 44);
     this.dt2.Name         = "dt2";
     this.dt2.Size         = new System.Drawing.Size(120, 23);
     this.dt2.TabIndex     = 174;
     this.dt2.Tag          = null;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(452, 44);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 23);
     this.label1.TabIndex = 175;
     this.label1.Text     = "label1";
     //
     // cmd_close
     //
     this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_close.Location  = new System.Drawing.Point(648, 100);
     this.cmd_close.Name      = "cmd_close";
     this.cmd_close.Size      = new System.Drawing.Size(136, 40);
     this.cmd_close.TabIndex  = 177;
     this.cmd_close.Text      = "button3";
     this.cmd_close.Click    += new System.EventHandler(this.cmd_close_Click);
     //
     // cmd_tran
     //
     this.cmd_tran.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmd_tran.Location  = new System.Drawing.Point(648, 28);
     this.cmd_tran.Name      = "cmd_tran";
     this.cmd_tran.Size      = new System.Drawing.Size(136, 40);
     this.cmd_tran.TabIndex  = 176;
     this.cmd_tran.Text      = "cal";
     this.cmd_tran.Click    += new System.EventHandler(this.cmd_tran_Click);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(452, 16);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(72, 23);
     this.label6.TabIndex = 171;
     this.label6.Text     = "label6";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.r2);
     this.groupBox1.Controls.Add(this.r1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(452, 80);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(184, 76);
     this.groupBox1.TabIndex  = 172;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Tag       = "N";
     //
     // r2
     //
     this.r2.Checked  = true;
     this.r2.Location = new System.Drawing.Point(12, 44);
     this.r2.Name     = "r2";
     this.r2.Size     = new System.Drawing.Size(168, 24);
     this.r2.TabIndex = 1;
     this.r2.TabStop  = true;
     this.r2.Text     = "radioButton2";
     //
     // r1
     //
     this.r1.Location = new System.Drawing.Point(12, 16);
     this.r1.Name     = "r1";
     this.r1.Size     = new System.Drawing.Size(168, 24);
     this.r1.TabIndex = 0;
     this.r1.Text     = "radioButton1";
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter1.Location = new System.Drawing.Point(0, 184);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(788, 3);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.vs);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(788, 184);
     this.panel4.TabIndex = 0;
     //
     // vs
     //
     this.vs.AllowDragging = C1.Win.C1FlexGrid.AllowDraggingEnum.Both;
     this.vs.BorderStyle   = C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.XpThemes;
     this.vs.ColumnInfo    = "10,1,0,0,0,100,Columns:0{Width:38;}\t";
     this.vs.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.vs.KeyActionTab  = C1.Win.C1FlexGrid.KeyActionEnum.MoveAcross;
     this.vs.Location      = new System.Drawing.Point(0, 0);
     this.vs.Name          = "vs";
     this.vs.Size          = new System.Drawing.Size(788, 184);
     this.vs.Styles        = ((C1.Win.C1FlexGrid.CellStyleCollection)(new C1.Win.C1FlexGrid.CellStyleCollection("")));
     this.vs.TabIndex      = 14;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel3.Controls.Add(this.label5);
     this.panel3.Controls.Add(this.panel7);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(788, 36);
     this.panel3.TabIndex = 8;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.label5.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaption;
     this.label5.Location  = new System.Drawing.Point(348, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(440, 36);
     this.label5.TabIndex  = 12;
     this.label5.Tag       = "";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel7
     //
     this.panel7.Controls.Add(this.nav);
     this.panel7.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel7.Location = new System.Drawing.Point(0, 0);
     this.panel7.Name     = "panel7";
     this.panel7.Size     = new System.Drawing.Size(348, 36);
     this.panel7.TabIndex = 0;
     //
     // nav
     //
     this.nav.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.nav.Connection    = null;
     this.nav.ConnectionDel = null;
     this.nav.Font          = new System.Drawing.Font("Tahoma", 9.75F);
     this.nav.form          = null;
     this.nav.FormName      = null;
     this.nav.Grid          = null;
     this.nav.History       = false;
     this.nav.IsNull        = true;
     this.nav.Language      = "EN";
     this.nav.Location      = new System.Drawing.Point(0, 2);
     this.nav.MSG_Exit      = false;
     this.nav.MulltiDel     = false;
     this.nav.Name          = "nav";
     this.nav.Security      = 0;
     this.nav.ShowPopupMenu = true;
     this.nav.Size          = new System.Drawing.Size(400, 32);
     this.nav.TabIndex      = 14;
     this.nav.Tag           = "";
     this.nav.ToolBar_Auto  = true;
     this.nav.UserID        = null;
     this.nav.VisibleGrid   = true;
     this.nav.Where         = null;
     //
     // frmMTTransferStaffInfo
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(788, 452);
     this.Controls.Add(this.panel1);
     this.Font          = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name          = "frmMTTransferStaffInfo";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "frmMTTransferStaffInfo";
     this.Load         += new System.EventHandler(this.frmTaTransfer_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dt1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dt2)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vs)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel7.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #14
0
        /// <summary>
        /// Phu cap 30 %
        /// </summary>
        public void CalPhuCap30(SqlConnection con, GP8000.UserControl.CrtTaCondition1 control1, C1.Win.C1Input.C1DateEdit dt1, C1.Win.C1Input.C1DateEdit dt2, string eID, string attDT)
        {
            try
            {
                string strWhere = "", dTime = "";
                if (control1 != null)
                {
                    strWhere = GP8000.Function.Common.Ints.BuildWhereQuery(control1);
                    strWhere = strWhere.IndexOf("WHERE") != -1 ? strWhere + " AND" : "WHERE";
                    dTime    = string.Format("(chamcong.ATT_DT >= '{0}' AND chamcong.ATT_DT<='{1}') And ca.PC30Per = 1", Convert.ToDateTime(dt1.Value).ToString("yyyy-MM-dd"), Convert.ToDateTime(dt2.Value).ToString("yyyy-MM-dd"));
                }
                else
                {
                    strWhere = string.Format("WHERE nhanvien.EMP_ID = N'{0}'", eID);
                    dTime    = string.Format(" AND chamcong.ATT_DT = '{0}'", attDT);
                }
                string sql = string.Format("select chamcong.EMP_ID, chamcong.ONN_01, chamcong.OFF_01, chamcong.ONN_02, chamcong.OFF_02, chamcong.ONN_03, chamcong.OFF_03, chamcong.ONN_04, chamcong.OFF_04, chamcong.ONN_05, chamcong.OFF_05, ca.ONN_TM, ca.OFF_TM, chamcong.ATT_DT " +
                                           "from FILB01A nhanvien " +
                                           "join FILA02A bophan on nhanvien.DEP_ID = bophan.DEP_ID " +
                                           "join FILA07A chucvu on nhanvien.POS_ID = chucvu.POS_ID " +
                                           "left join FILB01AC nghiviec on nghiviec.EMP_ID = nhanvien.EMP_ID " +
                                           "join FILC06A chamcong on nhanvien.EMP_ID = chamcong.EMP_ID " +
                                           "join FILC02B ca on chamcong.SHI_ID = ca.SHI_ID " +
                                           "{0} {1} ", strWhere, dTime);

                Func.RecordSet rsData = new Func.RecordSet(sql, con);

                ArrayList arrListEMP_ID = GetListValueByCol(rsData, "EMP_ID");
                ArrayList arrListATT_DT = GetListValueByCol(rsData, "ATT_DT");

                for (int x = 0; x < arrListEMP_ID.Count; x++)
                {
                    string empID = arrListEMP_ID[x].ToString();
                    for (int y = 0; y < arrListATT_DT.Count; y++)
                    {
                        string att = arrListATT_DT[y].ToString();

                        string sqlData = string.Format("select * from FILC06A chamcong " +
                                                       "join FILC02B ca on chamcong.SHI_ID = ca.SHI_ID " +
                                                       "where EMP_ID = N'{0}' " +
                                                       "and ATT_DT = '{1}'  and ca.PC30Per=1 " +
                                                       "order by SEQ_NO asc", empID, att);

                        Func.RecordSet data  = new Func.RecordSet(sqlData, con);
                        double         on_1  = Convert.ToDouble(data.record(0, "ONN_01"));
                        double         on_2  = Convert.ToDouble(data.record(0, "ONN_02"));
                        double         on_3  = Convert.ToDouble(data.record(0, "ONN_03"));
                        double         on_4  = Convert.ToDouble(data.record(0, "ONN_04"));
                        double         on_5  = Convert.ToDouble(data.record(0, "ONN_05"));
                        double         off_1 = Convert.ToDouble(data.record(0, "OFF_01"));
                        double         off_2 = Convert.ToDouble(data.record(0, "OFF_02"));
                        double         off_3 = Convert.ToDouble(data.record(0, "OFF_03"));
                        double         off_4 = Convert.ToDouble(data.record(0, "OFF_04"));
                        double         off_5 = Convert.ToDouble(data.record(0, "OFF_05"));

                        ArrayList arrListCa = new ArrayList();
                        for (int z = 0; z < data.rows; z++)
                        {
                            arrListCa.Add(data.record(z, "ONN_TM") + "|" + data.record(z, "OFF_TM"));
                        }

                        //arrListCa.Reverse();
                        double totalTM = 0;
                        for (int a = 0; a < arrListCa.Count; a++)
                        {
                            totalTM += Tru2Gio(Convert.ToDouble(arrListCa[a].ToString().Split('|')[1]), Convert.ToDouble(arrListCa[a].ToString().Split('|')[0]));
                        }

                        for (int a = 0; a < arrListCa.Count; a++)
                        {
                            double onTM  = Convert.ToDouble(arrListCa[a].ToString().Split('|')[0]);
                            double offTM = Convert.ToDouble(arrListCa[a].ToString().Split('|')[1]);
                            if (on_2 > 0)
                            {
                                //								if(Convert.ToDouble(arrListCa[a].ToString().Split('|')[0]) <= (off_1.ToString().Length > 2 ? off_1 : 9000 + off_1) &&
                                //									Convert.ToDouble(arrListCa[a].ToString().Split('|')[1]) >= (on_2.ToString().Length > 2 ? on_2 : 9000 + on_2))
                                if (ConvertGioNhoHon(onTM, off_1) <= ConvertGioLonHon(onTM, off_1) && ConvertGioNhoHon(offTM, on_2) >= ConvertGioLonHon(offTM, on_2))
                                {
                                    totalTM = totalTM - (on_2 - off_1);
                                }
                            }

                            if (off_2 > 0 && on_3 > 0)
                            {
                                if (ConvertGioNhoHon(onTM, off_2) <= ConvertGioLonHon(onTM, off_2) && ConvertGioNhoHon(offTM, on_3) >= ConvertGioLonHon(offTM, on_3))
                                {
                                    totalTM = totalTM - (on_2 - off_1);
                                }
                            }

                            if (off_3 > 0 && on_4 > 0)
                            {
                                if (ConvertGioNhoHon(onTM, off_3) <= ConvertGioLonHon(onTM, off_3) && ConvertGioNhoHon(offTM, on_4) >= ConvertGioLonHon(offTM, on_4))
                                {
                                    totalTM = totalTM - (on_2 - off_1);
                                }
                            }

                            if (off_4 > 0 && on_5 > 0)
                            {
                                if (ConvertGioNhoHon(onTM, off_4) <= ConvertGioLonHon(onTM, off_4) && ConvertGioNhoHon(offTM, on_5) >= ConvertGioLonHon(offTM, on_5))
                                {
                                    totalTM = totalTM - (on_2 - off_1);
                                }
                            }
                        }

                        if (totalTM < 0 ||
                            (on_1 == 0 && off_1 == 0) &&
                            (on_2 == 0 && off_2 == 0)
                            )
                        {
                            totalTM = 0;
                        }
                        string updatePhuCap = string.Format("update FILC06A set PhuCap30Per = {2} " +
                                                            "where ATT_DT = '{1}' and EMP_ID = N'{0}'", empID, att, totalTM);
                        PublicFunction.SQL_Execute(updatePhuCap, con, true);
                    }
                }


                //PublicFunction.SQL_Execute(sql,con,true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CalPhuCap30");
            }
        }
Beispiel #15
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.condition1 = new GP8000.UserControl.CrtTaCondition1();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.cmd_print = new System.Windows.Forms.Button();
			this.cmd_close = new System.Windows.Forms.Button();
			this.ck = new System.Windows.Forms.CheckBox();
			this.p1 = new System.Windows.Forms.Panel();
			this.ck_cur = new System.Windows.Forms.CheckBox();
			this.p1.SuspendLayout();
			this.SuspendLayout();
			// 
			// condition1
			// 
			this.condition1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.condition1.Location = new System.Drawing.Point(4, 4);
			this.condition1.Name = "condition1";
			this.condition1.Size = new System.Drawing.Size(452, 172);
			this.condition1.TabIndex = 0;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 8);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(72, 23);
			this.label1.TabIndex = 1;
			this.label1.Text = "label1";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(76, 4);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(72, 23);
			this.textBox1.TabIndex = 2;
			this.textBox1.Text = "";
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(184, 4);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(72, 23);
			this.textBox2.TabIndex = 3;
			this.textBox2.Text = "";
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label2.Location = new System.Drawing.Point(152, 4);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(36, 23);
			this.label2.TabIndex = 4;
			this.label2.Tag = "N";
			this.label2.Text = "->>";
			// 
			// cmd_print
			// 
			this.cmd_print.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.cmd_print.Location = new System.Drawing.Point(102, 232);
			this.cmd_print.Name = "cmd_print";
			this.cmd_print.Size = new System.Drawing.Size(92, 36);
			this.cmd_print.TabIndex = 5;
			this.cmd_print.Text = "Print";
			this.cmd_print.Click += new System.EventHandler(this.cmd_print_Click);
			// 
			// cmd_close
			// 
			this.cmd_close.FlatStyle = System.Windows.Forms.FlatStyle.System;
			this.cmd_close.Location = new System.Drawing.Point(270, 232);
			this.cmd_close.Name = "cmd_close";
			this.cmd_close.Size = new System.Drawing.Size(92, 36);
			this.cmd_close.TabIndex = 6;
			this.cmd_close.Text = "Close";
			this.cmd_close.Click += new System.EventHandler(this.cmd_close_Click);
			// 
			// ck
			// 
			this.ck.Checked = true;
			this.ck.CheckState = System.Windows.Forms.CheckState.Checked;
			this.ck.Location = new System.Drawing.Point(12, 200);
			this.ck.Name = "ck";
			this.ck.TabIndex = 7;
			this.ck.Text = "checkBox1";
			this.ck.CheckedChanged += new System.EventHandler(this.ck_CheckedChanged);
			// 
			// p1
			// 
			this.p1.Controls.Add(this.textBox1);
			this.p1.Controls.Add(this.label1);
			this.p1.Controls.Add(this.textBox2);
			this.p1.Controls.Add(this.label2);
			this.p1.Enabled = false;
			this.p1.Location = new System.Drawing.Point(116, 192);
			this.p1.Name = "p1";
			this.p1.Size = new System.Drawing.Size(320, 32);
			this.p1.TabIndex = 8;
			// 
			// ck_cur
			// 
			this.ck_cur.Location = new System.Drawing.Point(12, 168);
			this.ck_cur.Name = "ck_cur";
			this.ck_cur.Size = new System.Drawing.Size(268, 24);
			this.ck_cur.TabIndex = 10;
			this.ck_cur.Text = "checkBox1";
			this.ck_cur.CheckedChanged += new System.EventHandler(this.ck_cur_CheckedChanged);
			// 
			// frmTaPrintWID
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
			this.ClientSize = new System.Drawing.Size(450, 274);
			this.Controls.Add(this.ck_cur);
			this.Controls.Add(this.p1);
			this.Controls.Add(this.ck);
			this.Controls.Add(this.cmd_close);
			this.Controls.Add(this.cmd_print);
			this.Controls.Add(this.condition1);
			this.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "frmTaPrintWID";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "frmTaPrintWID";
			this.Load += new System.EventHandler(this.frmTaPrintWID_Load);
			this.p1.ResumeLayout(false);
			this.ResumeLayout(false);

		}