using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace FCC_Uber_MDX_Configurator { public partial class ConfirmDialogForm : Form { public ConfirmDialogForm(string _form_title, string _title, string _message) { InitializeComponent(); LBL_TITLE.Text = _title; TXT_AREA.Text = _message; this.Text = _form_title; } private void BTN_CANCEL_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Abort; this.Close(); } private void BTN_SAVE_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; this.Close(); } private void BTN_CANCEL_Click_1(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; this.Close(); } } }