public FrmReceiptsDespatchs(int documentTypeID, Document documentForPayment, FrmNewReceiptsDespatchs frmNewReceiptsDespatchs) { _frmNewReceiptsDespatchs = frmNewReceiptsDespatchs; this.DocumentTypeID = documentTypeID; this._documentForPayment = documentForPayment; InitializeComponent(); InitDocument(); }
public FrmReceiptsDespatchs(Document document, FrmNewReceiptsDespatchs frmNewReceiptsDespatchs) { SelectedDocument = document; _frmNewReceiptsDespatchs = frmNewReceiptsDespatchs; this.FormMode = FormMode.Modifying; InitializeComponent(); InitDocument(); }
public FrmReceiptsDespatchs(int documentTypeID, FrmNewReceiptsDespatchs frmNewReceiptsDespatchs) { _frmNewReceiptsDespatchs = frmNewReceiptsDespatchs; DocumentTypeID = documentTypeID; InitializeComponent(); InitDocument(); }
private void EditRow_Click(object sender, EventArgs e) { if (DGVReceiptsDespatchsItems.SelectedRows.Count == 1) { //frmNewReceiptsDespatchs editClient = new frmNewReceiptsDespatchs(clientForEdit); FrmNewReceiptsDespatchs editClient = new FrmNewReceiptsDespatchs(); editClient.ShowDialog(); DGVReceiptsDespatchsItems.ClearSelection(); } }
private void ReceiptsDespatchs_Click(object sender, EventArgs e) { Form receiptsDespatchs = new FrmNewReceiptsDespatchs(); receiptsDespatchs.Show(); }