예제 #1
0
        private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmConfiguration configForm = new frmConfiguration();

            if (configForm.ShowDialog().Equals(DialogResult.OK))
            {
                this.Cursor = Cursors.WaitCursor;
                LoadConfig();
                RefreshTree();
                this.Cursor = Cursors.Default;
            }
        }
예제 #2
0
 private void frmMain_Load(object sender, EventArgs e)
 {
     if (Properties.Settings.Default.EzilWallet.Equals(string.Empty))
     {
         frmConfiguration configForm = new frmConfiguration();
         if (configForm.ShowDialog().Equals(DialogResult.Cancel))
         {
             MessageBox.Show("Application cannot start without completing configuration.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
             Application.Exit();
         }
     }
 }