Пример #1
0
        public void BtnDelete_Click(object sender, EventArgs e)
        {
            int tmpindex = 0;

            ClientDataBase.ClearResource(E_Globals.Editorindex);

            tmpindex = lstIndex.SelectedIndex;
            lstIndex.Items.RemoveAt(E_Globals.Editorindex - 1);
            lstIndex.Items.Insert(E_Globals.Editorindex - 1, E_Globals.Editorindex + ": " + Types.Resource[E_Globals.Editorindex].Name);
            lstIndex.SelectedIndex = tmpindex;

            E_Editors.ResourceEditorInit();
        }