コード例 #1
0
 public GardenDeleteGump(GardenDestroyer gardendestroyer, Mobile owner)
     : base(150, 75)
 {
     m_GardenDestroyer = gardendestroyer;
     owner.CloseGump(typeof(GardenDeleteGump));
     this.Closable   = false;
     this.Disposable = false;
     this.Dragable   = true;
     this.Resizable  = false;
     this.AddPage(0);
     this.AddBackground(0, 0, 300, 120, 9200);
     this.AddBackground(10, 10, 280, 100, 3500);
     this.AddLabel(30, 30, 0, @"Do you want to destroy your garden?");
     this.AddButton(100, 66, 4023, 4024, 1, GumpButtonType.Reply, 0);
     this.AddButton(160, 66, 4017, 4018, 0, GumpButtonType.Reply, 0);
 }
コード例 #2
0
 public GardenDGump(GardenDestroyer gardendestroyer, Mobile owner) : base(150, 75)
 {
     m_GardenDestroyer = gardendestroyer;
     owner.CloseGump(typeof(GardenDGump));
     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 destroy your garden? *");
     this.AddLabel(60, 70, 1359, @"I hope you took heed to my warning, and removed any");
     this.AddLabel(60, 90, 1359, @"items from your Garden Secure before you decide to");
     this.AddLabel(60, 110, 1359, @"destroy your ENTIRE garden.");
     this.AddLabel(107, 205, 172, @"Destroy");
     this.AddLabel(270, 205, 32, @"Don't Destroy");
     AddButton(115, 180, 4023, 4024, 1, GumpButtonType.Reply, 0);
     AddButton(295, 180, 4017, 4018, 0, GumpButtonType.Reply, 0);
 }