Наследование: System.Windows.Forms.Form
        void toolbar_Configuration_Click(object sender, EventArgs e)
        {
            ConfigurationWindow f = new ConfigurationWindow();
            f.ShowDialog();

            if (GlobalHelper.appSettings.Settings.Password == string.Empty)
            {
                toobar_Lock.Enabled = false;
            }
            else
            {
                toobar_Lock.Enabled = true;
            }

            // apply some global settings after reconfiguring
            GlobalHelper.infoWin.EnableInformationWindow = !GlobalHelper.appSettings.Settings.HideInformationPopupWindow;
        }
Пример #2
0
        void toolbar_Configuration_Click(object sender, EventArgs e)
        {
            ConfigurationWindow f = new ConfigurationWindow();

            f.ShowDialog();

            if (GlobalHelper.appSettings.Settings.Password == string.Empty)
            {
                toobar_Lock.Enabled = false;
            }
            else
            {
                toobar_Lock.Enabled = true;
            }

            // apply some global settings after reconfiguring
            GlobalHelper.infoWin.EnableInformationWindow = !GlobalHelper.appSettings.Settings.HideInformationPopupWindow;
        }