public BuyBooksUC(List <int> CartPtr, int ID)
 {
     InitializeComponent();
     CartPointer = CartPtr.ToArray();
     ControlObj  = new CustController();
     CustomerID  = ID;
 }
Esempio n. 2
0
 public RatingForm(int BID, int CID)
 {
     InitializeComponent();
     CustomerID = Convert.ToString(CID);
     BookID     = Convert.ToString(BID);
     ControlObj = new CustController();
 }
        public CustomerForm(string cusmail, string CusId, string CustName)
        {
            InitializeComponent();
            Region     = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
            ControlObj = new CustController();

            BooksToBuy = new List <int>();
            mail       = cusmail;
            CustomerID = Convert.ToInt32(CusId);
            name       = CustName;

            MailLabel.Text = "#" + CustomerID;
        }
Esempio n. 4
0
 public CustomerShowSalesHistory(int CustID)
 {
     InitializeComponent();
     Customer_ID = CustID;
     ControlObj  = new CustController();
 }
Esempio n. 5
0
 public ChangePassword(string Mail)
 {
     InitializeComponent();
     Email      = Mail;
     ControlObj = new CustController();
 }