Created
December 22, 2017 05:58
-
-
Save yuu341/beea075a3e4487b2c362ff95d731bb53 to your computer and use it in GitHub Desktop.
継承サンプル1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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