public Winform_PurchaseIndentDetails(PurchaseItemIndent indent)
        {
            InitializeComponent();
            this.indent = indent;

            txtParticular.Text = indent.Item.Name;
            txtAvgConsume.Text = indent.AvgConsumption.ToString();
            txtStockInHand.Text = indent.InHandStock.ToString();
            nudDuration.Value = indent.StockPeriod;
            txtRemarks.Text = indent.Remark;
        }
 private void UpdatePurchaseIndentList(int index, PurchaseItemIndent indent)
 {
     purchaseIndentList[index] = indent;
     FillDGV();
 }