Esempio n. 1
0
        public Items()
        {
            service = new ItemsService();
            InitializeComponent();
            FillItemGrid();
            List <string> movedItems = (List <string>)service.localItems.CheckForMovedOrDeletedFiles();

            if (movedItems.Count > 0 && !warningShown)
            {
                string message = "\t\tUrmatoarele fisiere au fost mutate sau sterse:\n";
                foreach (var item in movedItems)
                {
                    message += "\t\t" + item + "\n";
                }
                warningShown = true;
                AlertBox.DisplayMessage(message);
            }
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var x = (MediaItemDTO)this.ItemsTable.CurrentRow.DataBoundItem;

            AlertBox.DisplayMessage(x.Path);
        }