Disabled Client Builder in Debug configuration

Prevents people from asking why builder does not work
This commit is contained in:
MaxXor 2015-08-20 09:16:16 +02:00
parent b1bacc3bdf
commit 2a2a4e9956
1 changed files with 4 additions and 0 deletions

View File

@ -744,10 +744,14 @@ namespace xServer.Forms
private void menuBuilder_Click(object sender, EventArgs e)
{
#if DEBUG
MessageBox.Show("Client Builder is not available in DEBUG configuration.\nPlease build the project using RELEASE configuration.", "Not available", MessageBoxButtons.OK, MessageBoxIcon.Information);
#else
using (var frm = new FrmBuilder())
{
frm.ShowDialog();
}
#endif
}
private void menuStatistics_Click(object sender, EventArgs e)