public void SetSyuturyokuKirikae(SyuturyokuKirikae value) { this.syuturyokuKirikae = value; }
//------------------------------------------------------------ /// <summary> /// ************************************************************************************************************************ /// コンストラクターです。 /// ************************************************************************************************************************ /// </summary> public Shape_PnlTaikyokuImpl() : base(0, 0, 0, 0) { this.Widgets = new Dictionary <string, UserWidget>(); // 初期化 //System.C onsole.WriteLine("つまんでいる駒を放します。(1)"); this.SetFigTumandeiruKoma(-1); this.SetHMovedKoma(Fingers.Error_1); //---------- // [出力切替]初期値 //---------- this.syuturyokuKirikae = SyuturyokuKirikae.Japanese; //---------- // 成る成らないダイアログ //---------- this.Request_NaruDialogToShow(false); //---------- // 将ボタン //---------- this.SetBtnKomaDoors(new Shape_BtnKomaImpl[] { new Shape_BtnKomaImpl(Finger_Honshogi.SenteOh),//[0] new Shape_BtnKomaImpl(Finger_Honshogi.GoteOh), new Shape_BtnKomaImpl(Finger_Honshogi.Hi1), new Shape_BtnKomaImpl(Finger_Honshogi.Hi2), new Shape_BtnKomaImpl(Finger_Honshogi.Kaku1), new Shape_BtnKomaImpl(Finger_Honshogi.Kaku2),//[5] new Shape_BtnKomaImpl(Finger_Honshogi.Kin1), new Shape_BtnKomaImpl(Finger_Honshogi.Kin2), new Shape_BtnKomaImpl(Finger_Honshogi.Kin3), new Shape_BtnKomaImpl(Finger_Honshogi.Kin4), new Shape_BtnKomaImpl(Finger_Honshogi.Gin1),//[10] new Shape_BtnKomaImpl(Finger_Honshogi.Gin2), new Shape_BtnKomaImpl(Finger_Honshogi.Gin3), new Shape_BtnKomaImpl(Finger_Honshogi.Gin4), new Shape_BtnKomaImpl(Finger_Honshogi.Kei1), new Shape_BtnKomaImpl(Finger_Honshogi.Kei2),//[15] new Shape_BtnKomaImpl(Finger_Honshogi.Kei3), new Shape_BtnKomaImpl(Finger_Honshogi.Kei4), new Shape_BtnKomaImpl(Finger_Honshogi.Kyo1), new Shape_BtnKomaImpl(Finger_Honshogi.Kyo2), new Shape_BtnKomaImpl(Finger_Honshogi.Kyo3),//[20] new Shape_BtnKomaImpl(Finger_Honshogi.Kyo4), new Shape_BtnKomaImpl(Finger_Honshogi.Fu1), new Shape_BtnKomaImpl(Finger_Honshogi.Fu2), new Shape_BtnKomaImpl(Finger_Honshogi.Fu3), new Shape_BtnKomaImpl(Finger_Honshogi.Fu4),//[25] new Shape_BtnKomaImpl(Finger_Honshogi.Fu5), new Shape_BtnKomaImpl(Finger_Honshogi.Fu6), new Shape_BtnKomaImpl(Finger_Honshogi.Fu7), new Shape_BtnKomaImpl(Finger_Honshogi.Fu8), new Shape_BtnKomaImpl(Finger_Honshogi.Fu9),//[30] new Shape_BtnKomaImpl(Finger_Honshogi.Fu10), new Shape_BtnKomaImpl(Finger_Honshogi.Fu11), new Shape_BtnKomaImpl(Finger_Honshogi.Fu12), new Shape_BtnKomaImpl(Finger_Honshogi.Fu13), new Shape_BtnKomaImpl(Finger_Honshogi.Fu14),//[35] new Shape_BtnKomaImpl(Finger_Honshogi.Fu15), new Shape_BtnKomaImpl(Finger_Honshogi.Fu16), new Shape_BtnKomaImpl(Finger_Honshogi.Fu17), new Shape_BtnKomaImpl(Finger_Honshogi.Fu18)//[39] }); //---------- // 将棋盤 //---------- this.Shogiban = new Shape_PnlShogibanImpl(200, 220, this); //---------- // 駒置き //---------- this.KomadaiArr = new Shape_PnlKomadaiImpl[3]; this.KomadaiArr[0] = new Shape_PnlKomadaiImpl(Okiba.Sente_Komadai, 610, 220, 81, this); this.KomadaiArr[1] = new Shape_PnlKomadaiImpl(Okiba.Gote_Komadai, 10, 220, 121, this); this.KomadaiArr[2] = new Shape_PnlKomadaiImpl(Okiba.KomaBukuro, 810, 220, 161, this); //---------- // 符号表示 //---------- this.lblFugo = new Shape_LblBoxImpl("符号", 480, 145); //---------- // 先後表示 //---------- this.lblPside = new Shape_LblBoxImpl("--", 350, 145); }