Esempio n. 1
0
 public AskNameDialog(Bitmap bg)
 {
     InitializeComponent();
     panel1.BackgroundImage = bg;
     panel1.Width           = bg.Width;
     panel1.Height          = bg.Height;
     textBox1.Text          = BitmapUtilities.HasAlpha(bg) && BitmapUtilities.HasNonAlpha(bg)
         ? "MenSelmapMark."
         : "MenSelchrMark.";
     textBox1.Select(textBox1.Text.Length, 0);
     AcceptButton = button1;
 }