private void DgvHead_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (DgvHead.Rows.Count <= 0) return; if (DgvHead.SelectedRows.Count <= 0) return; string PayPBId = DgvHead.Rows[0].Cells["PayPBId"].Value.ToString(); ProductionNew.ProductionPayPB f = new ProductionPayPB(PayPBId); f.StartPosition = FormStartPosition.CenterScreen; f.ShowDialog(); }
private void toolStripLabelOutstanding_Click(object sender, EventArgs e) { ProductionNew.ProductionPayPB f = new ProductionPayPB(); f.StartPosition = FormStartPosition.CenterScreen; f.ShowDialog(); }