Esempio n. 1
0
 private void Refresh_Screen()
 {
     using (Loading_Screen window = new Loading_Screen())
     {
         window.Show();
         Assets.Refresh();
         MainWindow_Load(null, null);
         window.Close();
     }
 }
Esempio n. 2
0
 public bool remove_user()
 {
     try
     {
         bool execute = Access.Execute(SQL_Queries.Delete("people", new Condition("id", int.Parse(id))));
         Assets.Refresh();
         return(execute);
     }
     catch
     {
         return(false);
     }
 }
Esempio n. 3
0
 public static void Refresh()
 {
     Assets.Refresh();
     GetUserInfo();
 }
Esempio n. 4
0
 public Form1()
 {
     InitializeComponent();
     Assets.Refresh();
 }