Exemplo n.º 1
0
 public colorChooser(Window1 w)
 {
     w_Cur = w;
     InitializeComponent();
     fc = null;
     bg = false;
     setUpColors();
 }
Exemplo n.º 2
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     fontChooser fc = new fontChooser(this, true);
     fc.textBlock1.FontSize = w_Cur.fontSize;
     fc.textBlock1.FontFamily = w_Cur.FontFamily;
     fc.textBlock1.Foreground = w_Cur.fontColor;
     Console.WriteLine(w_Cur.FontFamily.ToString());
     fc.fontCombo.SelectionMode = SelectionMode.Single;
     //fc.fontCombo.SetValue(w_Cur.FontFamily.ToString());
     fc.ShowDialog();
 }
Exemplo n.º 3
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     fontChooser fc = new fontChooser(this, false);
     fc.ShowDialog();
 }