コード例 #1
0
		static void InputButtonClicked (object obj, EventArgs args) {
			if (inputDialog == null) {
				inputDialog = new InputDialog ();
				inputDialog.SaveButton.Hide ();
				inputDialog.CloseButton.Clicked += new EventHandler(InputDialogClose);
				inputDialog.DeleteEvent += new DeleteEventHandler(InputDialogDelete);
			}
			inputDialog.Present ();
		}
コード例 #2
0
 static void InputButtonClicked(object obj, EventArgs args)
 {
     if (inputDialog == null)
     {
         inputDialog = new InputDialog();
         inputDialog.SaveButton.Hide();
         inputDialog.CloseButton.Clicked += new EventHandler(InputDialogClose);
         inputDialog.DeleteEvent         += new DeleteEventHandler(InputDialogDelete);
     }
     inputDialog.Present();
 }