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); } }
private void button1_Click(object sender, EventArgs e) { var x = (MediaItemDTO)this.ItemsTable.CurrentRow.DataBoundItem; AlertBox.DisplayMessage(x.Path); }