Пример #1
0
        public static void Hienthi1()
        {
            Danhsachphim dsp = new Danhsachphim();

            dsp.layDSphim();
            dsp.layDSrap();
            dsp.layDSngay_xuatchieu();
            dsp.layDsve();
        }
Пример #2
0
        public static void chonphim(ref Phim phim)
        {
            Danhsachphim dsp = new Danhsachphim();

            dsp.layDSphim();
            Console.WriteLine("");
            Console.WriteLine();
            Console.WriteLine("Moi ban chon phim ");
            string stt = Console.ReadLine();

            phim.Tenphim = stt;
            Console.WriteLine();
        }
Пример #3
0
        public static void chonngaychieu(ref Thoigian thoigian)
        {
            Danhsachphim dsp = new Danhsachphim();

            dsp.layDSngay_xuatchieu();
            Console.WriteLine("Moi ban chon ngay chieu ");
            Console.WriteLine("( Yeu cau: Nhap dung thong tin )");
            DateTime ngay = Convert.ToDateTime(Console.ReadLine());

            Console.WriteLine("Moi ban chon  suat chieu");
            Console.WriteLine("( Yeu cau: Nhap dung thong tin )");
            string suat = Console.ReadLine();

            thoigian.Suat = suat;
            thoigian.Ngay = ngay;
        }
Пример #4
0
        public static void chonrap(ref Phim phim)
        {
            Danhsachphim dsp = new Danhsachphim();

            dsp.layDSrap();
            Console.WriteLine();
            Console.WriteLine("");
            Console.WriteLine("Moi ban chon rap");
            Console.WriteLine("( Yeu cau: Nhap dung rap )");
            string stt = Console.ReadLine();

            phim.Tenrap = stt;
            Console.WriteLine("Moi ban nhap dia chi rap");
            Console.WriteLine("( Yeu cau: Nhap dung dia chi rap )");
            phim.Diachirap = Console.ReadLine();
        }
Пример #5
0
        public static void Hienthidanhsachrap()
        {
            Danhsachphim a = new Danhsachphim();

            a.layDSrap();
        }