Ejemplo n.º 1
0
        private async void buttonShowSettingWindow_Click(object sender, EventArgs e)
        {
            var settingWindow = new SettingWindow(_Setting, this.Accounts);

            if (settingWindow.ShowDialog() == DialogResult.OK)
            {
                await _Setting.SaveAsync();
            }
        }
Ejemplo n.º 2
0
        private async void buttonShowSettingWindow_Click(object sender, EventArgs e)
        {
            var settingWindow = new SettingWindow(_Setting, this._Accounts);

            if (settingWindow.ShowDialog() == DialogResult.OK)
            {
                await this._Setting.SaveAsync();

                this.TopMost = this._Setting.TopMost != null ? (bool)this._Setting.TopMost : false;
            }
        }