예제 #1
0
 public static MessageDialog NewInstance(string message, string title)
 {
     var dialog = new MessageDialog();
     var args = new Bundle();
     args.PutString(MESSAGE, message);
     args.PutString(TITLE, title);
     dialog.Arguments = args;
     return dialog;
 }
예제 #2
0
 public static MessageDialog NewInstance(int message, int title)
 {
     var dialog = new MessageDialog();
     var args = new Bundle();
     args.PutInt(MESSAGE, message);
     args.PutInt(TITLE, title);
     dialog.Arguments = args;
     return dialog;
 }