Esempio n. 1
0
        private void SaleFormButton_Click(object sender, EventArgs e)
        {
            IDataService _dataService = new DataService();
            SaleForm     sell         = new SaleForm(_dataService);

            if (Application.OpenForms.OfType <SaleForm>().Count() == 1)
            {
                Application.OpenForms.OfType <SaleForm>().First().Close();
            }
            sell.Show();
        }
Esempio n. 2
0
 private void Platnosc_Load(object sender, EventArgs e)
 {
     SaleForm sp = new SaleForm(this._dataService);
     //MessageBox.Show(" TICKET:" + Ticket + " ID:" + CLIENTID + " VAT:" + VAT + "STAWKA:" + VATAMOUNT + " BRUTTO:" + BRUTTO + " NETTO:" + NETTO);
 }