//hat buttons private void btn_addhat_click(object sender, RoutedEventArgs e) { sprite_editor.Hat_Add(); }