예제 #1
0
        public static void PollInformation(EBook toModify)
        {
            ModifyEBook win = new ModifyEBook()
            {
                Book = toModify
            };

            win.iptName.Text           = toModify.Name;
            win.iptRedemptionCode.Text = toModify.RedemptionCode;
            win.dteEBookRenewal.Text   = toModify.ExpiresOn.ToShortDateString();

            win.ShowDialog();
        }