public paymentListAndInvoice() { InitializeComponent(); this._bank = new ArrayList(); this.pr = new paymentReference(); this.ConStr = ConfigurationManager.AppSettings["DbConKey"]; this._sql = ""; this._clearBills = new ArrayList(); this._unpaid = 0; this._customerId = ""; }
private void btPrin_Click(object sender, EventArgs e) { MySqlConnections conc = new MySqlConnections(); conc.insertBills(alId); //画面出力 paymentReference pr = new paymentReference(); this.Hide(); pr.ShowDialog(); this.Close(); //オブジェクトが閉じたら pr.Dispose(); }