Exemple #1
0
 // MediaPly _mp = null;
 public FileSelection()
 {
     InitializeComponent();
     this.Player.LoadCompleted += new AsyncCompletedEventHandler(Player_LoadCompleted);
     comboBox1.BringToFront();
     comboBox2.BringToFront();
     comboBox3.BringToFront();
     CustomFonts.LoadFonts();
     btnSubmit.Font = CustomFonts.GetMontserrat_Bold(btnSubmit.Font.Size);
     comboBox1.Font = CustomFonts.GetMontserrat_Regular(comboBox1.Font.Size);
     comboBox2.Font = CustomFonts.GetMontserrat_Regular(comboBox2.Font.Size);
     comboBox3.Font = CustomFonts.GetMontserrat_Regular(comboBox3.Font.Size);
 }
Exemple #2
0
        //internal static readonly HttpClient client = new HttpClient();
        //internal static string UserName = "";
        //internal static string Password = "";
        //internal static string token = "";

        public YOY_Player(bool IsCloseRequest, bool IsChangeUserRequest)
        {
            InitializeComponent();
            CustomFonts.LoadFonts();

            btnSubmit.Font             = CustomFonts.GetMontserrat_Bold(btnSubmit.Font.Size);
            txtEmail.Text              = strEmailCaption;
            txtPassword.Text           = strPasswordCaption;
            this.Player.LoadCompleted += new AsyncCompletedEventHandler(Player_LoadCompleted);
            txtEmail.Font              = CustomFonts.GetMontserrat_Regular(txtEmail.Font.Size);
            txtPassword.Font           = CustomFonts.GetMontserrat_Regular(txtPassword.Font.Size);
            lbl_help.Font              = new Font(CustomFonts.GetMontserrat_Medium(lbl_help.Font.Size), lbl_help.Font.Style);

            if (IsCloseRequest)
            {
                ClosedRequest = IsCloseRequest;
            }

            if (IsChangeUserRequest)
            {
                ChangeUserRequest = IsChangeUserRequest;
            }
        }