Example #1
0
 protected void ShowColorText(string txt, Color color)
 {
     whiteboardText.SetColor(color);
     whiteboardText.SetText(txt);
     whiteboardImage.Hide();
     whiteboardText.Show();
 }
Example #2
0
 private void Awake()
 {
     countText.text = (GameManager.instance.dungeon.highestFloorAchieved + 1).ToString();
     StartCoroutine(Showing(highestLevel, 2.0f, 40.0f));
     StartCoroutine(Showing(countText, 2.0f, 40.0f));
     StartCoroutine(Showing(goldSpent, 2.0f, 40.0f));
     showText.Show();
 }
Example #3
0
 private void cmdMail_Click(object sender, EventArgs e)
 {
     progress      = new ProgressWindow();
     progress.Text = "Emailing";
     System.Threading.ThreadPool.QueueUserWorkItem(new System.Threading.WaitCallback(DoSomeWork), progress);
     progress.ShowDialog();
     if (errorMail)
     {
         ShowText.Show(errorList.ToString(), "Failed Email");
     }
 }
Example #4
0
 private void cmdVerstuurMail_Click(object sender, EventArgs e)
 {
     if (txtSubject.Text == string.Empty)
     {
         MessageBox.Show("Onderwerp is leeg", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     if (clbLeden.CheckedItems.Count == 0)
     {
         MessageBox.Show("Geen geselecteerde email adressen", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     progress      = new ProgressWindow();
     progress.Text = "Emailing";
     System.Threading.ThreadPool.QueueUserWorkItem(new System.Threading.WaitCallback(DoSomeWork), progress);
     progress.ShowDialog();
     if (errorMail)
     {
         ShowText.Show(errorList.ToString(), "Failed Email", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }