コード例 #1
0
        // LOAD FORM
        private void Form1_Load(object sender, EventArgs e)
        {
            updateComboBox();
            byte[] d = Convert.FromBase64String("Y3lwdG8gW0NyaXRpY2FsXQ ==");
            label3.Text = $"{Encoding.UTF8.GetString(d)}";

            // Select first RF Window if exists.

            if (comboBox1.Items.Count >= 1)
            {
                comboBox1.SelectedIndex = 0;
            }

            for (int i = 0; i < simpleMacros.Length; ++i)
            {
                simpleMacros[i]  = new MacroSimple();
                simplePlayers[i] = new MacroPlayer();
            }

            _player = new MacroPlayer();
        }
コード例 #2
0
 public void LoadMacro(MacroSimple macro)
 {
     CurrentSimpleMacro = macro;
 }