public FormFleet( FormMain parent, int fleetID ) { InitializeComponent(); FleetID = fleetID; Utility.SystemEvents.UpdateTimerTick += UpdateTimerTick; ConfigurationChanged(); MainFontColor = Color.FromArgb( 0x00, 0x00, 0x00 ); SubFontColor = Color.FromArgb( 0x88, 0x88, 0x88 ); //ui init ControlHelper.SetDoubleBuffered( TableFleet ); ControlHelper.SetDoubleBuffered( TableMember ); TableFleet.Visible = false; TableFleet.SuspendLayout(); TableFleet.BorderStyle = BorderStyle.FixedSingle; ControlFleet = new TableFleetControl( this, TableFleet ); TableFleet.ResumeLayout(); TableMember.SuspendLayout(); ControlMember = new TableMemberControl[6]; for ( int i = 0; i < ControlMember.Length; i++ ) { ControlMember[i] = new TableMemberControl( this, TableMember, i ); } TableMember.ResumeLayout(); ConfigurationChanged(); //fixme: 苦渋の決断 Icon = ResourceManager.ImageToIcon( ResourceManager.Instance.Icons.Images[(int)ResourceManager.IconContent.FormFleet] ); }