Ejemplo n.º 1
0
 public GMessageBoxYesNo(string prompt, bool modal, MBYesNoCallback callback) : base(0x816, 0, 0)
 {
     this.m_Callback = callback;
     this.Center();
     base.m_CanClose = false;
     base.m_Children.Add(new GLabel(prompt, Engine.GetFont(1), Hues.Load(0x39f), 0x21, 0x1b));
     base.m_Children.Add(new GMBYNButton(this, 0x817, 0x25, false));
     base.m_Children.Add(new GMBYNButton(this, 0x81a, 100, true));
     Gumps.Modal = this;
 }
Ejemplo n.º 2
0
 public GMessageBoxYesNo(string prompt, bool modal, MBYesNoCallback callback)
     : base(2070, 0, 0)
 {
     this.m_Callback = callback;
     this.Center();
     this.m_CanClose = false;
     this.m_Children.Add((Gump) new GLabel(prompt, (IFont)Engine.GetFont(1), Hues.Load(927), 33, 27));
     this.m_Children.Add((Gump) new GMessageBoxYesNo.GMBYNButton(this, 2071, 37, false));
     this.m_Children.Add((Gump) new GMessageBoxYesNo.GMBYNButton(this, 2074, 100, true));
     Gumps.Modal = (Gump)this;
 }
Ejemplo n.º 3
0
 public GMessageBoxYesNo(string prompt, bool modal, MBYesNoCallback callback)
     : base(0x816, 0, 0)
 {
     this.m_Callback = callback;
     this.Center();
     base.m_CanClose = false;
     base.m_Children.Add(new GLabel(prompt, Engine.GetFont(1), Hues.Load(0x39f), 0x21, 0x1b));
     base.m_Children.Add(new GMBYNButton(this, 0x817, 0x25, false));
     base.m_Children.Add(new GMBYNButton(this, 0x81a, 100, true));
     Gumps.Modal = this;
 }