private void SelectGmndChildBlock(object sender, System.EventArgs e) { if (this.cb_gn_list.Tag != null) { return; } if (cb_gn_list.SelectedIndex < 0) { return; } try { cb_gn_list.Tag = true; SimPe.CountedListItem cli = (SimPe.CountedListItem)cb_gn_list.Items[cb_gn_list.SelectedIndex]; AbstractRcolBlock rb = (AbstractRcolBlock)cli.Object; BuildChildTabControl(rb); } catch (Exception ex) { Helper.ExceptionMessage("", ex); } finally { cb_gn_list.Tag = null; } }
internal void BuildChildTabControl(AbstractRcolBlock rb) { this.tc_gn.TabPages.Clear(); if (rb == null) { return; } if (rb.TabPage != null) { rb.AddToTabControl(tc_gn); } }
private void tb_arc_ver_TextChanged(object sender, System.EventArgs e) { if (this.tb_arc_ver.Tag == null) { return; } try { AbstractRcolBlock arb = (AbstractRcolBlock)this.tAnimResourceConst.Tag; arb.Version = Convert.ToUInt32(tb_arc_ver.Text, 16); arb.Changed = true; } catch (Exception) { //Helper.ExceptionMessage("", ex); } }
private void GNSettingsChange(object sender, System.EventArgs e) { if (this.Tag == null) { return; } try { AbstractRcolBlock arb = (AbstractRcolBlock)Tag; arb.Version = Convert.ToUInt32(tb_ver.Text, 16); arb.Changed = true; } catch (Exception) { //Helper.ExceptionMessage("", ex); } }