Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
        internal void BuildChildTabControl(AbstractRcolBlock rb)
        {
            this.tc_gn.TabPages.Clear();

            if (rb == null)
            {
                return;
            }
            if (rb.TabPage != null)
            {
                rb.AddToTabControl(tc_gn);
            }
        }
Exemplo n.º 3
0
        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);
            }
        }
Exemplo n.º 4
0
        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);
            }
        }