private void button1_Click(object sender, EventArgs e) { this.Close(); frmConfiguration frmConfiguration = new frmConfiguration(); frmConfiguration.Show(); }
private void LinkServer_Click(object sender, EventArgs e) { frmConfiguration formConfiguration = new frmConfiguration(); formConfiguration.Show(); this.Hide(); }
private void configuraciónToolStripMenuItem_Click(object sender, EventArgs e) { frmConfiguration frmWork = new frmConfiguration() { MdiParent = this }; frmWork.strNameMenu = "configuraciónToolStripMenuItem"; configuraciónToolStripMenuItem.Enabled = false; controlDeEntradaToolStripMenuItem.Enabled = false; enrolamientoToolStripMenuItem.Enabled = false; frmWork.Show(); }
private void btnGenerateAccessKey_Click(object sender, EventArgs e) { frmConfiguration frmConfiguration = new frmConfiguration(); XmlDocument xDoc = new XmlDocument(); string sourceFilePath = string.Format("{0}{1}{2}{3}{4}{5}{6}", Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), System.IO.Path.DirectorySeparatorChar, "bLoyal", System.IO.Path.DirectorySeparatorChar, "Dinerware Integration", System.IO.Path.DirectorySeparatorChar, "DinerwareConfigurationFile.xml"); xDoc.Load(@"" + sourceFilePath); string accessKey = GetAccessKey(); if (!string.IsNullOrEmpty(accessKey)) { xDoc.DocumentElement.SelectSingleNode("ACCESS_KEY").InnerText = accessKey; } //xDoc.Save(@"C:\Dinerware Configuration File\DinerwareConfigurationFile.xml"); this.Hide(); frmConfiguration.Show(); }
private void connectionsToolStripMenuItem_Click(object sender, EventArgs e) { frmConfiguration frm = new frmConfiguration(); LoadForm(frm); }
private void btnConfig_Click(object sender, EventArgs e) { frmConfiguration frm = new frmConfiguration(); frm.ShowDialog(); }
public override void ButtonPressed(object parentForm, Dinerware.User currentUser) { frmConfiguration frmConfiguration = new frmConfiguration(); frmConfiguration.ShowDialog(); }