public GenderChangeConfirmGump( Mobile from, GenderChangeDeed deed ) : base( 200, 200 ) { m_Deed = deed; m_Mobile = from; this.Resizable=false; this.AddPage(0); this.AddBackground(0, 0, 300, 120, 9270); //this.AddAlphaRegion(11, 14, 332, 95); //this.AddItem(297, 38, 4168); this.AddLabel( 28, 15, 255, "Changing gender requires intensely concentrated magic." ); if ( !m_Mobile.Female ) this.AddLabel( 28, 31, 255, "Your facial hair, if any, will dissapear." ); this.AddLabel( 28, 47, 255, "Are you sure you want to proceed?" ); AddButton( 28, 70, 4005, 4007, 1, GumpButtonType.Reply, 0 ); AddLabel( 80, 70, 255, "Yes" ); AddButton( 130, 70, 4005, 4007, 0, GumpButtonType.Reply, 0 ); AddLabel( 182, 70, 255, "No" ); }
public GenderChangeConfirmGump(Mobile from, GenderChangeDeed deed) : base(200, 200) { m_Deed = deed; m_Mobile = from; this.Resizable = false; this.AddPage(0); this.AddBackground(0, 0, 300, 120, 9270); //this.AddAlphaRegion(11, 14, 332, 95); //this.AddItem(297, 38, 4168); this.AddLabel(28, 15, 255, "Changing gender requires intensely concentrated magic."); if (!m_Mobile.Female) { this.AddLabel(28, 31, 255, "Your facial hair, if any, will dissapear."); } this.AddLabel(28, 47, 255, "Are you sure you want to proceed?"); AddButton(28, 70, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel(80, 70, 255, "Yes"); AddButton(130, 70, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel(182, 70, 255, "No"); }
public SexChangeConfirmGump(Mobile from, GenderChangeDeed deed) : base(200, 200) { m_Deed = deed; m_Mobile = from; //this.Closable=false; //this.Disposable=true; //this.Dragable=true; this.Resizable = false; this.AddPage(0); this.AddBackground(0, 0, 300, 120, 9270); //this.AddAlphaRegion(11, 14, 332, 95); //this.AddItem(297, 38, 4168); this.AddLabel(28, 15, 255, "Changing sex involves intense magic."); this.AddLabel(28, 31, 255, "Your facial hair, if any, will dissapear."); this.AddLabel(28, 47, 255, "Are you sure you want to proceed?"); AddButton(28, 70, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel(80, 70, 255, "Yes"); AddButton(130, 70, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel(182, 70, 255, "No"); //this.AddItem(12, 38, 4171); }