Skip to content

Instantly share code, notes, and snippets.

@yuu341
Created December 22, 2017 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuu341/057d7f67f697c58f22c9e92e0ea212a3 to your computer and use it in GitHub Desktop.
Save yuu341/057d7f67f697c58f22c9e92e0ea212a3 to your computer and use it in GitHub Desktop.
継承サンプル2(暗黙のファットクラス)
using System;
using System.Collections.Generic;
using System.Text;
using WindowSample.Sample1;
namespace WindowSample.Sample2
{
/// <summary>
/// 子ウィンドウの基底クラス
/// </summary>
public class ChildWindowBase : WindowBase
{
}
/// <summary>
/// ダイアログの基底クラス
/// </summary>
public class DialogWindowBase : ChildWindowBase
{
}
/// <summary>
/// モーダルダイアログの基底クラス
/// </summary>
public class ModalDialogBase : DialogWindowBase
{
}
/// <summary>
/// エラーダイアログの基底クラス
/// </summary>
public class ErrorDialog : DialogWindowBase
{
}
/// <summary>
/// 情報ダイアログの基底クラス
/// </summary>
public class InformationDialog : DialogWindowBase
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment