private void btnInsHoraConv_Click(object sender, EventArgs e) { CalcSal cs = new CalcSal(); cs.HoraConv(txtResultConv.Text); //cs.txtHorTrab.Text = txtResultConv.Text; Close(); }
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]); } }
private void btnInsHorConv_Click(object sender, EventArgs e) { CalcSal cs = new CalcSal(); }