Esempio n. 1
0
 public TentDGump(TentDestroyer tentdestroyer, Mobile owner)
     : base(150, 75)
 {
     m_TentDestroyer = tentdestroyer;
     owner.CloseGump(typeof(TentDGump));
     this.Closable   = false;
     this.Disposable = false;
     this.Dragable   = true;
     this.Resizable  = false;
     this.AddPage(0);
     this.AddBackground(0, 0, 445, 250, 9200);
     this.AddBackground(10, 10, 425, 160, 3500);
     this.AddLabel(95, 30, 195, @"* Do you want to RePack your Tent? *");
     this.AddLabel(107, 205, 172, @"RePack");
     this.AddLabel(270, 205, 32, @"Don't RePack");
     AddButton(115, 180, 4023, 4024, 1, GumpButtonType.Reply, 0);
     AddButton(295, 180, 4017, 4018, 0, GumpButtonType.Reply, 0);
 }
Esempio n. 2
0
		public TentDGump( TentDestroyer tentdestroyer, Mobile owner) : base( 150,75 ) 
		{
			m_TentDestroyer = tentdestroyer;
			owner.CloseGump( typeof( TentDGump ) );
			this.Closable=false;
			this.Disposable=false;
			this.Dragable=true;
			this.Resizable=false;
			this.AddPage(0);
			this.AddBackground(0, 0, 445, 250, 9200);
			this.AddBackground(10, 10, 425, 160, 3500);
			this.AddLabel(95, 30, 195, @"* Do you want to RePack your Tent? *");
			this.AddLabel(60, 70, 1359, @"I hope you took heed of my warning, and removed any");
			this.AddLabel(60, 90, 1359, @"items from your Secure Backpack before RePacking");
			this.AddLabel(60, 110, 1359, @"your tent.");
			this.AddLabel(107, 205, 172, @"RePack");
			this.AddLabel(270, 205, 32, @"Don't RePack");
			AddButton( 115, 180, 4023, 4024, 1, GumpButtonType.Reply, 0 );
			AddButton( 295, 180, 4017, 4018, 0, GumpButtonType.Reply, 0 );
		}