コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            BFRES.Mesh.VertexAttribute attrb = (BFRES.Mesh.VertexAttribute)comboBox1.SelectedItem;
            BufferList buff = new BufferList();

            buff.SetVertexBufferList(Mesh, attrb.Name, Model);
            buff.Show();
        }
コード例 #2
0
 private void comboBox1_SelectedIndexChanged_1(object sender, EventArgs e)
 {
     BFRES.Mesh.VertexAttribute attrb = (BFRES.Mesh.VertexAttribute)comboBox1.SelectedItem;
     button1.Enabled        = true;
     comboBox2.SelectedItem = attrb.Format.ToString();
 }