示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //Open the block editor
     if (window == null)
     {
         window = new BlockWindow();
         window.Show();
     }
 }
示例#2
0
 public ModifyBlock(int moddedBlock, BlockWindow form)
 {
     InitializeComponent();
     parsedForm       = form;
     indexModdedBlock = moddedBlock;
     //Load the info into the textboxes
     textBox1.Text = form.blocks[moddedBlock].musicFilePath;
     textBox2.Text = form.blocks[moddedBlock].name;
     textBox3.Text = form.blocks[moddedBlock].keyCode;
 }