AGS.Plugin.Lua.SimpleLuaValueEditor.SimpleLuaValueEditor_Load C# (CSharp) Method

SimpleLuaValueEditor_Load() private method

private SimpleLuaValueEditor_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void SimpleLuaValueEditor_Load(object sender, EventArgs e)
        {
            if (editValue == null)
            {
                this.Text = "Add Lua " + creatingType.ToString() + " Value";
                ConfirmButton.Text = "Add";
            }
            else
            {
                this.Text = "Edit Lua " + editValue.Type.ToString() + " Value";
                ConfirmButton.Text = "Update";
            }
        }