Exemplo n.º 1
0
 public helper( )
 {
     
     //_icon=icon;
     EnSureBox enBox = new EnSureBox();
    // enBox.ShowDialog();
     //enBox.MyCaption = _caption;
     //enBox.MyInformation= _info;
    // enBox.Icon = _icon;
 }
Exemplo n.º 2
0
 public int  showMessage(string caption, string Info)
 {
     _caption = caption;
     _info = Info;
     EnSureBox enBox = new EnSureBox();
     enBox.MyCaption = _caption;
     enBox.MyInformation = _info;
     enBox.ShowDialog();
     int number = enBox.PressNumber();
     Console.Write(number);
     return number;
 }