Пример #1
0
 private void importBtn_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         var cfg = Base64Decode(expimpTextBox.Text);
         var c = new Config();
         var msg = c.Write(cfg);
         DebugText(msg);
         ExpimpLabel.Content = msg;
     }
     catch (Exception d)
     {
         DebugText(d.Message);
     }
 }
Пример #2
0
 private void exportBtn_Click(object sender, RoutedEventArgs e)
 {
     var cfg = new Config().GetMangaConfig().ToString();
     var basecode = Base64Encode(cfg);
     expimpTextBox.Text = basecode;
     expimpTextBox.Focus();
     expimpTextBox.SelectAll();
     ExpimpLabel.Content = "Copy the text below!";
 }