private void ConfigureMySqlDataBaseConnection() { RedmineMySqlConfig rmc = new RedmineMySqlConfig(this); rmc.ShowDialog(); if (rmc.DialogResult == System.Windows.Forms.DialogResult.Cancel) { Environment.Exit(-1); } }
//private void tbFromDate_KeyPress(object sender, KeyPressEventArgs e) //{ // if (((Keys)e.KeyChar) == Keys.Back || ((int)e.KeyChar) == 46) // return; // if (!Regex.IsMatch(e.KeyChar.ToString(), "\\d+")) // e.Handled = true; //} //private void tbToDate_KeyPress(object sender, KeyPressEventArgs e) //{ // if (((Keys)e.KeyChar) == Keys.Back || ((int)e.KeyChar) == 46) // return; // if (!System.Text.RegularExpressions.Regex.IsMatch(e.KeyChar.ToString(), "\\d+")) // e.Handled = true; //} private void redmineDBToolStripMenuItem_Click(object sender, EventArgs e) { RedmineMySqlConfig rmc = new RedmineMySqlConfig(this); rmc.ShowDialog(); }