Esempio n. 1
0
        private void setColorsButton_Click(object sender, EventArgs e)
        {
            CustomizeColors colors = new CustomizeColors();
            base.TopMost = false;
            this.dview.TopMost = false;
            this.modalWindowOpened = true;
            if (colors.ShowDialog(this) == DialogResult.OK)
                this.updateDetailed();

            base.TopMost = Settings.Profile.OnTop;
            this.dview.TopMost = Settings.Profile.DViewOnTop;
            this.modalWindowOpened = false;
        }
Esempio n. 2
0
        private void menuItemSetColors_Click(object sender, EventArgs e)
        {
            CustomizeColors colorDialog = new CustomizeColors(true);
            this.parent.TopMost = false;
            base.TopMost = false;
            this.parent.modalWindowOpened = true;

            if (colorDialog.ShowDialog(this) == DialogResult.OK)
                this.parent.updateDetailed();

            this.parent.TopMost = Settings.Profile.OnTop;
            base.TopMost = Settings.Profile.DViewOnTop;
            this.parent.modalWindowOpened = false;
        }