public void transport(bool enable) { if (enable) { this.Background = Brushes.Transparent; closebutton.Visibility = Visibility.Hidden; // menu_button.Visibility = Visibility.Hidden; minimaziebutton.Visibility = Visibility.Hidden; title_label.Foreground = setting.font_color; } else { this.Background = setting.back; closebutton.Visibility = Visibility.Visible; // menu_button.Visibility = Visibility.Visible; minimaziebutton.Visibility = Visibility.Visible; title_label.Foreground = default_memocolor; } setting.Synchronism(); }
private void close_button_Click(object sender, RoutedEventArgs e) //閉じるボタン { Close(); setting.Synchronism(); }