示例#1
0
 public void show()
 {
     NLabel.Show();
     NBox.Show();
     MLabel.Show();
     MBox.Show();
     sceneImage.Show();
 }
示例#2
0
 private void Button_Click_6(object sender, RoutedEventArgs e)
 {
     MBox.Show("Bingo", new Run[] { new Run()
                                    {
                                        Text = "font, ", Foreground = Brushes.Red, FontSize = 25
                                    }, new Run()
                                    {
                                        Text = "size, ", Foreground = Brushes.Green, FontSize = 28
                                    }, new Run()
                                    {
                                        Text = "color, ", Foreground = Brushes.Blue, FontSize = 35
                                    }, new Run()
                                    {
                                        Text = "...is all ", Foreground = Brushes.Black, FontSize = 24, FontFamily = new FontFamily("Segoe Script")
                                    }, new Run()
                                    {
                                        Text = "up to you", Foreground = Brushes.Red, FontSize = 30, FontWeight = FontWeights.Bold
                                    } }, MBoxType.Normal);
 }
示例#3
0
 private void Button_Click_5(object sender, RoutedEventArgs e)
 {
     MBox.Show("tips", new Run[] { new Run("you can set the count down sec") }, new string[] { "ok", "ignore" }, MBoxType.Alarm, 10);
 }
示例#4
0
 private void Button_Click_4(object sender, RoutedEventArgs e)
 {
     MBox.Show("tips", "three option: the third option is for MBoxResult.Cancel", new string[] { "yes", "no", "cancel" });
 }
示例#5
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     MBox.Show("tips", "two option: one for MBoxResult.Yes, one for MBoxResult.No", new string[] { "yes", "no" });
 }
示例#6
0
 private void Button_Click_2(object sender, RoutedEventArgs e)
 {
     MBox.Show("tips", "you can diy the chose option button content", new string[] { "Yes!" });
 }
示例#7
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     MBox.Show("Alert", "this is a alert mbox", MBoxType.Alarm);
 }
示例#8
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     MBox.Show("this is a normal mbox");
 }