コード例 #1
0
        /// <summary>
        /// Triggered when the preferences is requested.
        /// </summary>
        private void OnPreferencesAction(
            object sender,
            EventArgs args)
        {
            // Create the window
            ConfigDialog dialog = new ConfigDialog();

            dialog.Run();
            dialog.Destroy();
        }
コード例 #2
0
ファイル: GameWindow.cs プロジェクト: dmoonfire/wordplay
        /// <summary>
        /// Triggered when the preferences is requested.
        /// </summary>
        private void OnPreferencesAction(
			object sender,
			EventArgs args)
        {
            // Create the window
            ConfigDialog dialog = new ConfigDialog();
            dialog.Run();
            dialog.Destroy();
        }