Esempio n. 1
0
        /// <summary>
        /// ウィンドウが開いたとき
        /// </summary>
        private void WindowLoaded(object sender, RoutedEventArgs e)
        {
            // タスクトレイのアイコン設定
            TaskTrayIcon.Icon = Properties.Resources.Icon;
            // 設定画面を開く
            var settingWindow = new SettingWindow(this);

            settingWindow.ShowDialog();
        }
Esempio n. 2
0
        /// <summary>
        /// 設定画面を開く
        /// </summary>
        private void OpenSettingWindow_Click(object sender, EventArgs e)
        {
            var window = new SettingWindow(this);

            window.ShowDialog();
        }