Beispiel #1
0
 public LogoutRuneGump(LogoutRune logoutrune) : base(40, 40)
 {
     m_LogoutRune    = logoutrune;
     this.Closable   = false;
     this.Disposable = true;
     this.Dragable   = true;
     this.Resizable  = false;
     this.AddPage(0);
     this.AddBackground(0, 0, 413, 187, 9200);
     this.AddLabel(158, 12, 54, @"WARNING!");
     this.AddHtml(11, 42, 392, 92, @"This rune is to be used only in an emergency requiring you to log out unexpectedly.  Use of this rune is limited to once every 7 days.  Upon use your account will be banned for one hour.", (bool)false, (bool)false);
     this.AddButton(13, 144, 247, 248, (int)Buttons.btn_OK, GumpButtonType.Reply, 0);
     this.AddButton(337, 144, 241, 242, (int)Buttons.btn_Cancel, GumpButtonType.Reply, 0);
 }
		public LogoutRuneGump(LogoutRune logoutrune) : base(40, 40)
		{
			m_LogoutRune = logoutrune;
			this.Closable=false;
			this.Disposable=true;
			this.Dragable=true;
			this.Resizable=false;
			this.AddPage(0);
			this.AddBackground(0, 0, 413, 187, 9200);
			this.AddLabel(158, 12, 54, @"WARNING!");
			this.AddHtml( 11, 42, 392, 92, @"This rune is to be used only in an emergency requiring you to log out unexpectedly.  Use of this rune is limited to once every 7 days.  Upon use your account will be banned for one hour.", (bool)false, (bool)false);
			this.AddButton(13, 144, 247, 248, (int)Buttons.btn_OK, GumpButtonType.Reply, 0);
			this.AddButton(337, 144, 241, 242, (int)Buttons.btn_Cancel, GumpButtonType.Reply, 0);
		}