C# lab2, by Lu Yuan, May 6th, 2019
- This app is based on Sanfored.Mutilmedia.Midi
- The changes are equipping the original app with a flexible size of component which can change automatically wheneven the size of window changed
- This app also optimize the interface to improve users' experience
- This function is implemented in the region "match the size of component to windows" in Form1.cs
- This function is based on the events Form1_ResizeBegin, OnResizeBegin, OnResizeEnd and Form1_ResizeEnd
- The principle of this function is to get the ratio of the former size to new size of the changed window and at the same time change the size of component according to this ratio
- Code screencut