ConnectionFailedDialog -> Dialog for Success and Error Messages with heading, message and buttons/actions
This commit is contained in:
committed by
Felix Hartmann (PEA3-Fe-FI)
parent
e2de9f5917
commit
ea81547540
20
PolyChat/Models/DialogButton.cs
Normal file
20
PolyChat/Models/DialogButton.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PolyChat.Models
|
||||
{
|
||||
public class DialogButton
|
||||
{
|
||||
public string Text;
|
||||
public Action Action;
|
||||
|
||||
public DialogButton(string text, Action action)
|
||||
{
|
||||
Text = text;
|
||||
Action = action;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user