You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
773 B
35 lines
773 B
3 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Stone.Common.WinModule
|
||
|
{
|
||
|
public partial class frmMessageQuestion : Form
|
||
|
{
|
||
|
public frmMessageQuestion()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
public DialogResult ShowQuestion(string msg)
|
||
|
{
|
||
|
this.lblMsg.Text = msg;
|
||
|
return this.ShowDialog();
|
||
|
}
|
||
|
|
||
|
private void btnOK_Click(object sender, EventArgs e)
|
||
|
{
|
||
|
this.DialogResult = DialogResult.OK;
|
||
|
this.Close();
|
||
|
}
|
||
|
|
||
|
private void btnCancel_Click(object sender, EventArgs e)
|
||
|
{
|
||
|
this.Close();
|
||
|
}
|
||
|
}
|
||
|
}
|