コード例 #1
0
        private void btnInsHoraConv_Click(object sender, EventArgs e)
        {
            CalcSal cs = new CalcSal();

            cs.HoraConv(txtResultConv.Text);
            //cs.txtHorTrab.Text = txtResultConv.Text;

            Close();
        }
コード例 #2
0
        public void TXTCalcHoraExtra()
        {
            string path = @"horaextra.txt";

            string[] Linha = System.IO.File.ReadAllLines(path);
            CalcSal  cSal  = new CalcSal();

            if (Linha.Length == 0)
            {
                return;
            }

            for (int i = 0; i < Linha.Length; i++)
            {
                string[] valores = Linha[i].Split(';');

                dgHoraExtra.Rows.Add(valores[0], valores[1]);
            }
        }
コード例 #3
0
 private void btnInsHorConv_Click(object sender, EventArgs e)
 {
     CalcSal cs = new CalcSal();
 }