Skip to content

Instantly share code, notes, and snippets.

@yuu341
Created December 22, 2017 05:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yuu341/beea075a3e4487b2c362ff95d731bb53 to your computer and use it in GitHub Desktop.
継承サンプル1
using System;
using System.Collections.Generic;
using System.Text;
namespace WindowSample.Sample1
{
/// <summary>
/// すべてのウィンドウの基底クラス
/// </summary>
public class WindowBase
{
public WindowBase()
{
//デフォルトのスタイル
Style = new Style();
}
/// <summary>
/// デザインスタイル
/// </summary>
public Style Style { get; set; }
/// <summary>
/// ウィンドウを表示する
/// </summary>
public void Show()
{
}
/// <summary>
/// ウィンドウを閉じる
/// </summary>
public void Close()
{
}
}
public class Style
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment