public static void _mediaPlayer_MediaOpened(object sender, EventArgs e) { //configurations.the_flag--; }