public AddEnt(Ent parentEnt) { InitializeComponent(); this.parentEnt = parentEnt; this.ent = new Ent(); initLB(); }
public AddEnt(ActionType actionType) { InitializeComponent(); this.actionType = actionType; this.ent = new Ent(); initLB(); }
private void initEdit(Ent ent) { this.ent = ent; tb.Text = ent.Name; gbTypeScene.Enabled = false; if (ent.Type == "Text") { radioButton2.Checked = true; } else if (ent.Type == "ListObject") { radioButton3.Checked = true; } else if (ent.Type == "Position") { radioButton4.Checked = true; } edit = true; initLB(); }
public AddEnt(Ent parentEnt, Ent ent) { InitializeComponent(); this.parentEnt = parentEnt; initEdit(ent); }
public AddEnt(ActionType actionType, Ent ent) { InitializeComponent(); this.actionType = actionType; initEdit(ent); }