public LabelControl(IRes myRes, LabelControlSpecies myDesignMode, SandBoxBase myFather = null, bool useAnimation = true) { MyRes = myRes.MyRes; CurrentStatus = 1; DesigningMode = myDesignMode; UseAnimation = useAnimation; if (myFather != null) { Father = myFather; } switch (DesigningMode) { case LabelControlSpecies.CharacterNameInDialog: DesigningForCharacterNameInDialog(); break; case LabelControlSpecies.LinkStart: DesigningForLinkStart(); break; case LabelControlSpecies.ElementBackGround: DesigningForElementBackGround(); break; default: //None break; } }
//------------------------------------- //------------------------------------- //------------------------------------- public ItemBarLabelControl(IRes myRes, LabelControlSpecies myMode, SandBoxBase myFather = null) : base(myRes, myMode, myFather, false) { switch (DesigningMode) { case LabelControlSpecies.ItemBarLabel: InitializeComponent(); break; default: break; } }
//------------------------------------------ //------------------------------------------ //------------------------------------------ //------------------------------------------ public MapSigner(IRes myRes, LabelControlSpecies myDesigningMode = LabelControlSpecies.MapSigner) : base(myRes, myDesigningMode) { switch (DesigningMode) { case LabelControlSpecies.MapSigner: Initialize_ForMapSigner_Component(); break; case LabelControlSpecies.MapDisplayer: Initialize_ForMapDisplayer_Component(); break; } }