示例#1
0
 public MainWindow()
 {
     InitializeComponent();
     CloudMusicHelper.Init();
     RomajiHelper.Init();
     SpaceCheckBox.Checked     += CheckBox_Checked;
     SpaceCheckBox.Unchecked   += CheckBox_Unchecked;
     NewLineCheckBox.Checked   += CheckBox_Checked;
     NewLineCheckBox.Unchecked += CheckBox_Unchecked;
     RomajiCheckBox.Checked    += CheckBox_Checked;
     RomajiCheckBox.Unchecked  += CheckBox_Unchecked;
     JPCheckBox.Checked        += CheckBox_Checked;
     JPCheckBox.Unchecked      += CheckBox_Unchecked;
     CHCheckBox.Checked        += CheckBox_Checked;
     CHCheckBox.Unchecked      += CheckBox_Unchecked;
     this.Title = $"RomajiConverter ({System.Reflection.Assembly.GetExecutingAssembly().GetName().Version})";
 }