-
Notifications
You must be signed in to change notification settings - Fork 0
/
recent.cs
54 lines (46 loc) · 1.31 KB
/
recent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using FireSharp.Config;
using FireSharp.Interfaces;
using FireSharp.Response;
using System.Drawing.Imaging;
namespace Video_Player
{
public partial class recent : UserControl
{
public IFirebaseConfig config = new FirebaseConfig
{
AuthSecret = "nX9ECkVBWhH7oOKqtqwyDofgKbdg6tWThflaKjdt",
BasePath = "https://ds-project-7c104-default-rtdb.firebaseio.com/"
};
public IFirebaseClient client;
public recent()
{
InitializeComponent();
}
private void recent_Load(object sender, EventArgs e)
{
}
private void flowLayoutPanel1_Paint(object sender, PaintEventArgs e)
{
client = new FireSharp.FirebaseClient(config);
if (client != null)
{
MessageBox.Show("Connection Established");
}
else
{
MessageBox.Show("Connection Not Established");
}
//populatepanel1();
}
}
}