Example #1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="wp">対象のプロセスメモリ</param>
 /// <param name="type">血統ラインタイプ</param>
 /// <param name="blood_num">起点にする血統番号</param>
 public BloodLineTree( KOEI.WP7_2012.WP7 wp, BloodLineType type, UInt32 blood_num )
 {
     this.wp_ = wp;
     this.type_ = type;
     this.tree_  = new BloodNode() {
         blood_num   = blood_num,
         childNode   = null,
         nextBrother = null,
     };
     this.Tree.childNode = this.CreateChildNode( this.tree_ );
 }
Example #2
0
        public BitCheckList( KOEI.WP7_2012.WP7 wp, KOEI.WP7_2012.DataStructPropertyInfo[][] properties, UInt32[] raw_data )
        {
            InitializeComponent();

            if( properties.Length != raw_data.Length ) {
                throw new ArgumentException(
                    String.Format( "[BUG]プロパティが求める要素数({0})と配列の長さ({1})が違います", properties.Length, raw_data.Length )
                );
            }
            this.wp_ = wp;
            this.properties_ = properties;
            this.raw_data_ = raw_data;
            this.controls_font_ = this.listBox1.Font;
            this.Controls_Setup();
        }