private void btnRule_Click(object sender, EventArgs e) { TileHandler.CreateRule((TileTab)tbcMain.SelectedIndex); }