private void tsbProcessmenuReceiptEntry_Click(object sender, EventArgs e)
 {
     if (_frmrecEntry == null || _frmrecEntry.IsDisposed == true)
     {
         _frmrecEntry = new frmReceiptEntry();
         _frmrecEntry.Show();
     }
     _frmrecEntry.BringToFront();
 }
Beispiel #2
0
 private void linkLabel12_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (_receiptEntry == null || _receiptEntry.IsDisposed == true)
     {
         _receiptEntry = new frmReceiptEntry();
         //__frmGPR.lable = "Allocation Report";
         _receiptEntry.Show();
     }
     _receiptEntry.BringToFront();
 }
        private void tsbtnLoad_Click(object sender, EventArgs e)
        {
            if (dgList.SelectedRows.Count == 0)
            {
                return;
            }
            intId = Convert.ToInt32(dgList.SelectedRows[0].Cells["id"].Value);

            frmReceiptEntry frm = new frmReceiptEntry();

            frm.receiptId = intId;
            frm.Show();
            this.Close();
        }