private void Reload()
        {
            if (!Panel_Main.Visible)
            {
                return;
            }

            GirdView_Materials.ClearSelection();
            MaterialGrid.SelectedObject = null;

            BuildData();

            FileIsNotEdited();
        }
 private void MaterialEditor_OnKeyUp(object sender, KeyEventArgs e)
 {
     if (e.Control && e.KeyCode == Keys.S)
     {
         Save();
     }
     else if (e.Control && e.KeyCode == Keys.R)
     {
         Reload();
     }
     else if (e.Control && e.KeyCode == Keys.D)
     {
         GirdView_Materials.ClearSelection();
         MaterialGrid.SelectedObject = null;
     }
     else if (e.Control && e.KeyCode == Keys.F)
     {
         MaterialSearch.Focus();
     }
 }