Exemplo n.º 1
0
        public void showbill()
        {
            bill b = new bill();

            b.quantity = Convert.ToInt32(Console.ReadLine());
            b.Bill_no  = Convert.ToInt32(Console.ReadLine());
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            //AMMAra
            //Composition b/wcashier and bill
            try

            {
                cashier c = new cashier();
                c.showbill();
            }
            catch (Exception)
            { }
            //IQRA
            //composition b/w bill nd customer
            coustomer c2 = new coustomer();

            c2.showDATA();
            //aggregation b/w search and bill
            search s2 = new search();
            bill   b3 = new bill();

            b3.showUs(s2);

            //MAHNOOR

// aggregation between book and library
            book    b = new book();
            library L = new library();

            L.show(b);
            // agrregation b/w bill nd search
            bill   b2 = new bill();
            search s  = new search();

            s.showMe(b2);
            //


            Console.ReadKey();
        }
Exemplo n.º 3
0
 public void showMe(bill srch)
 {
     this.srch = srch;
 }
Exemplo n.º 4
0
 public void showDATA()
 {
     bill b1 = new bill();
 }