private void BtnRefund_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            FrmExpenseRefund frm = new FrmExpenseRefund(xC, txtJobId.Text, cboStaff.SelectedItem != null ? ((ComboBoxItem)(cboStaff.SelectedItem)).Value : "", txtEccCode.Text.Replace("CC", ""), txtPdId.Text);

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.ShowDialog(this);
        }
Exemple #2
0
        private void MenuEcc_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
            FrmExpenseRefund frm = new FrmExpenseRefund(xC, "", xC.userId, "", "");

            frm.FormBorderStyle = FormBorderStyle.None;
            AddNewTab(frm, menuEcc.Text + " ");
        }