コード例 #1
0
 public MessageBox(odl.Window Parent, string Title, string Message, int IconType, List <string> Buttons)
 {
     this.Parent   = Parent;
     this.Title    = Title;
     this.Message  = Message;
     this.IconType = IconType;
     this.Buttons  = Buttons;
 }
コード例 #2
0
 public ErrorBox(odl.Window Parent, string Message)
     : base(Parent, "Error", Message, 3, new List <string>() { "OK" })
 {
 }
コード例 #3
0
 public WarningBox(odl.Window Parent, string Message)
     : base(Parent, "Warning", Message, 2, new List <string>() { "OK" })
 {
 }
コード例 #4
0
 public InfoBox(odl.Window Parent, string Message)
     : base(Parent, "Info", Message, 1, new List <string>() { "OK" })
 {
 }
コード例 #5
0
 public StandardBox(odl.Window Parent, string Message)
     : base(Parent, Parent == null ? "peridot" : Parent.Text, Message, 0, new List <string>() { "OK" })
 {
 }