Action Buttons

Design

    using System;
    using System.Collections.Generic;
    using System.componentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace ProgramYesNoMaybe
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            private void button1_Click(object sender, EventArgs e)
            {
                MessageBox.Show("You Pressed Yes");
            }
            private void button2_Click(object sender, EventArgs e)
            {
               MessageBox.Show("You Pressed No");
            }
            private void button3_Click(object sender, EventArgs e)
            {
                MessageBox.Show("You Pressed Maybe");
            }
        }
    }
                

Output

Output Example