Inheritance: global::System.Configuration.ApplicationSettingsBase
コード例 #1
0
        private void EnterPasswordForm_Load(object sender, EventArgs e)
        {
            fileNameLabel.Text = PublicVar.openFileName;
            Properties.Settings settings = Properties.Settings.Default;
            TopMost = settings.alwaysOnTop;
            MainForm main = Owner as MainForm;

            if (main.Visible)
            {
                CenterToParent();
            }
            else
            {
                CenterToScreen();
            }
        }
コード例 #2
0
 /// <summary>
 ///  Clear all Highlights
 /// </summary>
 private void ClearHighlight()
 {
     Properties.Settings ps = Properties.Settings.Default;
     this.SelectAll();
     this.SelectionBackColor = ps.RichBackColor;
 }