示例#1
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FormRemove formRemove = new FormRemove(new Weapon(), this, tribeList);

            formRemove.ShowDialog();
        }
示例#2
0
        private void barButtonItemDeleteDwarf_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FormRemove formRemove = new FormRemove(new Dwarf("", 0, new List <Weapon>()), this, tribeList);

            formRemove.ShowDialog();
        }