-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInstallment_Receipt.cs
43 lines (39 loc) · 1.47 KB
/
Installment_Receipt.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Furniture_System
{
public partial class Installment_Receipt : MetroFramework.Forms.MetroForm
{
public Installment_Receipt(string rec,string itm,string date)
{
InitializeComponent();
REC = rec;
ITM = itm;
DATE = date;
}
string REC, ITM, DATE;
private void Installment_Receipt_Load(object sender, EventArgs e)
{
try
{
// TODO: This line of code loads data into the 'DataSet6.DataTable_Ins_Rec' table. You can move, or remove it, as needed.
this.DataTable_Ins_RecTableAdapter.Fill(this.DataSet6.DataTable_Ins_Rec, REC, ITM, DATE);
// TODO: This line of code loads data into the 'DataSet6.DataTable_Cus_Info' table. You can move, or remove it, as needed.
this.DataTable_Cus_InfoTableAdapter.Fill(this.DataSet6.DataTable_Cus_Info, REC);
this.reportViewer_Ins_Receipt.RefreshReport();
}
catch (Exception)
{
//MessageBox.Show(ex.Message);
MetroFramework.MetroMessageBox.Show(this, "Please check again!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}